freebsd-ports/devel/py-cfn-lint/Makefile
Norikatsu Shigemura 7978185b68
devel/py-cfn-lint: Add make test target
Approved by:	hrs (mentor)
2023-05-11 19:06:53 +09:00

33 lines
1.2 KiB
Makefile

PORTNAME= cfn-lint
DISTVERSION= 0.77.5
CATEGORIES= devel python textproc
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nork@FreeBSD.org
COMMENT= AWS CloudFormation Linter
WWW= https://pypi.org/project/cfn-lint/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aws-sam-translator>=1.65.0:devel/py-aws-sam-translator@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jschema-to-python>=1.2.3:devel/py-jschema-to-python@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonpatch>0:devel/py-jsonpatch@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0<5:devel/py-jsonschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}junit-xml>=1.9:textproc/py-junit-xml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}networkx>=2.4,1<4,1:math/py-networkx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}regex>0:textproc/py-regex@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sarif-om>=1.0.4:devel/py-sarif-om@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sympy>=1.0.0:math/py-sympy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>5.4:devel/py-yaml@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils unittest
TEST_ENV= ${MAKE_ENV} \
PATH=${STAGEDIR}${PREFIX}/bin:${PATH} \
PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
NO_ARCH= yes
.include <bsd.port.mk>