diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-10-22 17:56:29 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-10-22 17:56:29 +0000 |
commit | 2e6061a531e54fdf27f217d9723a271cdf66c504 (patch) | |
tree | f3ae88f468fb72cf1c6eced2e43cabb38e5c5259 /textproc/py-tablib/Makefile | |
parent | 302336f25d5e12d60b2a0face8d7251eade79301 (diff) | |
download | ports-2e6061a531e54fdf27f217d9723a271cdf66c504.tar.gz ports-2e6061a531e54fdf27f217d9723a271cdf66c504.zip |
Notes
Diffstat (limited to 'textproc/py-tablib/Makefile')
-rw-r--r-- | textproc/py-tablib/Makefile | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/textproc/py-tablib/Makefile b/textproc/py-tablib/Makefile index 621021043654..3f00b7f98e2d 100644 --- a/textproc/py-tablib/Makefile +++ b/textproc/py-tablib/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= tablib -DISTVERSION= 0.13.0 -PORTREVISION= 1 +PORTVERSION= 2.0.0 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,18 +12,30 @@ COMMENT= Format agnostic tabular data library (XLS, JSON, YAML, CSV) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports.csv>0:devel/py-backports.csv@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}odfpy>0:devel/py-odfpy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}openpyxl>=2.4.0:textproc/py-openpyxl@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}xlrd>0:textproc/py-xlrd@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}xlwt>0:textproc/py-xlwt@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} -USES= python +USES= python:3.5+ USE_PYTHON= distutils autoplist NO_ARCH= yes -SUB_FILES= pkg-message -SUB_LIST= PYTHON_PKGNAMEPREFIX=${PYTHON_PKGNAMEPREFIX} + +OPTIONS_DEFINE= CLI HTML ODS PANDAS XLS XLSX YAML +OPTIONS_DEFAULT=CLI HTML ODS PANDAS XLS XLSX YAML +CLI_DESC= Command-line support +HTML_DESC= HTML format support +ODS_DESC= Open Document .ods support +PANDAS_DESC= Pandas Dataframe support +XLS_DESC= Microsoft Excel .xls support +XLSX_DESC= Microsoft Excel .xlsx support +YAML_DESC= YAML format support + +CLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tabulate>=0:devel/py-tabulate@${PY_FLAVOR} +HTML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markuppy>=0:textproc/py-markuppy@${PY_FLAVOR} +ODS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}odfpy>=0:devel/py-odfpy@${PY_FLAVOR} +PANDAS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=0:math/py-pandas@${PY_FLAVOR} +XLS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xlrd>=0:textproc/py-xlrd@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xlwt>=0:textproc/py-xlwt@${PY_FLAVOR} +XLSX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openpyxl>=2.6.0:textproc/py-openpyxl@${PY_FLAVOR} +YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} .include <bsd.port.mk> |