pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/py-cryptography



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Apr 21 11:09:04 UTC 2022

Modified Files:
        pkgsrc/security/py-cryptography: Makefile

Log Message:
py-cryptography: make python 3.x only


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 pkgsrc/security/py-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/py-cryptography/Makefile
diff -u pkgsrc/security/py-cryptography/Makefile:1.84 pkgsrc/security/py-cryptography/Makefile:1.85
--- pkgsrc/security/py-cryptography/Makefile:1.84       Tue Jan  4 20:54:40 2022
+++ pkgsrc/security/py-cryptography/Makefile    Thu Apr 21 11:09:04 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.84 2022/01/04 20:54:40 wiz Exp $
+# $NetBSD: Makefile,v 1.85 2022/04/21 11:09:04 wiz Exp $
 
 DISTNAME=      cryptography-3.3.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -17,20 +17,14 @@ TEST_DEPENDS+=      ${PYPKGPREFIX}-cryptograp
 TEST_DEPENDS+= ${PYPKGPREFIX}-iso8601-[0-9]*:../../time/py-iso8601
 TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
 TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
 
-PYTHON_VERSIONED_DEPENDENCIES= test:test
-PYTHON_VERSIONED_DEPENDENCIES+=        hypothesis:test
-
-.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
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 do-test:
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index