git: be39ad8f0d3b - main - math/py-awkward-cpp: Update to 23
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Sep 2023 20:46:57 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=be39ad8f0d3b80d20c0c67fde60a8398be875461
commit be39ad8f0d3b80d20c0c67fde60a8398be875461
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-05 20:41:32 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-05 20:46:30 +0000
math/py-awkward-cpp: Update to 23
Changes: https://github.com/scikit-hep/awkward/commits/main/awkward-cpp
---
math/py-awkward-cpp/Makefile | 10 ++++++++--
math/py-awkward-cpp/distinfo | 6 +++---
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/math/py-awkward-cpp/Makefile b/math/py-awkward-cpp/Makefile
index cc706b5b0260..083490174e94 100644
--- a/math/py-awkward-cpp/Makefile
+++ b/math/py-awkward-cpp/Makefile
@@ -1,5 +1,5 @@
PORTNAME= awkward-cpp
-PORTVERSION= 22
+PORTVERSION= 23
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -24,6 +24,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.18.0,1:math/py-numpy@${PY_FLAVOR}
USES= compiler:c++11-lang localbase python
USE_PYTHON= autoplist concurrent pep517
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30900
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR}
+.endif
+
post-patch:
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/rapidjson/
@@ -31,4 +37,4 @@ post-patch:
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/py-awkward-cpp/distinfo b/math/py-awkward-cpp/distinfo
index e2d562492635..44a573ed3a91 100644
--- a/math/py-awkward-cpp/distinfo
+++ b/math/py-awkward-cpp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692211797
-SHA256 (awkward-cpp-22.tar.gz) = 21679636fb21cfe3715f88a32326a579199384db2da4a62995c310502d7fe85f
-SIZE (awkward-cpp-22.tar.gz) = 1420660
+TIMESTAMP = 1693898514
+SHA256 (awkward-cpp-23.tar.gz) = 73e460f3e08c22fb8369eb8c13a111c9f32a79a2cc7d01e49675dd5d089236de
+SIZE (awkward-cpp-23.tar.gz) = 1420639