pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Aug 28 09:52:53 UTC 2018

Modified Files:
        pkgsrc/devel/py-test: Makefile

Log Message:
py-test: DEPEND on py-pathlib2 for Python < 3.6


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/devel/py-test/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-test/Makefile
diff -u pkgsrc/devel/py-test/Makefile:1.55 pkgsrc/devel/py-test/Makefile:1.56
--- pkgsrc/devel/py-test/Makefile:1.55  Mon Aug 27 06:06:02 2018
+++ pkgsrc/devel/py-test/Makefile       Tue Aug 28 09:52:53 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2018/08/27 06:06:02 adam Exp $
+# $NetBSD: Makefile,v 1.56 2018/08/28 09:52:53 adam Exp $
 
 DISTNAME=      pytest-3.7.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
@@ -22,8 +22,10 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-hypothesis
 TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
 
 .include "../../lang/python/pyversion.mk"
-.if "${PYPKGPREFIX}" == "py27"
+.if ${_PYTHON_VERSION} == 27
 DEPENDS+=      ${PYPKGPREFIX}-funcsigs-[0-9]*:../../devel/py-funcsigs
+.elif ${_PYTHON_VERSION} < 36
+DEPENDS+=      ${PYPKGPREFIX}-pathlib2>=2.2.0:../../devel/py-pathlib2
 .endif
 
 USE_LANGUAGES= # none



Home | Main Index | Thread Index | Old Index