Annotation of pkgsrc/lang/python/versioned_dependencies.mk, revision 1.115
1.115 ! wiz 1: # $NetBSD: versioned_dependencies.mk,v 1.114 2024/05/10 10:31:29 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.114 wiz 13: # Possible values: OpenSSL 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
! 20: _PY_VERS_PKG.cryptography= security/py-cryptography
1.90 joerg 21:
1.9 wiz 22: .for pattern in ${PYTHON_VERSIONED_DEPENDENCIES}
23: pkg:= ${pattern:C/:.*//}
24: type:= ${pattern:C/[^:]*//}
1.115 ! wiz 25: . include "../../${_PY_VERS_PKG.${pkg}}/dependency.mk"
1.1 wiz 26: .endfor
CVSweb <webmaster@jp.NetBSD.org>