diff options
author | adam <adam@pkgsrc.org> | 2018-08-28 09:52:53 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-08-28 09:52:53 +0000 |
commit | 7ed66933dcbb3ec602115c32670aa2e8bade21a6 (patch) | |
tree | 063208d9a998a7046c1631beddc78cc162a4dc05 /devel | |
parent | b76a02d6892d4db749b156606a5a155439d9599f (diff) | |
download | pkgsrc-7ed66933dcbb3ec602115c32670aa2e8bade21a6.tar.gz |
py-test: DEPEND on py-pathlib2 for Python < 3.6
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-test/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/py-test/Makefile b/devel/py-test/Makefile index e85adba4f0f..a0b2c9e5749 100644 --- a/devel/py-test/Makefile +++ b/devel/py-test/Makefile @@ -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-[0-9]*:../../devel/py-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 |