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:   joerg
Date:           Fri Mar 23 21:09:11 UTC 2018

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

Log Message:
Move py-test-runner dependency into the !py27 case as build dependency.
Contrary to the name, setuptools whines and wants to RCE the system if
it isn't installed.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 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.12 pkgsrc/devel/py-flake8/Makefile:1.13
--- pkgsrc/devel/py-flake8/Makefile:1.12        Wed Mar 21 12:05:28 2018
+++ pkgsrc/devel/py-flake8/Makefile     Fri Mar 23 21:09:11 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2018/03/21 12:05:28 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2018/03/23 21:09:11 joerg Exp $
 
 DISTNAME=      flake8-3.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -17,14 +17,15 @@ DEPENDS+=   ${PYPKGPREFIX}-codestyle>=2.0.
 .if "${PYPKGPREFIX}" == "py27"
 DEPENDS+=      ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
 DEPENDS+=      ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
+.else
+# Enforced by setuptools
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 .endif
 
-# TEST_DEPENDS
 # 8 test failures as of 3.0.4, see
 # https://gitlab.com/pycqa/flake8/issues/232
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${MV} flake8 flake8-${PYVERSSUFFIX} || ${TRUE}



Home | Main Index | Thread Index | Old Index