summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-06-09 13:57:54 +0000
committeradam <adam@pkgsrc.org>2017-06-09 13:57:54 +0000
commitd4969090e0a621353b93bc78fffb209de435f159 (patch)
treedb03b5bdc7c618746d3d3335dc56104e22a58907 /devel
parent2884056e5e2d499ed6923ee3ccc7dd25fcc1eb50 (diff)
downloadpkgsrc-d4969090e0a621353b93bc78fffb209de435f159.tar.gz
Added dependencies for Python 2.7
Diffstat (limited to 'devel')
-rw-r--r--devel/py-flake8/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/py-flake8/Makefile b/devel/py-flake8/Makefile
index 727f2f60d21..a1a30828761 100644
--- a/devel/py-flake8/Makefile
+++ b/devel/py-flake8/Makefile
@@ -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]*:../../devel/py-mock
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