math/py-pandas: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2024-11-06 09:45:11 +01:00
parent 90bc02e389
commit 43c4841c84
3 changed files with 29 additions and 16 deletions

View file

@ -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
@ -8,16 +7,19 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Flexible, high-performance data analysis in Python
WWW= https://pandas.pydata.org/
WWW= https://pandas.pydata.org/ \
https://pandas.pydata.org/docs/ \
https://github.com/pandas-dev/pandas
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} \
@ -25,8 +27,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.23.2,1:math/py-numpy@${PY_FLAVOR} \
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=0:devel/py-arrow@${PY_FLAVOR}
USES= cpe python
USE_PYTHON= autoplist concurrent cython pep517
CPE_VENDOR= numfocus
USE_PYTHON= autoplist cython pep517
OPTIONS_DEFINE= MPL SCIPY
OPTIONS_GROUP= ACCEL STORAGE HTML EXCEL

View file

@ -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

View file

@ -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"