pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-test py-test: pathlib2 is needed by py27-test...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a3198c529e28
branches:  trunk
changeset: 388624:a3198c529e28
user:      leot <leot%pkgsrc.org@localhost>
date:      Mon Dec 10 23:59:20 2018 +0000

description:
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:

 devel/py-test/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r a1582bf86058 -r a3198c529e28 devel/py-test/Makefile
--- a/devel/py-test/Makefile    Mon Dec 10 23:04:22 2018 +0000
+++ b/devel/py-test/Makefile    Mon Dec 10 23:59:20 2018 +0000
@@ -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 @@
 .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
 



Home | Main Index | Thread Index | Old Index