pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-buildbot



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Sep 30 07:22:37 UTC 2017

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

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

The package is restricted to those two versions.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-buildbot/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-buildbot/Makefile
diff -u pkgsrc/devel/py-buildbot/Makefile:1.13 pkgsrc/devel/py-buildbot/Makefile:1.14
--- pkgsrc/devel/py-buildbot/Makefile:1.13      Fri Sep 29 21:46:04 2017
+++ pkgsrc/devel/py-buildbot/Makefile   Sat Sep 30 07:22:37 2017
@@ -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
 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