pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-trustme



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Sep 11 17:16:01 UTC 2022

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

Log Message:
py-trustme: limit to python 3


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/security/py-trustme/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-trustme/Makefile
diff -u pkgsrc/security/py-trustme/Makefile:1.12 pkgsrc/security/py-trustme/Makefile:1.13
--- pkgsrc/security/py-trustme/Makefile:1.12    Thu Apr 21 11:00:01 2022
+++ pkgsrc/security/py-trustme/Makefile Sun Sep 11 17:16:01 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/04/21 11:00:01 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/09/11 17:16:01 wiz Exp $
 
 DISTNAME=      trustme-0.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,20 +11,15 @@ HOMEPAGE=   https://github.com/python-trio
 COMMENT=       Number on quality TLS certs while you wait
 LICENSE=       apache-2.0 OR mit
 
+DEPENDS+=      ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
 DEPENDS+=      ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
 TEST_DEPENDS+= ${PYPKGPREFIX}-service_identity-[0-9]*:../../security/py-service_identity
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-PYTHON_VERSIONED_DEPENDENCIES+=        test:test
-PYTHON_VERSIONED_DEPENDENCIES+=        cryptography
-
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index