2012-11-02 13:08:08 +01:00
|
|
|
# Created by: arved
|
2006-01-25 23:46:32 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= chardet
|
2015-01-12 09:09:09 +01:00
|
|
|
PORTVERSION= 2.3.0
|
2016-03-05 05:05:33 +01:00
|
|
|
PORTREVISION= 1
|
2006-01-25 23:46:32 +01:00
|
|
|
CATEGORIES= textproc python
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2012-11-02 13:08:08 +01:00
|
|
|
MAINTAINER= rm@FreeBSD.org
|
2015-01-12 09:09:09 +01:00
|
|
|
COMMENT= Universal encoding detector for Python 2 and 3
|
2006-01-25 23:46:32 +01:00
|
|
|
|
2012-04-08 08:42:12 +02:00
|
|
|
LICENSE= LGPL21
|
2015-01-12 09:09:09 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2012-04-08 08:42:12 +02:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose
|
2016-03-05 05:05:33 +01:00
|
|
|
|
2014-12-07 11:01:36 +01:00
|
|
|
USES= python
|
2016-03-05 05:05:33 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
|
|
|
|
NO_ARCH= yes
|
|
|
|
|
|
|
|
do-test:
|
|
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
2006-03-15 14:11:16 +01:00
|
|
|
|
2006-01-25 23:46:32 +01:00
|
|
|
.include <bsd.port.mk>
|