pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-flake8



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jun  9 13:57:54 UTC 2017

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

Log Message:
Added dependencies for Python 2.7


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-flake8/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-flake8/Makefile
diff -u pkgsrc/devel/py-flake8/Makefile:1.7 pkgsrc/devel/py-flake8/Makefile:1.8
--- pkgsrc/devel/py-flake8/Makefile:1.7 Mon Feb 13 11:22:54 2017
+++ pkgsrc/devel/py-flake8/Makefile     Fri Jun  9 13:57:54 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2017/02/13 11:22:54 wen Exp $
+# $NetBSD: Makefile,v 1.8 2017/06/09 13:57:54 adam Exp $
 
 DISTNAME=      flake8-3.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -16,6 +16,11 @@ DEPENDS+=    ${PYPKGPREFIX}-mock-[0-9]*:../
 DEPENDS+=      ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
 DEPENDS+=      ${PYPKGPREFIX}-codestyle-[0-9]*:../../devel/py-codestyle
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+.include "../../lang/python/pyversion.mk"
+.if "${PYPKGPREFIX}" == "py27"
+DEPENDS+=      ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
+DEPENDS+=      ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
+.endif
 
 # TEST_DEPENDS
 # 8 test failures as of 3.0.4, see



Home | Main Index | Thread Index | Old Index