Annotation of pkgsrc/lang/python/versioned_dependencies.mk, revision 1.116
1.116 ! wiz 1: # $NetBSD: versioned_dependencies.mk,v 1.115 2024/05/10 12:11:34 wiz Exp $
1.1 wiz 2: #
1.115 wiz 3: # This file determines which separate distribution of a Python package
4: # is used as dependency, depending on if Rust or C should be used.
5: # The C versions are old and unmaintained but on some platforms it is
6: # harder to get Rust running.
1.1 wiz 7: #
1.115 wiz 8: # === Package-settable variables ===
1.1 wiz 9: #
10: # PYTHON_VERSIONED_DEPENDENCIES
11: # The Python package which should be added as a dependency.
12: #
1.116 ! wiz 13: # Possible values: OpenSSL bcrypt cryptography
1.1 wiz 14: # Default: (nothing)
15: #
16:
17: .include "../../lang/python/pyversion.mk"
18:
1.115 wiz 19: _PY_VERS_PKG.OpenSSL= security/py-OpenSSL
1.116 ! wiz 20: _PY_VERS_PKG.bcrypt= security/py-bcrypt
1.115 wiz 21: _PY_VERS_PKG.cryptography= security/py-cryptography
1.90 joerg 22:
1.9 wiz 23: .for pattern in ${PYTHON_VERSIONED_DEPENDENCIES}
24: pkg:= ${pattern:C/:.*//}
25: type:= ${pattern:C/[^:]*//}
1.115 wiz 26: . include "../../${_PY_VERS_PKG.${pkg}}/dependency.mk"
1.1 wiz 27: .endfor
CVSweb <webmaster@jp.NetBSD.org>