aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-iso-639/Makefile
blob: 8c00cca4340828200f7def014148563b3962d8ff (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
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
WWW=		https://github.com/noumar/iso639

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>