aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 14:14:54 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 14:30:36 +0000
commit529fcf069332c22ed5152cab38be7b923500abe9 (patch)
tree9079ee42d170c76875c4a068345d3d4abf4ce86f
parentc8b4d6d391f8967509242e2538efc7371def0026 (diff)
devel/py-dask-expr: Add py-dask-expr 1.0.2
Dask DataFrames with query optimization. This is a rewrite of Dask DataFrame that includes query optimization and generally improved organization.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-dask-expr/Makefile25
-rw-r--r--devel/py-dask-expr/distinfo3
-rw-r--r--devel/py-dask-expr/files/patch-pyproject.toml17
-rw-r--r--devel/py-dask-expr/pkg-descr4
5 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3bf1065bcd95..3556a8e93adf 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4591,6 +4591,7 @@
SUBDIR += py-dal
SUBDIR += py-darts.util.lru
SUBDIR += py-dask
+ SUBDIR += py-dask-expr
SUBDIR += py-dask-histogram
SUBDIR += py-dataclass-array
SUBDIR += py-dataclasses-json
diff --git a/devel/py-dask-expr/Makefile b/devel/py-dask-expr/Makefile
new file mode 100644
index 000000000000..9300f9a5a185
--- /dev/null
+++ b/devel/py-dask-expr/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= dask-expr
+PORTVERSION= 1.0.2
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= High Level Expressions for Dask
+WWW= https://github.com/dask/dask-expr
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}versioneer>=0.28:devel/py-versioneer@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=62.6:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=2,1:math/py-pandas@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyarrow>=7.0.0:databases/py-pyarrow@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-dask-expr/distinfo b/devel/py-dask-expr/distinfo
new file mode 100644
index 000000000000..6b460028328e
--- /dev/null
+++ b/devel/py-dask-expr/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710712302
+SHA256 (dask-expr-1.0.2.tar.gz) = 8718c7634f2148263d3a4b8e0d520279d059bc9816438ddf105fa712e10ee938
+SIZE (dask-expr-1.0.2.tar.gz) = 165333
diff --git a/devel/py-dask-expr/files/patch-pyproject.toml b/devel/py-dask-expr/files/patch-pyproject.toml
new file mode 100644
index 000000000000..0a9514e91345
--- /dev/null
+++ b/devel/py-dask-expr/files/patch-pyproject.toml
@@ -0,0 +1,17 @@
+--- pyproject.toml.orig 2024-03-12 10:46:29 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=62.6", "versioneer[toml]==0.28"]
++requires = ["setuptools>=62.6", "versioneer[toml]>=0.28"]
+ build-backend = "setuptools.build_meta"
+
+ [project]
+@@ -26,7 +26,6 @@ dependencies = [
+ readme = "README.md"
+ requires-python = ">=3.9"
+ dependencies = [
+- "dask == 2024.3.0",
+ "pyarrow>=7.0.0",
+ "pandas >= 2",
+ ]
diff --git a/devel/py-dask-expr/pkg-descr b/devel/py-dask-expr/pkg-descr
new file mode 100644
index 000000000000..044a8de0986a
--- /dev/null
+++ b/devel/py-dask-expr/pkg-descr
@@ -0,0 +1,4 @@
+Dask DataFrames with query optimization.
+
+This is a rewrite of Dask DataFrame that includes query optimization and
+generally improved organization.