mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
devel/py-pylama: add testing support
Note that some tests are failing Approved by: portmgr blanket
This commit is contained in:
parent
9148eab968
commit
63e6be6ab0
@ -14,10 +14,16 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mccabe>=0.5.2:devel/py-mccabe@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pycodestyle>=2.3.1:devel/py-pycodestyle@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pydocstyle>=2.0.0:devel/py-pydocstyle@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyflakes>=1.5.0:devel/py-pyflakes@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}mypy>=0:devel/py-mypy@${PY_FLAVOR} \
|
||||
pylint-${PYTHON_PKGNAMESUFFIX}:devel/pylint@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.4+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user