pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-flake8 Added dependencies for Python 2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e517e653bb66
branches:  trunk
changeset: 363439:e517e653bb66
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jun 09 13:57:54 2017 +0000

description:
Added dependencies for Python 2.7

diffstat:

 devel/py-flake8/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 2d4bc736e056 -r e517e653bb66 devel/py-flake8/Makefile
--- a/devel/py-flake8/Makefile  Fri Jun 09 01:24:08 2017 +0000
+++ b/devel/py-flake8/Makefile  Fri Jun 09 13:57:54 2017 +0000
@@ -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}-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