summaryrefslogtreecommitdiff
path: root/textproc/py-iso-639/Makefile
blob: b38a7db7b9e4522a998e3b6d9e18c1981a8d7b54 (plain)
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
28

PORTNAME=	iso-639
PORTVERSION=	0.4.5
PORTREVISION=	1
CATEGORIES=	textproc python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	takefu@airport.fm
COMMENT=	Python library for ISO 639 standard

LICENSE=	AGPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}country>0:devel/py-country@${PY_FLAVOR}

USES=		python:3.6+

USE_GITHUB=	yes
GH_ACCOUNT=	noumar
GH_PROJECT=	iso639
USE_PYTHON=	autoplist concurrent distutils

NO_ARCH=	yes

do-test:
		cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v tests/tests.py

.include <bsd.port.mk>