pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-nacl



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Oct 31 08:11:43 UTC 2022

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

Log Message:
py-nacl: not for Python 2.7


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/security/py-nacl/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-nacl/Makefile
diff -u pkgsrc/security/py-nacl/Makefile:1.10 pkgsrc/security/py-nacl/Makefile:1.11
--- pkgsrc/security/py-nacl/Makefile:1.10       Tue Oct 25 11:33:05 2022
+++ pkgsrc/security/py-nacl/Makefile    Mon Oct 31 08:11:43 2022
@@ -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"



Home | Main Index | Thread Index | Old Index