blob: 2596a590a09c56ec9ec1cca0c32464a9216c0b7a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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>
|