mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
5dad846cad
Fix test invocation with pytest 4.x [1], which was failing with: if len(param.values) != len(argnames): E TypeError: object of type 'MarkDecorator' has no len() While here, fix out of order MASTER_SITES [1] https://github.com/chardet/chardet/pull/174 Approved by: portmgr (blanket: ports compliance) MFH: 2019Q4 (blanket(s): bugfix, ports compliance)
29 lines
701 B
Makefile
29 lines
701 B
Makefile
# Created by: arved
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= chardet
|
|
PORTVERSION= 3.0.4
|
|
PORTREVISION= 3
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= rm@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
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ptr
|
|
|
|
.include <bsd.port.mk>
|