diff --git a/devel/cpplint/Makefile b/devel/cpplint/Makefile index 0c04fc28197f..bd7f8449f01d 100644 --- a/devel/cpplint/Makefile +++ b/devel/cpplint/Makefile @@ -1,24 +1,29 @@ PORTNAME= cpplint -PORTVERSION= 2.0.0 -PORTREVISION= 1 +PORTVERSION= 2.0.2 CATEGORIES= devel +MASTER_SITES= PYPI MAINTAINER= thierry@FreeBSD.org COMMENT= Static code checker for C++ WWW= https://github.com/cpplint/cpplint LICENSE= BSD3CLAUSE -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +TEST_DEPENDS= pylint:devel/pylint \ + ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mypy>0:devel/py-mypy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}testfixtures>0:devel/py-testfixtures@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} -USE_GITHUB= yes - USES= pytest python -USE_PYTHON= distutils noflavors +USE_PYTHON= noflavors pep517 NO_ARCH= yes +PLIST_SUB= VER=${PORTVERSION} + .include diff --git a/devel/cpplint/distinfo b/devel/cpplint/distinfo index 232b3d2a67a9..8b9d680debd4 100644 --- a/devel/cpplint/distinfo +++ b/devel/cpplint/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1736454962 -SHA256 (cpplint-cpplint-2.0.0_GH0.tar.gz) = 8bbba15797079b82f733a17b48f9da0c06d328cdaf14be12d37a0a5782d7be1a -SIZE (cpplint-cpplint-2.0.0_GH0.tar.gz) = 384164 +TIMESTAMP = 1744372073 +SHA256 (cpplint-2.0.2.tar.gz) = 8a5971e4b5490133e425284f0c566c7ade0b959e61018d2c9af3ff7f357ddc57 +SIZE (cpplint-2.0.2.tar.gz) = 373781 diff --git a/devel/cpplint/pkg-descr b/devel/cpplint/pkg-descr index d6cb74310a74..71a4ebe1fc1e 100644 --- a/devel/cpplint/pkg-descr +++ b/devel/cpplint/pkg-descr @@ -1,8 +1,10 @@ Cpplint is a command-line tool to check C/C++ files for style issues following Google's C++ style guide. Cpplint is developed and maintained by Google Inc. at google/styleguide , also see the wikipedia entry . While Google maintains cpplint, Google is not (very) responsive to issues and pull requests, this fork aims to be (somewhat) more open to add fixes to cpplint to enable fixes, when those fixes make cpplint usable in wider contexts. + +See also https://github.com/cpplint/cpplint diff --git a/devel/cpplint/pkg-plist b/devel/cpplint/pkg-plist index 2651341013b3..6efef74ad5c2 100644 --- a/devel/cpplint/pkg-plist +++ b/devel/cpplint/pkg-plist @@ -1,4 +1,10 @@ bin/cpplint +%%PYTHON_SITELIBDIR%%/cpplint-%%VER%%.dist-info/LICENSE +%%PYTHON_SITELIBDIR%%/cpplint-%%VER%%.dist-info/METADATA +%%PYTHON_SITELIBDIR%%/cpplint-%%VER%%.dist-info/RECORD +%%PYTHON_SITELIBDIR%%/cpplint-%%VER%%.dist-info/WHEEL +%%PYTHON_SITELIBDIR%%/cpplint-%%VER%%.dist-info/entry_points.txt +%%PYTHON_SITELIBDIR%%/cpplint-%%VER%%.dist-info/top_level.txt %%PYTHON_SITELIBDIR%%/__pycache__/cpplint%%PYTHON_EXT_SUFFIX%%.opt-1.pyc %%PYTHON_SITELIBDIR%%/__pycache__/cpplint%%PYTHON_EXT_SUFFIX%%.pyc %%PYTHON_SITELIBDIR%%/cpplint.py