pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-flake8 py-flake8: build dependency on py-test...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab5ae3e87174
branches:  trunk
changeset: 313374:ab5ae3e87174
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Sep 28 15:45:15 2018 +0000

description:
py-flake8: build dependency on py-test-runner is unconditional

without it the py27 package will try to fetch the dep from pypi.org
at build time.

diffstat:

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

diffs (21 lines):

diff -r 5ef0d07c2097 -r ab5ae3e87174 devel/py-flake8/Makefile
--- a/devel/py-flake8/Makefile  Fri Sep 28 11:01:37 2018 +0000
+++ b/devel/py-flake8/Makefile  Fri Sep 28 15:45:15 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2018/06/18 11:17:54 adam Exp $
+# $NetBSD: Makefile,v 1.18 2018/09/28 15:45:15 tnn Exp $
 
 DISTNAME=      flake8-3.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -18,10 +18,8 @@
 .if "${PYPKGPREFIX}" == "py27"
 DEPENDS+=      ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
 DEPENDS+=      ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
-.else
-# Enforced by setuptools
+.endif
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-.endif
 
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test



Home | Main Index | Thread Index | Old Index