summaryrefslogtreecommitdiff
path: root/textproc/py-pdfminer.six/Makefile
blob: 10efb9db7888c2e1d35c7740cdbba8aab1220db2 (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
29

PORTNAME=	pdfminer.six
PORTVERSION=	20201018
CATEGORIES=	textproc python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	kai@FreeBSD.org
COMMENT=	PDF parser and analyzer

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}sortedcontainers>=0:devel/py-sortedcontainers@${PY_FLAVOR}
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}

USES=		python:3.4+
USE_GITHUB=	yes
GH_ACCOUNT=	pdfminer
USE_PYTHON=	distutils concurrent autoplist

CONFLICTS_INSTALL=	py??-pdfminer-* py??-pdfminer3k-*
NO_ARCH=		yes

do-test:
	@(cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v --nologcapture)

.include <bsd.port.mk>