git: a5eeba70e86b - main - devel/py-frictionless: Add BIGQUERY, CKAN, EXCEL, GSHEETS, HTML, JSON, PANDAS, S3, SERVER and SQL options

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Jul 2022 20:40:56 UTC
The branch main has been updated by sunpoet:

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

commit a5eeba70e86b34d3f366d42955e3f8756914f470
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-18 20:39:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-18 20:39:22 +0000

    devel/py-frictionless: Add BIGQUERY, CKAN, EXCEL, GSHEETS, HTML, JSON, PANDAS, S3, SERVER and SQL options
---
 devel/py-frictionless/Makefile | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/devel/py-frictionless/Makefile b/devel/py-frictionless/Makefile
index 585957bdd11b..7e6608a5748f 100644
--- a/devel/py-frictionless/Makefile
+++ b/devel/py-frictionless/Makefile
@@ -35,4 +35,32 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	BIGQUERY CKAN EXCEL GSHEETS HTML JSON PANDAS S3 SERVER SQL
+BIGQUERY_DESC=	BigQuery support
+CKAN_DESC=	CKAN API support
+EXCEL_DESC=	Excel file support
+GSHEETS_DESC=	Google Sheets support
+HTML_DESC=	HTML file support
+JSON_DESC=	JSON file support
+PANDAS_DESC=	Pandas support
+S3_DESC=	AWS S3 support
+SERVER_DESC=	API support
+SQL_DESC=	SQL databases support
+
+BIGQUERY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-python-client>=1.12.1:www/py-google-api-python-client@${PY_FLAVOR}
+CKAN_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ckanapi>=4.3:devel/py-ckanapi@${PY_FLAVOR}
+EXCEL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openpyxl>=3.0:textproc/py-openpyxl@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}tableschema-to-template>=0.0.12:textproc/py-tableschema-to-template@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}xlrd>=1.2:textproc/py-xlrd@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}xlwt>=1.2:textproc/py-xlwt@${PY_FLAVOR}
+GSHEETS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygsheets>=2.0:www/py-pygsheets@${PY_FLAVOR}
+HTML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyquery>=1.4:devel/py-pyquery@${PY_FLAVOR}
+JSON_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ijson>=3.0:devel/py-ijson@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}jsonlines>=1.2:devel/py-jsonlines@${PY_FLAVOR}
+PANDAS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pandas>=1.0:math/py-pandas@${PY_FLAVOR}
+S3_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}boto3>=1.9:www/py-boto3@${PY_FLAVOR}
+SERVER_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>=1.1:www/py-flask@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}gunicorn>=20.0:www/py-gunicorn@${PY_FLAVOR}
+SQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.3:databases/py-sqlalchemy14@${PY_FLAVOR}
+
 .include <bsd.port.mk>