From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pybind11/
Date: Sat, 23 Aug 2025 05:40:32 +0000 (UTC) [thread overview]
Message-ID: <1755927628.803376c2d4db40af240d201768c83b0da03debd3.mgorny@gentoo> (raw)
commit: 803376c2d4db40af240d201768c83b0da03debd3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 23 05:37:14 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 23 05:40:28 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=803376c2
dev-python/pybind11: Bump to 3.0.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pybind11/Manifest | 1 +
dev-python/pybind11/pybind11-3.0.1.ebuild | 86 +++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest
index 1a010103d1c6..557e30befa84 100644
--- a/dev-python/pybind11/Manifest
+++ b/dev-python/pybind11/Manifest
@@ -1,2 +1,3 @@
DIST pybind11-2.13.6.gh.tar.gz 800804 BLAKE2B 1f2efa05727ebbcd8e439b83bacfebb21d26a6f8f719e0a627633abdcae59837936e37e6441196e097e0075c9f922048d4e88146bb627d97ada28c48165bddb7 SHA512 497c25b33b09a9c42f67131ab82e35d689e8ce089dd7639be997305ff9a6d502447b79c824508c455d559e61f0186335b54dd2771d903a7c1621833930622d1a
DIST pybind11-3.0.0.gh.tar.gz 915234 BLAKE2B dfacb629b8d1cf5adeb30b305ca68f5db465fbec7a7da9b42485032279ac49721adbb248ce14c7acfdafecbd192e2542cccb08a61d8b3ee3884bbff9fc977a49 SHA512 a68a5eb3253db771308ed0922852207e6dc9a3089ad055ba3ccd36690f68b93cad98cc1a3ab822eb653153af2eeef10e6f6272b93314b2da1119e17f6c63337b
+DIST pybind11-3.0.1.gh.tar.gz 918227 BLAKE2B 90700c919872cd697a59951ef86da0bd0487fe01cd3f3e1b54f2b0b6380a356271635796ea2289340377ecb6ec571ac921ad5dae0e4c82f579f7d8acefba72e5 SHA512 c17e6d6a78c38e760864b390ac2aa7df6a94ca53acb2e8be71f0d63d611b738fa20a16946c98a93fbfcad56cb0346ebf247bbe41c6f5171c6ce68397b1e5c4db
diff --git a/dev-python/pybind11/pybind11-3.0.1.ebuild b/dev-python/pybind11/pybind11-3.0.1.ebuild
new file mode 100644
index 000000000000..ae94d49adb5a
--- /dev/null
+++ b/dev-python/pybind11/pybind11-3.0.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=scikit-build-core
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+inherit cmake distutils-r1
+
+MY_P=${P/_}
+DESCRIPTION="AST-based Python refactoring library"
+HOMEPAGE="
+ https://pybind11.readthedocs.io/en/stable/
+ https://github.com/pybind/pybind11/
+ https://pypi.org/project/pybind11/
+"
+SRC_URI="
+ https://github.com/pybind/pybind11/archive/v${PV/_}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+
+RDEPEND="
+ dev-cpp/eigen:3
+"
+BDEPEND="
+ test? (
+ <dev-cpp/catch-3:0
+ >=dev-cpp/catch-2.13.9:0
+ dev-libs/boost
+ dev-python/tomlkit[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+EPYTEST_RERUNS=5
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_prepare() {
+ cmake_src_prepare
+ distutils-r1_src_prepare
+}
+
+python_configure() {
+ DISTUTILS_ARGS=(
+ # disable forced lto
+ -DHAS_FLTO=OFF
+ # https://github.com/pybind/pybind11/issues/5087
+ -DPYBIND11_FINDPYTHON=OFF
+ -DPYBIND11_INSTALL=ON
+ -DPYBIND11_TEST=OFF
+ )
+
+ local mycmakeargs=(
+ "${DISTUTILS_ARGS[@]}"
+ -DPYBIND11_TEST=$(usex test)
+
+ # fix missing prefix, https://bugs.gentoo.org/961861
+ -Dprefix_for_pc_file="${EPREFIX}"/usr
+ )
+ cmake_src_configure
+}
+
+python_compile() {
+ distutils-r1_python_compile
+ # Compilation only does anything for tests
+ use test && cmake_src_compile
+}
+
+python_test() {
+ cmake_build cpptest test_cmake_build
+
+ cd "${BUILD_DIR}/tests" || die
+ epytest "${S}/tests"
+}
+
+python_install() {
+ distutils-r1_python_install
+ cmake_src_install
+}
next reply other threads:[~2025-08-23 5:40 UTC|newest]
Thread overview: 179+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-23 5:40 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-21 20:26 [gentoo-commits] repo/gentoo:master commit in: dev-python/pybind11/ Sam James
2025-10-21 20:20 Sam James
2025-10-09 4:26 Sam James
2025-08-23 5:40 Michał Górny
2025-08-22 18:40 Michał Górny
2025-08-09 16:49 Michał Górny
2025-08-09 16:49 Michał Górny
2025-08-02 19:12 Michał Górny
2025-08-02 16:30 Sam James
2025-08-02 12:02 Arthur Zamarin
2025-07-17 9:12 Sam James
2025-07-11 4:03 Michał Górny
2025-06-20 5:02 Michał Górny
2025-06-20 5:02 Michał Górny
2025-06-06 5:49 Michał Górny
2025-05-30 8:44 Sam James
2025-05-30 2:05 Michał Górny
2025-05-22 15:27 Michał Górny
2024-11-14 4:39 Michał Górny
2024-11-13 20:43 Sam James
2024-10-19 15:25 Michał Górny
2024-10-19 15:25 Michał Górny
2024-10-19 15:25 Michał Górny
2024-10-19 15:25 Michał Górny
2024-10-19 15:25 Michał Górny
2024-10-19 15:25 Michał Górny
2024-10-19 15:25 Michał Górny
2024-09-28 10:33 Michał Górny
2024-09-24 15:09 Arthur Zamarin
2024-09-14 6:03 Michał Górny
2024-08-23 16:44 Michał Górny
2024-08-16 16:21 Michał Górny
2024-08-14 6:05 Michał Górny
2024-06-27 19:09 Michał Górny
2024-06-27 2:53 Michał Górny
2024-05-28 22:28 Ionen Wolkens
2024-05-28 22:28 Ionen Wolkens
2024-05-28 22:28 Ionen Wolkens
2024-05-28 22:28 Ionen Wolkens
2024-05-28 22:28 Ionen Wolkens
2024-05-28 22:28 Ionen Wolkens
2024-05-28 22:28 Ionen Wolkens
2024-05-28 4:27 Michał Górny
2024-04-03 17:44 Michał Górny
2024-03-28 10:56 Michał Górny
2024-03-28 5:55 Michał Górny
2023-08-20 18:07 Arthur Zamarin
2023-08-20 18:02 Arthur Zamarin
2023-08-20 5:43 Sam James
2023-08-19 18:56 Arthur Zamarin
2023-08-19 18:07 Arthur Zamarin
2023-08-19 17:53 Arthur Zamarin
2023-08-19 17:53 Arthur Zamarin
2023-08-19 17:53 Arthur Zamarin
2023-07-18 6:03 Michał Górny
2023-05-05 14:07 Michał Górny
2023-05-05 10:41 Arthur Zamarin
2023-04-23 21:36 Sam James
2023-04-22 11:52 Sam James
2023-04-22 11:39 Sam James
2023-04-22 10:34 Arthur Zamarin
2023-04-22 10:34 Arthur Zamarin
2023-04-22 9:25 Arthur Zamarin
2023-04-22 9:05 Arthur Zamarin
2023-03-03 19:16 Michał Górny
2023-03-03 17:57 Arthur Zamarin
2023-03-03 17:57 Arthur Zamarin
2023-03-03 17:48 Arthur Zamarin
2023-02-19 19:46 Michał Górny
2023-02-08 20:17 Andreas Sturmlechner
2023-02-03 13:34 Sam James
2023-02-03 13:10 Arthur Zamarin
2023-02-03 13:02 Arthur Zamarin
2023-02-03 12:33 Sam James
2023-02-03 12:09 Arthur Zamarin
2023-01-14 10:00 Arthur Zamarin
2023-01-13 18:26 Arthur Zamarin
2023-01-13 18:26 Arthur Zamarin
2023-01-04 14:15 Michał Górny
2022-12-21 7:51 Michał Górny
2022-12-21 7:51 Michał Górny
2022-12-02 6:32 Arthur Zamarin
2022-11-01 5:19 Michał Górny
2022-08-18 7:01 Agostino Sarubbo
2022-08-17 21:13 Sam James
2022-08-17 19:10 Arthur Zamarin
2022-08-17 19:08 Arthur Zamarin
2022-08-17 19:08 Arthur Zamarin
2022-08-17 18:47 Sam James
2022-07-16 8:02 Michał Górny
2022-06-17 4:54 Michał Górny
2022-06-16 23:05 Jakov Smolić
2022-06-16 10:39 Jakov Smolić
2022-06-16 9:50 Jakov Smolić
2022-06-16 9:50 Jakov Smolić
2022-06-16 9:37 Jakov Smolić
2022-06-16 9:37 Jakov Smolić
2022-05-16 16:05 Michał Górny
2022-05-05 5:29 Arthur Zamarin
2022-05-05 5:29 Arthur Zamarin
2022-05-04 14:40 Sam James
2022-05-04 14:40 Sam James
2022-05-01 12:20 Jakov Smolić
2022-04-18 18:22 Arthur Zamarin
2022-04-16 8:22 Arthur Zamarin
2022-04-10 2:35 Matt Turner
2022-04-09 19:40 Arthur Zamarin
2022-04-09 19:27 Arthur Zamarin
2022-04-09 19:26 Arthur Zamarin
2022-04-01 6:40 Yixun Lan
2022-03-31 11:33 Michał Górny
2022-03-26 18:14 Arthur Zamarin
2022-03-26 17:52 Arthur Zamarin
2022-03-21 9:18 Jakov Smolić
2022-03-21 7:50 Agostino Sarubbo
2022-03-21 7:47 Agostino Sarubbo
2022-03-20 18:34 Sam James
2022-03-20 18:34 Sam James
2022-02-02 6:45 Michał Górny
2022-02-02 0:08 Sam James
2022-01-30 22:29 Sam James
2022-01-30 8:03 Agostino Sarubbo
2022-01-29 10:04 Jakov Smolić
2022-01-29 10:04 Jakov Smolić
2022-01-29 7:19 Arthur Zamarin
2021-12-29 8:30 Michał Górny
2021-11-14 3:23 Sam James
2021-11-06 19:59 Arthur Zamarin
2021-11-06 19:56 Sam James
2021-11-05 18:02 Sam James
2021-11-05 18:02 Sam James
2021-11-05 17:38 Sam James
2021-11-05 17:38 Sam James
2021-11-05 2:18 Sam James
2021-11-05 2:16 Sam James
2021-11-05 2:12 Sam James
2021-10-27 22:44 Patrick McLean
2021-10-24 21:14 Sam James
2021-10-05 8:27 Michał Górny
2021-10-02 23:17 Sam James
2021-08-26 15:31 Michał Górny
2021-08-26 4:41 Agostino Sarubbo
2021-08-26 3:00 Sam James
2021-08-26 3:00 Sam James
2021-08-05 7:29 Michał Górny
2021-08-04 6:13 Michał Górny
2021-07-17 7:03 Michał Górny
2021-07-02 10:12 Marek Szuba
2021-06-08 7:41 Sam James
2021-05-17 14:50 Marek Szuba
2021-03-25 18:15 Agostino Sarubbo
2021-03-25 16:19 Agostino Sarubbo
2021-03-25 14:23 Sam James
2021-03-25 14:23 Sam James
2021-02-25 13:24 Michał Górny
2021-02-25 11:19 Sam James
2021-02-19 8:50 Michał Górny
2021-02-19 8:50 Michał Górny
2021-02-19 4:16 Sam James
2021-02-19 4:14 Sam James
2021-01-27 8:55 Michał Górny
2020-12-17 3:58 Sam James
2020-11-26 23:04 Sergei Trofimovich
2020-11-25 23:09 Thomas Deutschmann
2020-11-12 9:16 Michał Górny
2020-10-21 18:53 Michał Górny
2020-09-13 8:44 Sergei Trofimovich
2020-08-11 11:00 Agostino Sarubbo
2020-06-05 13:13 Michał Górny
2020-06-05 13:13 Michał Górny
2020-06-05 13:13 Michał Górny
2020-06-05 13:13 Michał Górny
2020-06-03 19:20 Rick Farina
2020-06-01 20:45 Rick Farina
2020-05-10 15:26 Mikle Kolyada
2020-05-10 15:26 Mikle Kolyada
2020-03-07 15:11 Michał Górny
2019-12-26 2:42 Jason Zaman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1755927628.803376c2d4db40af240d201768c83b0da03debd3.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox