summaryrefslogtreecommitdiff
path: root/dev-python/nanobind
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-10-03 03:05:05 -0500
committerCrucible <crucible@localhost>2026-10-03 03:05:05 -0500
commit36119ada8749c8c36efe79da1292bedd773ec7ab (patch)
treedb0945374a2e32b2ca88a0d78e9be1dbc9260efb /dev-python/nanobind
parent21285dda7f0109f39ec4234fdbb6a88025150872 (diff)
downloadsrcux-36119ada8749c8c36efe79da1292bedd773ec7ab.tar.gz
srcux-36119ada8749c8c36efe79da1292bedd773ec7ab.tar.xz
srcux-36119ada8749c8c36efe79da1292bedd773ec7ab.zip
Publish srcux candidate 0000000559-20261003-030307
Diffstat (limited to 'dev-python/nanobind')
-rw-r--r--dev-python/nanobind/files/nanobind-cstdio.patch13
-rw-r--r--dev-python/nanobind/nanobind-2.12.0.ebuild5
-rw-r--r--dev-python/nanobind/nanobind-2.15.0.ebuild5
-rw-r--r--dev-python/nanobind/nanobind-3.0.1.ebuild5
-rw-r--r--dev-python/nanobind/nanobind-3.1.0.ebuild5
5 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/nanobind/files/nanobind-cstdio.patch b/dev-python/nanobind/files/nanobind-cstdio.patch
new file mode 100644
index 000000000000..3a38ee0f10a1
--- /dev/null
+++ b/dev-python/nanobind/files/nanobind-cstdio.patch
@@ -0,0 +1,13 @@
+https://github.com/wjakob/nanobind/commit/942e75d927e3884e56d607e77c026bb4a72a4763
+
+From 942e75d927e3884e56d607e77c026bb4a72a4763 Mon Sep 17 00:00:00 2001
+From: Wenzel Jakob <wenzel.jakob@epfl.ch>
+Date: Sun, 20 Sep 2026 22:29:38 +0200
+Subject: [PATCH] Add missing ``<cstdio>`` include
+
+--- a/include/nanobind/nanobind.h
++++ b/include/nanobind/nanobind.h
+@@ -36,2 +36,3 @@
+ #include <cstdint>
++#include <cstdio>
+ #include <cstdlib>
diff --git a/dev-python/nanobind/nanobind-2.12.0.ebuild b/dev-python/nanobind/nanobind-2.12.0.ebuild
index 01ee434463e0..3111e554d012 100644
--- a/dev-python/nanobind/nanobind-2.12.0.ebuild
+++ b/dev-python/nanobind/nanobind-2.12.0.ebuild
@@ -29,6 +29,11 @@ RDEPEND="
${DEPEND}
"
+PATCHES=(
+ # https://github.com/wjakob/nanobind/commit/942e75d927e3884e56d607e77c026bb4a72a4763
+ "${FILESDIR}/${PN}-cstdio.patch"
+)
+
EPYTEST_PLUGINS=()
EPYTEST_XDIST=1
distutils_enable_tests pytest
diff --git a/dev-python/nanobind/nanobind-2.15.0.ebuild b/dev-python/nanobind/nanobind-2.15.0.ebuild
index e3ae0cc5c0d5..d75f2f2c458c 100644
--- a/dev-python/nanobind/nanobind-2.15.0.ebuild
+++ b/dev-python/nanobind/nanobind-2.15.0.ebuild
@@ -29,6 +29,11 @@ RDEPEND="
${DEPEND}
"
+PATCHES=(
+ # https://github.com/wjakob/nanobind/commit/942e75d927e3884e56d607e77c026bb4a72a4763
+ "${FILESDIR}/${PN}-cstdio.patch"
+)
+
EPYTEST_PLUGINS=()
EPYTEST_XDIST=1
distutils_enable_tests pytest
diff --git a/dev-python/nanobind/nanobind-3.0.1.ebuild b/dev-python/nanobind/nanobind-3.0.1.ebuild
index 8f67ea40de6a..ef66148146e0 100644
--- a/dev-python/nanobind/nanobind-3.0.1.ebuild
+++ b/dev-python/nanobind/nanobind-3.0.1.ebuild
@@ -29,6 +29,11 @@ RDEPEND="
${DEPEND}
"
+PATCHES=(
+ # https://github.com/wjakob/nanobind/commit/942e75d927e3884e56d607e77c026bb4a72a4763
+ "${FILESDIR}/${PN}-cstdio.patch"
+)
+
EPYTEST_PLUGINS=()
EPYTEST_XDIST=1
distutils_enable_tests pytest
diff --git a/dev-python/nanobind/nanobind-3.1.0.ebuild b/dev-python/nanobind/nanobind-3.1.0.ebuild
index 62b8073c6b06..b46039c14810 100644
--- a/dev-python/nanobind/nanobind-3.1.0.ebuild
+++ b/dev-python/nanobind/nanobind-3.1.0.ebuild
@@ -29,6 +29,11 @@ RDEPEND="
${DEPEND}
"
+PATCHES=(
+ # https://github.com/wjakob/nanobind/commit/942e75d927e3884e56d607e77c026bb4a72a4763
+ "${FILESDIR}/${PN}-cstdio.patch"
+)
+
EPYTEST_PLUGINS=()
EPYTEST_XDIST=1
distutils_enable_tests pytest