1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

- Add TEST_DEPENDS and do-test

This commit is contained in:
Wen Heping 2019-08-08 09:52:52 +00:00
parent 76ecec3581
commit b51c1c61fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=508369

View File

@ -19,6 +19,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlparse>=0:databases/py-sqlparse@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tblib>0:devel/py-tblib@${PY_FLAVOR}
NO_ARCH= yes
USES= cpe python:3.5+ shebangfix
@ -62,4 +63,7 @@ post-install-HTMLDOCS-on:
${MKDIR} ${STAGEDIR}/${DOCSDIR}
${CP} -R ${WRKSRC}/docs/_build/html ${STAGEDIR}/${DOCSDIR}
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} tests/runtests.py --settings=test_sqlite
.include <bsd.port.mk>