pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-cryptography py-cryptography: make python ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59f7c6567309
branches:  trunk
changeset: 377519:59f7c6567309
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Apr 21 11:09:04 2022 +0000

description:
py-cryptography: make python 3.x only

diffstat:

 security/py-cryptography/Makefile |  14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)

diffs (33 lines):

diff -r c24a1e5a0de6 -r 59f7c6567309 security/py-cryptography/Makefile
--- a/security/py-cryptography/Makefile Thu Apr 21 10:59:59 2022 +0000
+++ b/security/py-cryptography/Makefile Thu Apr 21 11:09:04 2022 +0000
@@ -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}-iso8601-[0-9]*:../../time/py-iso8601
 TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
 TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
-
-PYTHON_VERSIONED_DEPENDENCIES= test:test
-PYTHON_VERSIONED_DEPENDENCIES+=        hypothesis:test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
 
-.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