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: wiz
Date: Tue Feb 1 10:02:44 UTC 2022
Modified Files:
pkgsrc/devel/py-flake8: Makefile
Log Message:
py-flake8: disable python 2.7 earlier so it works
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 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.43 pkgsrc/devel/py-flake8/Makefile:1.44
--- pkgsrc/devel/py-flake8/Makefile:1.43 Sat Jan 29 08:56:51 2022
+++ pkgsrc/devel/py-flake8/Makefile Tue Feb 1 10:02:44 2022
@@ -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 @@ LICENSE= mit
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