Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2024 14:57:51 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 529fcf069332 - main - devel/py-dask-expr: Add py-dask-expr 1.0.2
Message-ID:  <202403231457.42NEvpGd084121@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 529fcf069332c22ed5152cab38be7b923500abe9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:14:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:30:36 +0000

    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.
---
 devel/Makefile                                |  1 +
 devel/py-dask-expr/Makefile                   | 25 +++++++++++++++++++++++++
 devel/py-dask-expr/distinfo                   |  3 +++
 devel/py-dask-expr/files/patch-pyproject.toml | 17 +++++++++++++++++
 devel/py-dask-expr/pkg-descr                  |  4 ++++
 5 files changed, 50 insertions(+)

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403231457.42NEvpGd084121>