pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/py27-cryptography
Module Name: pkgsrc
Committed By: nia
Date: Wed Oct 19 13:18:46 UTC 2022
Modified Files:
pkgsrc/security/py27-cryptography: Makefile
Log Message:
py27-cryptography: Restore support for Python 3, we want this because
it doesn't require rust
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/py27-cryptography/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/py27-cryptography/Makefile
diff -u pkgsrc/security/py27-cryptography/Makefile:1.4 pkgsrc/security/py27-cryptography/Makefile:1.5
--- pkgsrc/security/py27-cryptography/Makefile:1.4 Fri Jul 8 13:54:42 2022
+++ pkgsrc/security/py27-cryptography/Makefile Wed Oct 19 13:18:46 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/07/08 13:54:42 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2022/10/19 13:18:46 nia Exp $
DISTNAME= cryptography-3.3.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,8 +12,6 @@ COMMENT= Cryptographic recipes and primi
LICENSE= apache-2.0 OR modified-bsd
DEPENDS+= ${PYPKGPREFIX}-cffi>=1.11.4:../../devel/py-cffi
-DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
-DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
DEPENDS+= ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
# not available for python27
#TEST_DEPENDS+= ${PYPKGPREFIX}-cryptography_vectors-[0-9]*:../../security/py-cryptography_vectors
@@ -23,7 +21,11 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test4
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis4
-PYTHON_VERSIONS_ACCEPTED= 27
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
+DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
+.endif
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
Home |
Main Index |
Thread Index |
Old Index