# Created by: arved # $FreeBSD: head/textproc/py-chardet/Makefile 569200 2021-03-25 13:23:35Z rm $ PORTNAME= chardet PORTVERSION= 3.0.4 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Universal encoding detector for Python 2 and 3 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} NO_ARCH= yes USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ptr .include