1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

print/py-relatorio: Add CHART and FODT options

- Fix RUN_DEPENDS: it should be py-python-magic, not py-magic
- Bump PORTREVISION for dependency change
This commit is contained in:
Po-Chuan Hsieh 2021-08-08 22:36:47 +08:00
parent ba8b14c4f0
commit 87682c881e
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -2,6 +2,7 @@
PORTNAME= relatorio
PORTVERSION= 0.9.3
PORTREVISION= 1
CATEGORIES= print python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -13,14 +14,20 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.5:textproc/py-genshi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>=2.0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}magic>=0:devel/py-magic@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycha>=0.4.0:graphics/py-pycha@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}lxml>=2.0:devel/py-lxml@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= CHART FODT
OPTIONS_DEFAULT=CHART FODT
CHART_DESC= Chart support
FODT_DESC= OpenDocument support
CHART_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycha>=0.4.0:graphics/py-pycha@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
FODT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-magic>=0:devel/py-python-magic@${PY_FLAVOR} \
.include <bsd.port.mk>