summaryrefslogtreecommitdiff
path: root/devel/py-test
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2018-12-10 23:59:20 +0000
committerleot <leot@pkgsrc.org>2018-12-10 23:59:20 +0000
commita9774fa5ac1f0ea34cd06c8112a76d882e45929b (patch)
tree33e3bf3629a3a5792632f161e44f45b944e036fe /devel/py-test
parentd9270276a0600f35e6f0440f338d2948b3d645b1 (diff)
downloadpkgsrc-a9774fa5ac1f0ea34cd06c8112a76d882e45929b.tar.gz
py-test: pathlib2 is needed by py27-test too
Due the if-elif condition pathlib2 was accidentally not marked as dependency in the py27 case.
Diffstat (limited to 'devel/py-test')
-rw-r--r--devel/py-test/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/py-test/Makefile b/devel/py-test/Makefile
index c78c2c93d81..af63231a6bd 100644
--- a/devel/py-test/Makefile
+++ b/devel/py-test/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.66 2018/11/24 15:35:13 adam Exp $
+# $NetBSD: Makefile,v 1.67 2018/12/10 23:59:20 leot Exp $
DISTNAME= pytest-4.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
+PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/}
@@ -25,7 +26,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
.if ${_PYTHON_VERSION} == 27
DEPENDS+= ${PYPKGPREFIX}-funcsigs-[0-9]*:../../devel/py-funcsigs
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-.elif ${_PYTHON_VERSION} < 36
+.endif
+.if ${_PYTHON_VERSION} < 36
DEPENDS+= ${PYPKGPREFIX}-pathlib2>=2.2.0:../../devel/py-pathlib2
.endif