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: disable python 2.7 earlier ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8a0f40ee182
branches:  trunk
changeset: 372879:c8a0f40ee182
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Feb 01 10:02:44 2022 +0000

description:
py-flake8: disable python 2.7 earlier so it works

diffstat:

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

diffs (33 lines):

diff -r cfc4819cb6d2 -r c8a0f40ee182 devel/py-flake8/Makefile
--- a/devel/py-flake8/Makefile  Tue Feb 01 07:39:54 2022 +0000
+++ b/devel/py-flake8/Makefile  Tue Feb 01 10:02:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2022/01/29 08:56:51 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2022/02/01 10:02:44 wiz Exp $
 
 DISTNAME=      flake8-4.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -13,18 +13,21 @@
 DEPENDS+=      ${PYPKGPREFIX}-codestyle>=2.7.0:../../devel/py-codestyle
 DEPENDS+=      ${PYPKGPREFIX}-flakes>=2.3.0:../../devel/py-flakes
 DEPENDS+=      ${PYPKGPREFIX}-mccabe>=0.6.0:../../devel/py-mccabe
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/pyversion.mk"
+
 .if ${_PYTHON_VERSION} < 38
 DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
 .endif
+
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 USE_LANGUAGES= # none
 
 USE_PKG_RESOURCES=     yes
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} flake8 flake8-${PYVERSSUFFIX} || ${TRUE}



Home | Main Index | Thread Index | Old Index