Update to 2.0.0

- Add CLI, HTML, ODS, PANDAS, XLS, XLSX and YAML options
- Update WWW

Changes:	https://github.com/jazzband/tablib/blob/master/HISTORY.md
PR:		250121
Submitted by:	sunpoet (myself)
Approved by:	maintainer (timeout, 18 days)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-10-22 17:56:29 +00:00
parent 302336f25d
commit 2e6061a531
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553052
4 changed files with 26 additions and 23 deletions

View File

@ -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>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1552914058
SHA256 (tablib-0.13.0.tar.gz) = 5f33c079b07eb10cf9c4b4696add2ecf32c89db7729240546ecdcd5c92f67e13
SIZE (tablib-0.13.0.tar.gz) = 65131
TIMESTAMP = 1599315567
SHA256 (tablib-2.0.0.tar.gz) = 8cc2fa10bc37219ac5e76850eb7fbd50de313c7a1a7895c44af2a8dd206b7be7
SIZE (tablib-2.0.0.tar.gz) = 86259

View File

@ -1,8 +0,0 @@
[
{ type: install
message: <<EOM
Install %%PYTHON_PKGNAMEPREFIX%%pandas (Ports directory: math/py-pandas) if you want to make use
of the Pandas Dataframe structure.
EOM
}
]

View File

@ -3,4 +3,4 @@ allows one to import, export, and manipulate tabular data sets. Advanced
features include, segregation, dynamic columns, tags & filtering, and seamless
format import & export.
WWW: http://python-tablib.org
WWW: http://docs.python-tablib.org/en/master/