summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-10-31 08:11:43 +0000
committeradam <adam@pkgsrc.org>2022-10-31 08:11:43 +0000
commitab64b0d2ddb1fb8d8687e507351db7d3c79c78c3 (patch)
tree7cf31fa107d746e4afb6dd6144451f8162e21861 /security
parent281500079c3fc462adc92222d762f324815aa258 (diff)
downloadpkgsrc-ab64b0d2ddb1fb8d8687e507351db7d3c79c78c3.tar.gz
py-nacl: not for Python 2.7
Diffstat (limited to 'security')
-rw-r--r--security/py-nacl/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/security/py-nacl/Makefile b/security/py-nacl/Makefile
index db945c998cc..05bcbaa0054 100644
--- a/security/py-nacl/Makefile
+++ b/security/py-nacl/Makefile
@@ -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 @@ LICENSE= apache-2.0
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"