summaryrefslogtreecommitdiff
path: root/net/py-lexicon
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-05-16 18:00:31 +0000
committeradam <adam@pkgsrc.org>2020-05-16 18:00:31 +0000
commit301a57428b18f7ed204cce5df93648c29530cf80 (patch)
tree6b4f8c635a3c15f25bae8f2cdc6348d2e9d453d0 /net/py-lexicon
parentfd4d723dc1adf8a1790482aed22f765f5fba198f (diff)
downloadpkgsrc-301a57428b18f7ed204cce5df93648c29530cf80.tar.gz
pytest from versioned depends
Diffstat (limited to 'net/py-lexicon')
-rw-r--r--net/py-lexicon/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/py-lexicon/Makefile b/net/py-lexicon/Makefile
index a15baeb2979..88c7b48e9be 100644
--- a/net/py-lexicon/Makefile
+++ b/net/py-lexicon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2020/05/07 10:51:42 adam Exp $
+# $NetBSD: Makefile,v 1.46 2020/05/16 18:00:31 adam Exp $
DISTNAME= dns-lexicon-3.3.22
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/dns-//}
@@ -16,9 +16,10 @@ DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-tldextract-[0-9]*:../../net/py-tldextract
DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.1.1:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.26.1:../../devel/py-test-xdist
+PYTHON_VERSIONED_DEPENDENCIES= test:test
+
MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
post-install:
@@ -30,4 +31,5 @@ do-test:
cd ${WRKSRC}/lexicon && pytest-${PYVERSSUFFIX} tests/test_*
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"