mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 08:56:28 -04:00
29 lines
758 B
Makefile
29 lines
758 B
Makefile
# Created by: thierry@pompo.net
|
|
|
|
PORTNAME= cpplint
|
|
PORTVERSION= 1.5.5
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
COMMENT= Static code checker for C++
|
|
|
|
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}
|
|
|
|
USE_GITHUB= yes
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= distutils noflavors
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
(cd ${WRKSRC} && py.test)
|
|
|
|
.include <bsd.port.mk>
|