597afc47ba
With hat: portmgr Sponsored by: Absolight
27 lines
525 B
Makefile
27 lines
525 B
Makefile
# Created by: arved
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= chardet
|
|
PORTVERSION= 2.3.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc python
|
|
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}nose>0:devel/py-nose
|
|
|
|
USES= python
|
|
USE_GITHUB= yes
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|