aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-06-01 16:12:41 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-06-01 16:23:24 +0000
commitecc0af7eb28e2793eec69a0a656f7d0be9088474 (patch)
tree284d785ff73255544cccd0a8bb03f55a768dabfa
parentb9cf10c0c9cf9dd949e645c5c478ef0d667afc2d (diff)
devel/py-optree: Update to 0.16.0
-rw-r--r--devel/py-optree/Makefile4
-rw-r--r--devel/py-optree/distinfo6
-rw-r--r--devel/py-optree/files/patch-pyproject.toml20
3 files changed, 25 insertions, 5 deletions
diff --git a/devel/py-optree/Makefile b/devel/py-optree/Makefile
index ecb329492d8a..28d58f3ab91f 100644
--- a/devel/py-optree/Makefile
+++ b/devel/py-optree/Makefile
@@ -1,5 +1,5 @@
PORTNAME= optree
-PORTVERSION= 0.15.0
+PORTVERSION= 0.16.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>=2.12:devel/py-pybind11@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.0:devel/py-typing-extensions@${PY_FLAVOR}
USES= cmake:indirect compiler:c++20-lang python
USE_PYTHON= autoplist concurrent pep517
diff --git a/devel/py-optree/distinfo b/devel/py-optree/distinfo
index 2cb505f7912e..a329d63e8ac6 100644
--- a/devel/py-optree/distinfo
+++ b/devel/py-optree/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1744288932
-SHA256 (optree-0.15.0.tar.gz) = d00a45e3b192093ef2cd32bf0d541ecbfc93c1bd73a5f3fe36293499f28a50cf
-SIZE (optree-0.15.0.tar.gz) = 171403
+TIMESTAMP = 1748495779
+SHA256 (optree-0.16.0.tar.gz) = 3b3432754b0753f5166a0899c693e99fe00e02c48f90b511c0604aa6e4b4a59e
+SIZE (optree-0.16.0.tar.gz) = 161599
diff --git a/devel/py-optree/files/patch-pyproject.toml b/devel/py-optree/files/patch-pyproject.toml
new file mode 100644
index 000000000000..2f173c18f26b
--- /dev/null
+++ b/devel/py-optree/files/patch-pyproject.toml
@@ -0,0 +1,20 @@
+--- pyproject.toml.orig 2025-05-28 07:15:37 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@
+ # Package ######################################################################
+
+ [build-system]
+-requires = ["setuptools >= 77.0", "pybind11 >= 2.12"]
++requires = ["setuptools", "pybind11 >= 2.12"]
+ build-backend = "setuptools.build_meta"
+
+ [project]
+@@ -10,7 +10,7 @@ authors = [{ name = "OpTree Contributors" }]
+ readme = "README.md"
+ requires-python = ">= 3.9"
+ authors = [{ name = "OpTree Contributors" }]
+-license = "Apache-2.0"
++license = { text = "Apache-2.0" }
+ keywords = [
+ "PyTree",
+ "Tree Manipulation",