Date: Wed, 24 Jul 2024 11:48:43 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: 1aa952c22c5f - main - databases/py-pyarrow: Update to 17.0.0 Message-ID: <202407241148.46OBmhvR095758@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=1aa952c22c5fcfc4ab8eb0581b068c47aff72fbf commit 1aa952c22c5fcfc4ab8eb0581b068c47aff72fbf Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-07-24 11:44:30 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-07-24 11:44:30 +0000 databases/py-pyarrow: Update to 17.0.0 - Convert to USES=cmake:indirect Changes: https://arrow.apache.org/release/ --- databases/py-pyarrow/Makefile | 13 +++++++------ databases/py-pyarrow/distinfo | 6 +++--- databases/py-pyarrow/files/patch-pyproject.toml | 20 +++++++++----------- databases/py-pyarrow/files/patch-setup.py | 11 ----------- 4 files changed, 19 insertions(+), 31 deletions(-) diff --git a/databases/py-pyarrow/Makefile b/databases/py-pyarrow/Makefile index 554b0734500d..8f253a3b1717 100644 --- a/databases/py-pyarrow/Makefile +++ b/databases/py-pyarrow/Makefile @@ -1,5 +1,5 @@ PORTNAME= pyarrow -PORTVERSION= 15.0.2 +PORTVERSION= 17.0.0 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,17 +12,18 @@ WWW= https://arrow.apache.org/ \ LICENSE= APACHE20 BUILD_DEPENDS= arrow>=${PORTVERSION}<${PORTVERSION}_99:databases/arrow \ - cmake:devel/cmake-core \ - ${PYTHON_PKGNAMEPREFIX}numpy>=0.14,1:math/py-numpy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools>=40.1.0:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=1.25,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libarrow.so:databases/arrow RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16.6,1<2,1:math/py-numpy@${PY_FLAVOR} -USES= python +USES= cmake:indirect python shebangfix USE_PYTHON= autoplist concurrent cython pep517 +SHEBANG_FILES= cmake_modules/aws_sdk_cpp_generate_variables.sh + post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + diff --git a/databases/py-pyarrow/distinfo b/databases/py-pyarrow/distinfo index 5d0227c493ba..629a3e810df3 100644 --- a/databases/py-pyarrow/distinfo +++ b/databases/py-pyarrow/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1711222294 -SHA256 (pyarrow-15.0.2.tar.gz) = 9c9bc803cb3b7bfacc1e96ffbfd923601065d9d3f911179d81e72d99fd74a3d9 -SIZE (pyarrow-15.0.2.tar.gz) = 1064226 +TIMESTAMP = 1721710236 +SHA256 (pyarrow-17.0.0.tar.gz) = 4beca9521ed2c0921c1023e68d097d0299b62c362639ea315572a58f3f50fd28 +SIZE (pyarrow-17.0.0.tar.gz) = 1112479 diff --git a/databases/py-pyarrow/files/patch-pyproject.toml b/databases/py-pyarrow/files/patch-pyproject.toml index 8f3006b047e2..2fd201c04f25 100644 --- a/databases/py-pyarrow/files/patch-pyproject.toml +++ b/databases/py-pyarrow/files/patch-pyproject.toml @@ -1,13 +1,11 @@ ---- pyproject.toml.orig 2024-03-13 13:39:08 UTC +--- pyproject.toml.orig 2024-07-11 08:59:52 UTC +++ pyproject.toml -@@ -18,8 +18,8 @@ requires = [ - [build-system] - requires = [ - "cython >= 0.29.31", -- "oldest-supported-numpy>=0.14", -- "setuptools_scm < 8.0.0", -+ "numpy>=0.14", -+ "setuptools_scm", - "setuptools >= 40.1.0", - "wheel" +@@ -27,7 +27,7 @@ requires = [ + # configuring setuptools_scm in pyproject.toml requires + # versions released after 2022 + "setuptools_scm[toml]>=8", +- "setuptools>=64", ++ "setuptools>=61", ] + build-backend = "setuptools.build_meta" + diff --git a/databases/py-pyarrow/files/patch-setup.py b/databases/py-pyarrow/files/patch-setup.py deleted file mode 100644 index 4fbe0ee5b7c6..000000000000 --- a/databases/py-pyarrow/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2024-03-24 09:40:30 UTC -+++ setup.py -@@ -492,7 +492,7 @@ setup( - 'pyarrow/_generated_version.py'), - 'version_scheme': guess_next_dev_version - }, -- setup_requires=['setuptools_scm < 8.0.0', 'cython >= 0.29.31'] + setup_requires, -+ setup_requires=['setuptools_scm', 'cython >= 0.29.31'] + setup_requires, - install_requires=install_requires, - tests_require=['pytest', 'pandas', 'hypothesis'], - python_requires='>=3.8',
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407241148.46OBmhvR095758>