Skip to content
Snippets Groups Projects
Verified Commit 614993ba authored by sunpoet's avatar sunpoet
Browse files

devel/py-yappi: Convert to USE_PYTHON=unittest

parent ab228ce6
No related branches found
No related tags found
No related merge requests found
......@@ -15,12 +15,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gevent>=20.6.2:devel/py-gevent@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent distutils unittest
TEST_ARGS= discover -s tests
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} run_tests.py
.include <bsd.port.mk>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment