pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-cpplint
Module Name: pkgsrc
Committed By: wiz
Date: Mon Jul 11 08:48:49 UTC 2022
Modified Files:
pkgsrc/devel/py-cpplint: Makefile distinfo
Added Files:
pkgsrc/devel/py-cpplint/patches: patch-test-requirements
Log Message:
py-cpplint: restrict to python3
some cleanups
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-cpplint/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-cpplint/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/py-cpplint/patches/patch-test-requirements
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-cpplint/Makefile
diff -u pkgsrc/devel/py-cpplint/Makefile:1.8 pkgsrc/devel/py-cpplint/Makefile:1.9
--- pkgsrc/devel/py-cpplint/Makefile:1.8 Wed Jan 5 15:41:02 2022
+++ pkgsrc/devel/py-cpplint/Makefile Mon Jul 11 08:48:48 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:02 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2022/07/11 08:48:48 wiz Exp $
DISTNAME= cpplint-1.5.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,23 +12,21 @@ COMMENT= Static code checker for C++
LICENSE= modified-bsd
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TOOL_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-#TEST_DEPENDS+= ${PYPKGPREFIX}-testfixtures-[0-9]*:../../devel/py-testfixtures
+TEST_DEPENDS+= ${PYPKGPREFIX}-pyparsing-[0-9]*:../../devel/py-pyparsing
+TEST_DEPENDS+= ${PYPKGPREFIX}-zipp-[0-9]*:../../archivers/py-zipp
+#TEST_DEPENDS+= ${PYPKGPREFIX}-testfixtures-[0-9]*:../../wip/py-testfixtures
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-PYTHON_VERSIONED_DEPENDENCIES= pip:tool test:test zipp:test pyparsing:test
+PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_PKG_RESOURCES= yes
-.include "../../lang/python/pyversion.mk"
-
-.if ${_PYTHON_VERSION} == 27
-TEST_DEPENDS+= ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
-.endif
-
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} cpplint cpplint-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-cpplint/distinfo
diff -u pkgsrc/devel/py-cpplint/distinfo:1.5 pkgsrc/devel/py-cpplint/distinfo:1.6
--- pkgsrc/devel/py-cpplint/distinfo:1.5 Tue Oct 26 10:18:20 2021
+++ pkgsrc/devel/py-cpplint/distinfo Mon Jul 11 08:48:48 2022
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:18:20 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/07/11 08:48:48 wiz Exp $
BLAKE2s (cpplint-1.5.5.tar.gz) = dff23a9926a84bda664ac8fb9fc928839f7c289ec9711b1f3a7c9f276aee9e71
SHA512 (cpplint-1.5.5.tar.gz) = 6f5148f5be2fba9e290a2e83a13943bed2d5d388f20c1e4efcc4eb832e905e71afc6ac074cd9553a7dbfeeb527c2759c3281a1243a0d8ce93a2082253d83ebf0
Size (cpplint-1.5.5.tar.gz) = 361348 bytes
+SHA1 (patch-test-requirements) = a4bb24dc8a5f069772d6ed1296dedbcf001a046f
Added files:
Index: pkgsrc/devel/py-cpplint/patches/patch-test-requirements
diff -u /dev/null pkgsrc/devel/py-cpplint/patches/patch-test-requirements:1.1
--- /dev/null Mon Jul 11 08:48:49 2022
+++ pkgsrc/devel/py-cpplint/patches/patch-test-requirements Mon Jul 11 08:48:49 2022
@@ -0,0 +1,19 @@
+$NetBSD: patch-test-requirements,v 1.1 2022/07/11 08:48:49 wiz Exp $
+
+Allow current pkgsrc versions, restrictions are for python 2.7
+
+--- test-requirements.orig 2020-08-05 00:41:14.000000000 +0000
++++ test-requirements
+@@ -1,9 +1,8 @@
+ # minimal requirements to run python setup.py test
+ # 5.x requires python 3.5
+-pytest>=4.6,<5.0
++pytest>=4.6
+ pytest-cov
+ # freeze versions breaking python 2.7 on travis
+-pyparsing<3
+-zipp<=0.5.1
+-configparser<=3.7.4
++pyparsing
++zipp
+ testfixtures
Home |
Main Index |
Thread Index |
Old Index