www/py-pylsqpack: Convert to USE_PYTHON=unittest

This commit is contained in:
Po-Chuan Hsieh 2022-06-04 00:58:00 +08:00
parent ade56e08ba
commit 13a0bc621e
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -13,12 +13,9 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c++11-lang python:3.7+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent distutils unittest
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
.include <bsd.port.mk>