svn commit: r567192 - head/www/py-cookies
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Mar 3 18:13:22 UTC 2021
Author: sunpoet
Date: Wed Mar 3 18:13:14 2021
New Revision: 567192
URL: https://svnweb.freebsd.org/changeset/ports/567192
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/www/py-cookies/Makefile
Modified: head/www/py-cookies/Makefile
==============================================================================
--- head/www/py-cookies/Makefile Wed Mar 3 18:13:10 2021 (r567191)
+++ head/www/py-cookies/Makefile Wed Mar 3 18:13:14 2021 (r567192)
@@ -12,14 +12,14 @@ COMMENT= Friendlier RFC 6265-compliant cookie parser/r
LICENSE= MIT
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
do-test:
- @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
+ cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list