pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/py-trustme py-trustme: limit to python 3
details: https://anonhg.NetBSD.org/pkgsrc/rev/1608c8e9520e
branches: trunk
changeset: 385190:1608c8e9520e
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Sep 11 17:16:01 2022 +0000
description:
py-trustme: limit to python 3
diffstat:
security/py-trustme/Makefile | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diffs (33 lines):
diff -r 40fe635f3e80 -r 1608c8e9520e security/py-trustme/Makefile
--- a/security/py-trustme/Makefile Sun Sep 11 17:14:22 2022 +0000
+++ b/security/py-trustme/Makefile Sun Sep 11 17:16:01 2022 +0000
@@ -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 @@
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
-
-PYTHON_VERSIONED_DEPENDENCIES+= test:test
-PYTHON_VERSIONED_DEPENDENCIES+= cryptography
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-.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