git: 9d16f1c411d8 - main - www/py-pylsqpack: Simplify do-test:
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Jun 10 14:49:03 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9d16f1c411d817133048ce81303f38525074dc72
commit 9d16f1c411d817133048ce81303f38525074dc72
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-06-10 14:30:28 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-06-10 14:46:17 +0000
www/py-pylsqpack: Simplify do-test:
python -m unittest is the equivalent of python -m unittest discover.
Reference: https://docs.python.org/3/library/unittest.html#test-discovery
---
www/py-pylsqpack/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/py-pylsqpack/Makefile b/www/py-pylsqpack/Makefile
index 009248c80478..06e30f272e7d 100644
--- a/www/py-pylsqpack/Makefile
+++ b/www/py-pylsqpack/Makefile
@@ -16,6 +16,6 @@ USES= compiler:c++11-lang python:3.6+
USE_PYTHON= autoplist concurrent distutils
do-test:
- cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover -v
+ cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
.include <bsd.port.mk>
More information about the dev-commits-ports-all
mailing list