diff options
author | wiz <wiz@pkgsrc.org> | 2017-09-30 07:22:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-09-30 07:22:37 +0000 |
commit | d984d182b6cea6d5645356b524d27c3c9f83c156 (patch) | |
tree | 94db658d20be4546f9ebd38fd49257d2e8332b07 /devel | |
parent | 22ef44a22d8908a5e4508c9225fcc0c1f3d60fac (diff) | |
download | pkgsrc-d984d182b6cea6d5645356b524d27c3c9f83c156.tar.gz |
py-buildbot: Only depend on py-scandir when using python 27 or 34.
The package is restricted to those two versions.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-buildbot/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/py-buildbot/Makefile b/devel/py-buildbot/Makefile index 9a4bdc89ff9..ab33478281c 100644 --- a/devel/py-buildbot/Makefile +++ b/devel/py-buildbot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2017/09/29 21:46:04 joerg Exp $ +# $NetBSD: Makefile,v 1.14 2017/09/30 07:22:37 wiz Exp $ DISTNAME= buildbot-0.9.11 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -29,8 +29,12 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-treq-[0-9]*:../../devel/py-treq BUILD_DEPENDS+= ${PYPKGPREFIX}-txgithub-[0-9]*:../../devel/py-txgithub BUILD_DEPENDS+= ${PYPKGPREFIX}-txrequests-[0-9]*:../../devel/py-txrequests BUILD_DEPENDS+= ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2 -BUILD_DEPENDS+= ${PYPKGPREFIX}-scandir-[0-9]*:../../devel/py-scandir BUILD_DEPENDS+= ${PYPKGPREFIX}-moto-[0-9]*:../../net/py-moto .include "../../lang/python/egg.mk" + +.if "${PYPKGPREFIX}" == "py27" || "${PYPKGPREFIX}" == "py34" +BUILD_DEPENDS+= ${PYPKGPREFIX}-scandir-[0-9]*:../../devel/py-scandir +.endif + .include "../../mk/bsd.pkg.mk" |