From a9774fa5ac1f0ea34cd06c8112a76d882e45929b Mon Sep 17 00:00:00 2001 From: leot Date: Mon, 10 Dec 2018 23:59:20 +0000 Subject: 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. --- devel/py-test/Makefile | 6 ++++-- 1 file 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 -- cgit v1.2.3