pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-buildbot py-buildbot: Only depend on py-scand...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59efee80766d
branches:  trunk
changeset: 369500:59efee80766d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Sep 30 07:22:37 2017 +0000

description:
py-buildbot: Only depend on py-scandir when using python 27 or 34.

The package is restricted to those two versions.

diffstat:

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

diffs (23 lines):

diff -r 0446a91e19dd -r 59efee80766d devel/py-buildbot/Makefile
--- a/devel/py-buildbot/Makefile        Sat Sep 30 05:38:03 2017 +0000
+++ b/devel/py-buildbot/Makefile        Sat Sep 30 07:22:37 2017 +0000
@@ -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}-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"



Home | Main Index | Thread Index | Old Index