aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-chardet/Makefile
blob: e2f06e10f48342552f733a8c60df04de5cbdc4d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: arved
# $FreeBSD$

PORTNAME=   chardet
PORTVERSION=    3.0.3
CATEGORIES= textproc python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
MASTER_SITES=   CHEESESHOP

MAINTAINER= rm@FreeBSD.org
COMMENT=    Universal encoding detector for Python 2 and 3

LICENSE=    LGPL21
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner
TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \
        ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis

NO_ARCH=    yes
USES?=      python
USE_PYTHON= autoplist concurrent distutils

do-test:
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ptr

.include <bsd.port.mk>