aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-chardet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-chardet/Makefile')
-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>