git: 8dc9dd534b78 - main - math/py-pandas: Update to 2.1.4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Oct 2024 14:42:39 UTC
The branch main has been updated by sunpoet:

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

commit 8dc9dd534b7878fa8b40a8b8620aaf4c61601031
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-29 14:21:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-29 14:38:52 +0000

    math/py-pandas: Update to 2.1.4
    
    Changes:        https://github.com/pandas-dev/pandas/releases
---
 math/py-pandas/Makefile                   | 10 +++++-----
 math/py-pandas/distinfo                   |  6 +++---
 math/py-pandas/files/patch-pyproject.toml | 22 ++++++++++++++++------
 3 files changed, 24 insertions(+), 14 deletions(-)

diff --git a/math/py-pandas/Makefile b/math/py-pandas/Makefile
index ac0b9ccebe44..de68be209acb 100644
--- a/math/py-pandas/Makefile
+++ b/math/py-pandas/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pandas
-PORTVERSION=	2.0.3
-PORTREVISION=	2
+PORTVERSION=	2.1.4
 PORTEPOCH=	1
 CATEGORIES=	math devel python
 MASTER_SITES=	PYPI
@@ -13,11 +12,12 @@ WWW=		https://pandas.pydata.org/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.23.2,1:math/py-numpy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	meson>=1.2.1:devel/meson@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}meson-python>=0.13.1:devel/meson-python@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=1.26.0,1<2,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}versioneer>=0:devel/py-versioneer@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.23.2,1:math/py-numpy@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.26.0,1<2,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>=2020.1,1:devel/py-pytz@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
diff --git a/math/py-pandas/distinfo b/math/py-pandas/distinfo
index f3d6237f9348..70544f79b43f 100644
--- a/math/py-pandas/distinfo
+++ b/math/py-pandas/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688167284
-SHA256 (pandas-2.0.3.tar.gz) = c02f372a88e0d17f36d3093a644c73cfc1788e876a7c4bcb4020a77512e2043c
-SIZE (pandas-2.0.3.tar.gz) = 5284455
+TIMESTAMP = 1729994428
+SHA256 (pandas-2.1.4.tar.gz) = fcb68203c833cc735321512e13861358079a96c174a61f5116a1de89c58c0ef7
+SIZE (pandas-2.1.4.tar.gz) = 4274800
diff --git a/math/py-pandas/files/patch-pyproject.toml b/math/py-pandas/files/patch-pyproject.toml
index 504038c6a553..34837163ce5a 100644
--- a/math/py-pandas/files/patch-pyproject.toml
+++ b/math/py-pandas/files/patch-pyproject.toml
@@ -1,11 +1,21 @@
---- pyproject.toml.orig	2023-04-24 00:14:41 UTC
+--- pyproject.toml.orig	1970-01-01 00:00:00 UTC
 +++ pyproject.toml
-@@ -5,7 +5,7 @@ requires = [
-     "setuptools>=61.0.0",
+@@ -2,15 +2,14 @@ requires = [
+ # Minimum requirements for the build system to execute.
+ # See https://github.com/scipy/scipy/pull/12940 for the AIX issue.
+ requires = [
+-    "meson-python==0.13.1",
+-    "meson==1.2.1",
++    "meson-python>=0.13.1",
++    "meson>=1.2.1",
      "wheel",
      "Cython>=0.29.33,<3",  # Note: sync with setup.py, environment.yml and asv.conf.json
--    "oldest-supported-numpy>=2022.8.16",
-+    "numpy>=1.23.2",
+     # Note: numpy 1.25 has a backwards compatible C API by default
+     # we don't want to force users to compile with 1.25 though
+     # (Ideally, in the future, though, oldest-supported-numpy can be dropped when our min numpy is 1.25.x)
+-    "oldest-supported-numpy>=2022.8.16; python_version<'3.12'",
+-    "numpy>=1.26.0,<2; python_version>='3.12'",
++    "numpy>=1.26.0,<2",
      "versioneer[toml]"
  ]
- # build-backend = "setuptools.build_meta"
+