pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-nacl py-nacl: not for Python 2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff2b341c61d5
branches:  trunk
changeset: 387485:ff2b341c61d5
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 31 08:11:43 2022 +0000

description:
py-nacl: not for Python 2.7

diffstat:

 security/py-nacl/Makefile |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (31 lines):

diff -r ec05a00f81b8 -r ff2b341c61d5 security/py-nacl/Makefile
--- a/security/py-nacl/Makefile Mon Oct 31 07:55:50 2022 +0000
+++ b/security/py-nacl/Makefile Mon Oct 31 08:11:43 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/10/25 11:33:05 adam Exp $
+# $NetBSD: Makefile,v 1.11 2022/10/31 08:11:43 adam Exp $
 
 DISTNAME=      PyNaCl-1.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl:S/^py//}
@@ -13,16 +13,16 @@
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-cffi>=1.4.1:../../devel/py-cffi
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-
-PYTHON_VERSIONED_DEPENDENCIES= test:test
-PYTHON_VERSIONED_DEPENDENCIES+=        hypothesis:test
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 MAKE_ENV+=     SODIUM_INSTALL=system
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
 .include "../../security/libsodium/buildlink3.mk"
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index