pkgsrc/devel/py-cpplint/Makefile
adam b0cd9ad17c py-cpplint: updated to 1.6.1
1.6.1 (2022-08-20)

Fix 195 Fix post increment/decrement operator causing a false positive.
Fix 202 .hh files should not be considered sytem headers
Fix 207 Python2 incompatibility for loading CPPLINT.cfg file
Fix 184 NOLINT(clang-analyzer) comments should not cause warnings

1.6.0 (2022-02-19)

Fix 188: "Include the directory when naming header files" also for header files with other names like "*.hpp"
2023-01-20 14:05:16 +00:00

31 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2023/01/20 14:05:16 adam Exp $
DISTNAME= cpplint-1.6.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cpplint/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/cpplint/cpplint
COMMENT= Static code checker for C++
LICENSE= modified-bsd
TOOL_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}-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_VERSIONS_INCOMPATIBLE= 27
USE_PKG_RESOURCES= yes
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} cpplint cpplint-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"