Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2025 21:11:24 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9545383f54f3 - main - devel/cpplint: upgrade to 2.0.0
Message-ID:  <202501092111.509LBOeF055904@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9545383f54f36524818b7d3015fb6bd40edf9c0d

commit 9545383f54f36524818b7d3015fb6bd40edf9c0d
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2025-01-09 21:08:12 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2025-01-09 21:10:46 +0000

    devel/cpplint: upgrade to 2.0.0
    
    Release notes at https://github.com/cpplint/cpplint/releases/tag/2.0.0
---
 devel/cpplint/Makefile             | 17 ++++++-----------
 devel/cpplint/distinfo             |  6 +++---
 devel/cpplint/files/patch-setup.py | 12 ------------
 3 files changed, 9 insertions(+), 26 deletions(-)

diff --git a/devel/cpplint/Makefile b/devel/cpplint/Makefile
index 60c4df2cb342..8c206280938a 100644
--- a/devel/cpplint/Makefile
+++ b/devel/cpplint/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	cpplint
-PORTVERSION=	1.6.1
+PORTVERSION=	2.0.0
 CATEGORIES=	devel
 
 MAINTAINER=	thierry@FreeBSD.org
@@ -8,21 +8,16 @@ WWW=		https://github.com/cpplint/cpplint
 
 LICENSE=	BSD3CLAUSE
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}	\
-		${PYTHON_PKGNAMEPREFIX}zipp>0:devel/py-zipp@${PY_FLAVOR}	\
-		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}	\
-		${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR}	\
-		${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR}	\
-		${PYTHON_PKGNAMEPREFIX}testfixtures>0:devel/py-testfixtures@${PY_FLAVOR}
+TEST_DEPENDS=	${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=		python
+USES=		pytest python
 USE_PYTHON=	distutils noflavors
 
 NO_ARCH=	yes
 
-do-test:
-	(cd ${WRKSRC} && py.test)
-
 .include <bsd.port.mk>
diff --git a/devel/cpplint/distinfo b/devel/cpplint/distinfo
index 90bbc02f7ca4..232b3d2a67a9 100644
--- a/devel/cpplint/distinfo
+++ b/devel/cpplint/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1661611836
-SHA256 (cpplint-cpplint-1.6.1_GH0.tar.gz) = 7be47998c4bd590e229cf94f3312c46563d3ee35ea037b4ed389720f510029d6
-SIZE (cpplint-cpplint-1.6.1_GH0.tar.gz) = 372622
+TIMESTAMP = 1736454962
+SHA256 (cpplint-cpplint-2.0.0_GH0.tar.gz) = 8bbba15797079b82f733a17b48f9da0c06d328cdaf14be12d37a0a5782d7be1a
+SIZE (cpplint-cpplint-2.0.0_GH0.tar.gz) = 384164
diff --git a/devel/cpplint/files/patch-setup.py b/devel/cpplint/files/patch-setup.py
deleted file mode 100644
index 6dd502a42560..000000000000
--- a/devel/cpplint/files/patch-setup.py
+++ /dev/null
@@ -1,12 +0,0 @@
---- setup.py.orig	2021-05-20 10:29:07 UTC
-+++ setup.py
-@@ -72,9 +72,6 @@ setup(name='cpplint',
-       description='Automated checker to ensure C++ files follow Google\'s style guide',
-       long_description=open('README.rst').read(),
-       license='BSD-3-Clause',
--      setup_requires=[
--          "pytest-runner==5.2"
--      ],
-       tests_require=test_required,
-       # extras_require allow pip install .[dev]
-       extras_require={



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501092111.509LBOeF055904>