summaryrefslogtreecommitdiff
path: root/devel/py-get-reader/Makefile
blob: 61d0afaef89bfd67c5c4f7ba1dda7380497d8532 (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
29
30
31
PORTNAME=	get-reader
PORTVERSION=	1.0.0
PORTREVISION=	1
CATEGORIES=	devel python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	get_reader-${PORTVERSION}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Return csv.reader-like objects from multiple sources
WWW=		https://github.com/shawnbrown/get_reader

LICENSE=	APACHE20

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}

USES=		python
USE_PYTHON=	autoplist concurrent pep517

NO_ARCH=	yes

OPTIONS_DEFINE=	DBF EXCEL
OPTIONS_DEFAULT=DBF EXCEL
DBF_DESC=	DBF support
EXCEL_DESC=	Excel support

DBF_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dbfread>=0:textproc/py-dbfread@${PY_FLAVOR}
EXCEL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}xlrd>=0:textproc/py-xlrd@${PY_FLAVOR}

.include <bsd.port.mk>