diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-17 22:06:55 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-17 22:06:55 +0000 |
| commit | 9975fab92df0a33f9350e366d99da941448a8cd3 (patch) | |
| tree | afc356f0b20ca724a67f702bd46a30c9368ceee1 /dev-python/pybind11 | |
| parent | 15db2eae1898fcc096a21bc5cd1e750439070b75 (diff) | |
| download | baldeagleos-repo-9975fab92df0a33f9350e366d99da941448a8cd3.tar.gz baldeagleos-repo-9975fab92df0a33f9350e366d99da941448a8cd3.tar.xz baldeagleos-repo-9975fab92df0a33f9350e366d99da941448a8cd3.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pybind11')
| -rw-r--r-- | dev-python/pybind11/Manifest | 3 | ||||
| -rw-r--r-- | dev-python/pybind11/files/pybind11-2.13.6-pypy311.patch | 31 | ||||
| -rw-r--r-- | dev-python/pybind11/pybind11-2.13.6.ebuild | 83 | ||||
| -rw-r--r-- | dev-python/pybind11/pybind11-3.0.2.ebuild (renamed from dev-python/pybind11/pybind11-3.0.0-r1.ebuild) | 4 |
4 files changed, 3 insertions, 118 deletions
diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest index 557e30befa84..2a044365f396 100644 --- a/dev-python/pybind11/Manifest +++ b/dev-python/pybind11/Manifest @@ -1,3 +1,2 @@ -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 +DIST pybind11-3.0.2.gh.tar.gz 953272 BLAKE2B 62d1e5cc948556d5eb161b0059c1c4cada61178554af36c2c07e613399b92c24cbff19f5128abe4ba922de79c36ab349efd4af3d4d7d354270b811039e2c0576 SHA512 19bee2c76320e25202ee078b5680ff8a7acfb33494dec29dad984ab04de8bcb01340d9fec37c8cc5ac9015dfc367e60312dcd8506e66ce8f0af4c49db562ddef diff --git a/dev-python/pybind11/files/pybind11-2.13.6-pypy311.patch b/dev-python/pybind11/files/pybind11-2.13.6-pypy311.patch deleted file mode 100644 index debc7b7c55e2..000000000000 --- a/dev-python/pybind11/files/pybind11-2.13.6-pypy311.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/include/pybind11/attr.h b/include/pybind11/attr.h -index 1044db94..89d418cc 100644 ---- a/include/pybind11/attr.h -+++ b/include/pybind11/attr.h -@@ -351,7 +351,8 @@ struct type_record { - - bases.append((PyObject *) base_info->type); - --#if PY_VERSION_HEX < 0x030B0000 -+// Keep in sync with enable_dynamic_attributes() in detail/class.h -+#if PY_VERSION_HEX < 0x030B0000 || defined(PYPY_VERSION) - dynamic_attr |= base_info->type->tp_dictoffset != 0; - #else - dynamic_attr |= (base_info->type->tp_flags & Py_TPFLAGS_MANAGED_DICT) != 0; -diff --git a/include/pybind11/detail/class.h b/include/pybind11/detail/class.h -index b990507d..e97d48b2 100644 ---- a/include/pybind11/detail/class.h -+++ b/include/pybind11/detail/class.h -@@ -560,9 +560,9 @@ extern "C" inline int pybind11_clear(PyObject *self) { - inline void enable_dynamic_attributes(PyHeapTypeObject *heap_type) { - auto *type = &heap_type->ht_type; - type->tp_flags |= Py_TPFLAGS_HAVE_GC; --#if PY_VERSION_HEX < 0x030B0000 -- type->tp_dictoffset = type->tp_basicsize; // place dict at the end -- type->tp_basicsize += (ssize_t) sizeof(PyObject *); // and allocate enough space for it -+#if PY_VERSION_HEX < 0x030B0000 || defined(PYPY_VERSION) // For PyPy see PR #5508 -+ type->tp_dictoffset = type->tp_basicsize; // place dict at the end -+ type->tp_basicsize += (ssize_t) sizeof(PyObject *); // and allocate enough space for it - #else - type->tp_flags |= Py_TPFLAGS_MANAGED_DICT; - #endif diff --git a/dev-python/pybind11/pybind11-2.13.6.ebuild b/dev-python/pybind11/pybind11-2.13.6.ebuild deleted file mode 100644 index 56b53ed8b136..000000000000 --- a/dev-python/pybind11/pybind11-2.13.6.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit cmake distutils-r1 - -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 - -> ${P}.gh.tar.gz -" - -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/pytest-rerunfailures[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - local PATCHES=( - # https://github.com/pybind/pybind11/pull/5508 - # https://github.com/pybind/pybind11/pull/5537 - "${FILESDIR}/${P}-pypy311.patch" - ) - - cmake_src_prepare - - PATCHES=() - distutils-r1_python_prepare_all -} - -python_configure() { - local mycmakeargs=( - # disable forced lto - -DHAS_FLTO=OFF - # https://github.com/pybind/pybind11/issues/5087 - -DPYBIND11_FINDPYTHON=OFF - -DPYBIND11_INSTALL=ON - -DPYBIND11_TEST=$(usex test) - ) - 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 - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - cd "${BUILD_DIR}/tests" || die - epytest -p rerunfailures --reruns=5 "${S}/tests" -} - -python_install() { - distutils-r1_python_install - cmake_src_install -} diff --git a/dev-python/pybind11/pybind11-3.0.0-r1.ebuild b/dev-python/pybind11/pybind11-3.0.2.ebuild index efbb4b717d25..edd49be16e6b 100644 --- a/dev-python/pybind11/pybind11-3.0.0-r1.ebuild +++ b/dev-python/pybind11/pybind11-3.0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ 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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" RDEPEND=" dev-cpp/eigen:3 |
