From nobody Sun Sep 15 20:15:37 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X6K6f4pv3z5Wt8h; Sun, 15 Sep 2024 20:15:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6K6d6nf3z42cp; Sun, 15 Sep 2024 20:15:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726431338; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tUpnrhAucOO+CNiSyHsjnyU2wcAAvnPfPovOnGWKtZ4=; b=R2PzJDeLGTFWKp+KmLflCAnYzPYDPl+c3m9CjpiM05r1MZ3V/m0pbHOgVod/eYkb8s0/SX MauyhPCLU/t5OLVxTlBNLD0KPDtN0WF8UFWQLzSNZVGjwBg+nsdaIWwjFGuF+/O/9UytDD /MOngICLiE3RzQb/D02BFtSef8v14Xnbuw01rmNWQHGO7Fny5+LJ+COcI0NGVAk+aV2mdd ob83RP9U1AtiI+2/vrZE6SuvjbzEcfzeVZ7s05HfTDQTplYFl9NYaGRaNza51Y4RKRlXRT mq63+Lb5GXHwRkdUCKm3grlKaaUi82oNGkQOlGz73NntX3eTB9mjn80E+7guoQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726431337; a=rsa-sha256; cv=none; b=gYFV9vqPFvxYS7dpUoY5IquibDWzDNF1eseLhCD+0BboVp8DNvHy9fqDUmVSb7kysfxtdT 0Npv6njA/Zkwd2eDzqJ8/np5NLWQ7V2m54AeF8gGZFtMsAYX49/BMqgdN7FVzBQda/u2jU L4VOZp4TOX1vXJ48LixcscXUfPq+e7s3YSQ+p8r35Fg3jZsK1lbmZ17PSvnor7e/kYiZrB XzB6WsWncYq+a5DqZsv+GVDCRUOT34Fz7JvoqxHEAf04BlnPjHxcCSgMfKgOiVn3pA2BKL 7NARaAKbv3yf46ptzoSb8+d6i9fBvvDEkY5zGaEn5gWD1qIErgs4ITotEtUgLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726431337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tUpnrhAucOO+CNiSyHsjnyU2wcAAvnPfPovOnGWKtZ4=; b=gxBJwWmjYXfUY+nB0h9SwodTGhrIoPXbjKc9vubIaXAEgBoitpCG6sNK+KA0x2oOKxhUw4 E3ldOFQLpU2CU6oZtIv40cRygzHRz86peiJlA2a56/h3FsDlZQVNGPA/rkqH5r5FdAkfzI U0a9Y30IXT3Z/475ZQuBz/Si24uQh96YczoB3RGntbEWfO8VIOwOJdLHJZAQBjsqp0rh9T MJx9VPugSvTUEo/sMSahA3atufGwBfMDKuHAx4VskbaD4yWSgGeHxHAMcUyRKKENBlYqfm S9eFO/Kgqx0CTI4A0/DBy/DOLEc6tpPR5JwdythnNA6mUvsWJMujcgzkTRwF/Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X6K6d6KJ6zPcf; Sun, 15 Sep 2024 20:15:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48FKFb8r080739; Sun, 15 Sep 2024 20:15:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48FKFbuj080736; Sun, 15 Sep 2024 20:15:37 GMT (envelope-from git) Date: Sun, 15 Sep 2024 20:15:37 GMT Message-Id: <202409152015.48FKFbuj080736@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 7a47c1050b7c - main - math/py-modin: Add py-modin 0.32.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7a47c1050b7cbe7aa80ec8a41a72b7a3b15e95a1 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7a47c1050b7cbe7aa80ec8a41a72b7a3b15e95a1 commit 7a47c1050b7cbe7aa80ec8a41a72b7a3b15e95a1 Author: Po-Chuan Hsieh AuthorDate: 2024-09-15 19:08:13 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-15 20:09:34 +0000 math/py-modin: Add py-modin 0.32.0 Modin is a drop-in replacement for pandas. While pandas is single-threaded, Modin lets you instantly speed up your workflows by scaling pandas so it uses all of your cores. Modin works especially well on larger datasets, where pandas becomes painfully slow or runs out of memory. Also, Modin comes with the additional APIs to improve user experience. --- math/Makefile | 1 + math/py-modin/Makefile | 28 ++++++++++++++++++++++++++++ math/py-modin/distinfo | 3 +++ math/py-modin/files/patch-setup.py | 11 +++++++++++ math/py-modin/pkg-descr | 5 +++++ 5 files changed, 48 insertions(+) diff --git a/math/Makefile b/math/Makefile index f5ba2137fd31..244170099b5b 100644 --- a/math/Makefile +++ b/math/Makefile @@ -998,6 +998,7 @@ SUBDIR += py-ml-dtypes SUBDIR += py-mnnpy SUBDIR += py-moarchiving + SUBDIR += py-modin SUBDIR += py-mpmath SUBDIR += py-munkres SUBDIR += py-narwhals diff --git a/math/py-modin/Makefile b/math/py-modin/Makefile new file mode 100644 index 000000000000..e5db69c117c1 --- /dev/null +++ b/math/py-modin/Makefile @@ -0,0 +1,28 @@ +PORTNAME= modin +PORTVERSION= 0.32.0 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Make your pandas code run faster +WWW= https://modin.readthedocs.io/en/stable/ \ + https://github.com/modin-project/modin + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fsspec>=2022.11.0:devel/py-fsspec@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=1.22.4,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=21.0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=2,1<2.3,1:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psutil>=5.8.0:sysutils/py-psutil@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/math/py-modin/distinfo b/math/py-modin/distinfo new file mode 100644 index 000000000000..86acdcab8f3f --- /dev/null +++ b/math/py-modin/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1726080919 +SHA256 (modin-0.32.0.tar.gz) = 9f68557add5e92617d006eb98bfd93d298e7d4d9932a0cd48a5e38ee4f30a134 +SIZE (modin-0.32.0.tar.gz) = 842563 diff --git a/math/py-modin/files/patch-setup.py b/math/py-modin/files/patch-setup.py new file mode 100644 index 000000000000..967cfe5cacfb --- /dev/null +++ b/math/py-modin/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2024-09-11 12:58:49 UTC ++++ setup.py +@@ -52,7 +52,7 @@ setup( + long_description=long_description, + long_description_content_type="text/markdown", + install_requires=[ +- "pandas>=2.2,<2.3", ++ "pandas>=2,<2.3", + "packaging>=21.0", + "numpy>=1.22.4", + "fsspec>=2022.11.0", diff --git a/math/py-modin/pkg-descr b/math/py-modin/pkg-descr new file mode 100644 index 000000000000..c027fec94db0 --- /dev/null +++ b/math/py-modin/pkg-descr @@ -0,0 +1,5 @@ +Modin is a drop-in replacement for pandas. While pandas is single-threaded, +Modin lets you instantly speed up your workflows by scaling pandas so it uses +all of your cores. Modin works especially well on larger datasets, where pandas +becomes painfully slow or runs out of memory. Also, Modin comes with the +additional APIs to improve user experience.