pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-mccabe
Module Name: pkgsrc
Committed By: wen
Date: Thu Sep 8 01:01:15 UTC 2016
Modified Files:
pkgsrc/devel/py-mccabe: Makefile
Log Message:
Fix build with python3
Reported by: joerg@
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-mccabe/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-mccabe/Makefile
diff -u pkgsrc/devel/py-mccabe/Makefile:1.4 pkgsrc/devel/py-mccabe/Makefile:1.5
--- pkgsrc/devel/py-mccabe/Makefile:1.4 Sat Aug 13 00:07:44 2016
+++ pkgsrc/devel/py-mccabe/Makefile Thu Sep 8 01:01:15 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2016/08/13 00:07:44 wen Exp $
+# $NetBSD: Makefile,v 1.5 2016/09/08 01:01:15 wen Exp $
DISTNAME= mccabe-0.5.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -10,5 +10,10 @@ HOMEPAGE= https://pypi.python.org/pypi/m
COMMENT= Mccabe plugin for the Python program checker flake8
LICENSE= mit
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} > 30
+BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner>=0:../../devel/py-test-runner
+.endif
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index