git: 801d04a24030 - main - math/py-awkward: Allow build with py-awkward-cpp 25

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 01 Nov 2023 02:16:46 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=801d04a24030bfa5f2a202453d822cfe88387705

commit 801d04a24030bfa5f2a202453d822cfe88387705
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-01 01:49:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-01 02:08:27 +0000

    math/py-awkward: Allow build with py-awkward-cpp 25
    
    - Bump PORTREVISION for package change
    
    Obtained from:  https://github.com/scikit-hep/awkward/commit/2bb023810ae2e2adfa20b6690006de883b7dbf7a
---
 math/py-awkward/Makefile                   |  3 ++-
 math/py-awkward/files/patch-pyproject.toml | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/math/py-awkward/Makefile b/math/py-awkward/Makefile
index b6e4d8293b16..4b7ce9b399f5 100644
--- a/math/py-awkward/Makefile
+++ b/math/py-awkward/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	awkward
 PORTVERSION=	2.4.6
+PORTREVISION=	1
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}hatchling>=1.10.0:devel/py-hatchling@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}awkward-cpp>=24<24_99:math/py-awkward-cpp@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}awkward-cpp>=25<25_99:math/py-awkward-cpp@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}numpy>=1.18.0,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
 
diff --git a/math/py-awkward/files/patch-pyproject.toml b/math/py-awkward/files/patch-pyproject.toml
new file mode 100644
index 000000000000..cf3129461192
--- /dev/null
+++ b/math/py-awkward/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2023-09-28 16:44:16 UTC
++++ pyproject.toml
+@@ -40,7 +40,7 @@ classifiers = [
+     "Topic :: Utilities",
+ ]
+ dependencies = [
+-    "awkward_cpp==24",
++    "awkward_cpp==25",
+     "importlib_metadata>=4.13.0;python_version < \"3.12\"",
+     "numpy>=1.18.0",
+     "packaging",