Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2024 03:40:45 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: fc978e9c47a0 - main - math/py-awkward: Allow build with py-awkward-cpp 31
Message-ID:  <202403310340.42V3ejw9089213@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=fc978e9c47a0d4ac0ff9bf21e8440528fec4e0c0

commit fc978e9c47a0d4ac0ff9bf21e8440528fec4e0c0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-31 03:07:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-31 03:07:00 +0000

    math/py-awkward: Allow build with py-awkward-cpp 31
    
    - Bump PORTREVISION for package change
    
    Obtained from:  https://github.com/scikit-hep/awkward/commit/68b33802a419a1e140b0a185dc047b3a02faf656
---
 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 d69b4121fb93..b419272bc03d 100644
--- a/math/py-awkward/Makefile
+++ b/math/py-awkward/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	awkward
 PORTVERSION=	2.6.2
+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>=30<30_99:math/py-awkward-cpp@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}awkward-cpp>=31<31_99:math/py-awkward-cpp@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}fsspec>=2022.11.0:devel/py-fsspec@${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..8e674afd500f
--- /dev/null
+++ b/math/py-awkward/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-03-04 21:54:28 UTC
++++ pyproject.toml
+@@ -40,7 +40,7 @@ dependencies = [
+     "Topic :: Utilities",
+ ]
+ dependencies = [
+-    "awkward_cpp==30",
++    "awkward_cpp==31",
+     "importlib_metadata>=4.13.0;python_version < \"3.12\"",
+     "numpy>=1.18.0",
+     "packaging",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403310340.42V3ejw9089213>