freebsd-ports/textproc/py-chardet/Makefile
Po-Chuan Hsieh e6a50aa1e6
textproc/py-chardet: Update do-test:
- Update COMMENT
- Clean up TEST_DEPENDS
- Sort TEST_DEPENDS
2021-06-10 22:46:20 +08:00

27 lines
602 B
Makefile

# Created by: arved
PORTNAME= chardet
PORTVERSION= 4.0.0
PORTEPOCH= 1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Universal encoding detector for Python
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.mk>