git: 8eefbf6be938 - main - math/py-narwhals: Add DASK, PANDAS, POLARS and PYARROW options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Sep 2024 18:45:18 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8eefbf6be93820f16cea2e760dc7c263934fe348
commit 8eefbf6be93820f16cea2e760dc7c263934fe348
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 18:20:02 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:37:42 +0000
math/py-narwhals: Add DASK, PANDAS, POLARS and PYARROW options
---
math/py-narwhals/Makefile | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/math/py-narwhals/Makefile b/math/py-narwhals/Makefile
index 48b761cb6962..8f113918f08a 100644
--- a/math/py-narwhals/Makefile
+++ b/math/py-narwhals/Makefile
@@ -19,4 +19,15 @@ USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
+OPTIONS_DEFINE= DASK PANDAS POLARS PYARROW
+DASK_DESC= Dask DataFrame support
+PANDAS_DESC= Pandas API support
+POLARS_DESC= Polars API support
+PYARROW_DESC= PyArrow API support
+
+DASK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dask>=2024.7:devel/py-dask@${PY_FLAVOR}
+PANDAS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=0.25.3,1:math/py-pandas@${PY_FLAVOR}
+POLARS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}polars>=0.20.3:misc/py-polars@${PY_FLAVOR}
+PYARROW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyarrow>=11.0.0:databases/py-pyarrow@${PY_FLAVOR}
+
.include <bsd.port.mk>