git: 20c6a773f9d9 - main - devel/py-dataflows-tabulator: Add py-dataflows-tabulator 1.54.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 13:40:50 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=20c6a773f9d9e1eecbd2dae905703138affbb700

commit 20c6a773f9d9e1eecbd2dae905703138affbb700
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:18:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:37:51 +0000

    devel/py-dataflows-tabulator: Add py-dataflows-tabulator 1.54.3
    
    dataflows-tabulator-py is a library for reading and writing tabular data
    (csv/xls/json/etc).
    
    Features:
    - Supports most common tabular formats: CSV, XLS, ODS, JSON, Google Sheets, SQL,
      and others. See complete list below.
    - Loads local and remote data: Supports HTTP, FTP and S3.
    - Low memory usage: Only the current row is kept in memory, so you can large
      datasets.
    - Supports compressed files: Using ZIP or GZIP algorithms.
    - Extensible: You can add support for custom file formats and loaders (e.g.
      FTP).
---
 devel/Makefile                         |  1 +
 devel/py-dataflows-tabulator/Makefile  | 34 ++++++++++++++++++++++++++++++++++
 devel/py-dataflows-tabulator/distinfo  |  3 +++
 devel/py-dataflows-tabulator/pkg-descr | 12 ++++++++++++
 4 files changed, 50 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 56e9462ce08c..89ca28029e95 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4733,6 +4733,7 @@
     SUBDIR += py-dataclass-array
     SUBDIR += py-dataclasses-json
     SUBDIR += py-datadog
+    SUBDIR += py-dataflows-tabulator
     SUBDIR += py-datapackage
     SUBDIR += py-datasette
     SUBDIR += py-datatest
diff --git a/devel/py-dataflows-tabulator/Makefile b/devel/py-dataflows-tabulator/Makefile
new file mode 100644
index 000000000000..58f76a62cee8
--- /dev/null
+++ b/devel/py-dataflows-tabulator/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	dataflows-tabulator
+PORTVERSION=	1.54.3
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Consistent interface for stream reading and writing tabular data
+WWW=		https://github.com/akariv/tabulator-py
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto3>=1.9:www/py-boto3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}chardet>=3.0:textproc/py-chardet@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click>=6.0:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ijson>=3.0.3:devel/py-ijson@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jsonlines>=1.1:devel/py-jsonlines@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}linear-tsv>=1.0:devel/py-linear-tsv@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}openpyxl>=2.6:textproc/py-openpyxl@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.8:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.9:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=0.9.6:databases/py-sqlalchemy20@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}unicodecsv>=0.14:devel/py-unicodecsv@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}xlrd>=1.0:textproc/py-xlrd@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-dataflows-tabulator/distinfo b/devel/py-dataflows-tabulator/distinfo
new file mode 100644
index 000000000000..f5e681ba09a3
--- /dev/null
+++ b/devel/py-dataflows-tabulator/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1731679130
+SHA256 (dataflows-tabulator-1.54.3.tar.gz) = c697990bf91d16fb2ca1885cd665608a60c6c2c68d4d5e07609b455a93b20352
+SIZE (dataflows-tabulator-1.54.3.tar.gz) = 83857
diff --git a/devel/py-dataflows-tabulator/pkg-descr b/devel/py-dataflows-tabulator/pkg-descr
new file mode 100644
index 000000000000..b78c9d98d702
--- /dev/null
+++ b/devel/py-dataflows-tabulator/pkg-descr
@@ -0,0 +1,12 @@
+dataflows-tabulator-py is a library for reading and writing tabular data
+(csv/xls/json/etc).
+
+Features:
+- Supports most common tabular formats: CSV, XLS, ODS, JSON, Google Sheets, SQL,
+  and others. See complete list below.
+- Loads local and remote data: Supports HTTP, FTP and S3.
+- Low memory usage: Only the current row is kept in memory, so you can large
+  datasets.
+- Supports compressed files: Using ZIP or GZIP algorithms.
+- Extensible: You can add support for custom file formats and loaders (e.g.
+  FTP).