svn commit: r567187 - head/textproc/py-diff-match-patch
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Mar 3 18:12:57 UTC 2021
Author: sunpoet
Date: Wed Mar 3 18:12:52 2021
New Revision: 567187
URL: https://svnweb.freebsd.org/changeset/ports/567187
Log:
Update do-test:
It removes the warning message:
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
Modified:
head/textproc/py-diff-match-patch/Makefile
Modified: head/textproc/py-diff-match-patch/Makefile
==============================================================================
--- head/textproc/py-diff-match-patch/Makefile Wed Mar 3 18:12:48 2021 (r567186)
+++ head/textproc/py-diff-match-patch/Makefile Wed Mar 3 18:12:52 2021 (r567187)
@@ -22,6 +22,6 @@ python_OLD_CMD= /usr/bin/python[0-9\.]*
SHEBANG_GLOB= *.py
do-test:
- cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+ cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list