aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-10 14:30:58 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-10 14:46:20 +0000
commite6a50aa1e6c08a208471f9a3a5e98e009415cb4b (patch)
tree39bd1a24d9465ec820e2238470d9565fa51128b7
parent8a8c4b4e605f02c40fca7039930287c4e4aea5c4 (diff)
downloadports-e6a50aa1e6c08a208471f9a3a5e98e009415cb4b.tar.gz
ports-e6a50aa1e6c08a208471f9a3a5e98e009415cb4b.zip
textproc/py-chardet: Update do-test:
- Update COMMENT - Clean up TEST_DEPENDS - Sort TEST_DEPENDS
-rw-r--r--textproc/py-chardet/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/textproc/py-chardet/Makefile b/textproc/py-chardet/Makefile
index 252e0b74765b..e6939a900eca 100644
--- a/textproc/py-chardet/Makefile
+++ b/textproc/py-chardet/Makefile
@@ -8,20 +8,20 @@ MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
-COMMENT= Universal encoding detector for Python 2 and 3
+COMMENT= Universal encoding detector for Python
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-NO_ARCH= yes
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
+NO_ARCH= yes
+
do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ptr
+ cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.mk>