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:   adam
Date:           Sat Apr 12 10:04:44 UTC 2025

Modified Files:
        pkgsrc/devel/py-cpplint: Makefile PLIST distinfo

Log Message:
py-cpplint: updated to 2.0.2

2.0.2 (2025-04-08)

Python versions less than 3.9 are no longer supported.
The false positive for indented member initializer lists in namespaces were eradicated.
The warning on non-const references (runtime/references) is now disabled by default pursuant to the May 2020 Google style guide update.

2.0.1 (2025-04-02)

Yet another overdue... hotfix. Sorry this took so long.

The false positive for indented function parameters in namespaces was eradicated.
Files that end in ".c", ".C", or ".cu" will now also automatically suppress C++-only categories. Previously, // NO_LINT_C was required.
build/include-what-you-use now recognizes c-style headers such as <stdio.h> for symbols from <cstdio>.
Ruff, mypy, and codespell were ran on the project to improve performance and reader comprehension thanks to @cclauss.
Tests were refactored away from unittest to improve display with pytest by @cclauss.
@Hs293Go fixed an embarrassing typo; the "latch" and "numbers" headers are now recognized correctly instead of "latchnumbers".
CLI tests were refactored through, among other things, making adding new .def's easier by migrating to a parameterized setup.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/py-cpplint/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-cpplint/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-cpplint/distinfo

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.14 pkgsrc/devel/py-cpplint/Makefile:1.15
--- pkgsrc/devel/py-cpplint/Makefile:1.14       Mon Jan 20 13:22:18 2025
+++ pkgsrc/devel/py-cpplint/Makefile    Sat Apr 12 10:04:44 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2025/01/20 13:22:18 adam Exp $
+# $NetBSD: Makefile,v 1.15 2025/04/12 10:04:44 adam Exp $
 
-DISTNAME=      cpplint-2.0.0
+DISTNAME=      cpplint-2.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cpplint/}
@@ -10,11 +10,11 @@ HOMEPAGE=   https://github.com/cpplint/cpp
 COMMENT=       Static code checker for C++
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 TEST_DEPENDS+= ${PYPKGPREFIX}-parameterized-[0-9]*:../../devel/py-parameterized
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
-TEST_DEPENDS+= ${PYPKGPREFIX}-testfixtures-[0-9]*:../../wip/py-testfixtures
+TEST_DEPENDS+= ${PYPKGPREFIX}-testfixtures-[0-9]*:../../devel/py-testfixtures
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \

Index: pkgsrc/devel/py-cpplint/PLIST
diff -u pkgsrc/devel/py-cpplint/PLIST:1.2 pkgsrc/devel/py-cpplint/PLIST:1.3
--- pkgsrc/devel/py-cpplint/PLIST:1.2   Sun May  5 21:21:02 2024
+++ pkgsrc/devel/py-cpplint/PLIST       Sat Apr 12 10:04:44 2025
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2024/05/05 21:21:02 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2025/04/12 10:04:44 adam Exp $
 bin/cpplint-${PYVERSSUFFIX}
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/cpplint.py
 ${PYSITELIB}/cpplint.pyc

Index: pkgsrc/devel/py-cpplint/distinfo
diff -u pkgsrc/devel/py-cpplint/distinfo:1.8 pkgsrc/devel/py-cpplint/distinfo:1.9
--- pkgsrc/devel/py-cpplint/distinfo:1.8        Mon Jan 20 13:22:18 2025
+++ pkgsrc/devel/py-cpplint/distinfo    Sat Apr 12 10:04:44 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2025/01/20 13:22:18 adam Exp $
+$NetBSD: distinfo,v 1.9 2025/04/12 10:04:44 adam Exp $
 
-BLAKE2s (cpplint-2.0.0.tar.gz) = 9ad862f3bf8113dbbc4c71a5fa7d86f53517a7fc251c3f5067b617f6bc647dc8
-SHA512 (cpplint-2.0.0.tar.gz) = 4a3d53ca3e26b9f68ba55348c622e95547bf5a75f06a91a2787a9b2459bd4381ea1b3170d5b83c14f8cfb9981de1514c41a41aecd03516ab3ac0157291269844
-Size (cpplint-2.0.0.tar.gz) = 372823 bytes
+BLAKE2s (cpplint-2.0.2.tar.gz) = a54bf93af43fa951ea11826c9c058e23d6f6b69dc4800113f5cccc9a8e7912ec
+SHA512 (cpplint-2.0.2.tar.gz) = 83e012bdd939d8237953c5c1254479c2b55b503ca5742fd2f25320cdd960e3f54b012e4a88a1ea4c1423bedcad80fc4ecb08401f07fada86154e5d310d138f84
+Size (cpplint-2.0.2.tar.gz) = 373781 bytes



Home | Main Index | Thread Index | Old Index