git: ff80c1d05a0c - main - math/py-awkward: Allow build with py-awkward-cpp 26

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 21:23:46 UTC
The branch main has been updated by sunpoet:

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

commit ff80c1d05a0c8e7524c52242ecd4c7e79db96dee
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-14 21:03:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-14 21:19:30 +0000

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

diff --git a/math/py-awkward/Makefile b/math/py-awkward/Makefile
index 57081de24a98..2ab665e4f784 100644
--- a/math/py-awkward/Makefile
+++ b/math/py-awkward/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	awkward
 PORTVERSION=	2.4.10
+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>=25<25_99:math/py-awkward-cpp@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}awkward-cpp>=26<26_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..39029bd0c133
--- /dev/null
+++ b/math/py-awkward/files/patch-pyproject.toml
@@ -0,0 +1,13 @@
+Obtained from:	https://github.com/scikit-hep/awkward/commit/cac93481d17d54616dd0e8e5edb7bf69fa57adec
+
+--- pyproject.toml.orig	2023-10-26 17:44:38 UTC
++++ pyproject.toml
+@@ -40,7 +40,7 @@ classifiers = [
+     "Topic :: Utilities",
+ ]
+ dependencies = [
+-    "awkward_cpp==25",
++    "awkward_cpp==26",
+     "importlib_metadata>=4.13.0;python_version < \"3.12\"",
+     "numpy>=1.18.0",
+     "packaging",