summaryrefslogtreecommitdiff
path: root/dev-python/pybind11
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-21 03:42:55 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-21 03:42:55 +0100
commit855f2ab2714a36dd2d3b757890b2449d3e9155f2 (patch)
tree21996677d9df011c406a514a9487ee25e7a5fe48 /dev-python/pybind11
parent90a3be9d71a22834f9bc82c072f1b993f9a10e31 (diff)
gentoo auto-resync : 21:08:2023 - 03:42:55
Diffstat (limited to 'dev-python/pybind11')
-rw-r--r--dev-python/pybind11/Manifest3
-rw-r--r--dev-python/pybind11/files/pybind11-2.10.4_macOS-GCC.patch22
-rw-r--r--dev-python/pybind11/pybind11-2.10.4.ebuild69
3 files changed, 0 insertions, 94 deletions
diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest
index 530968adc504..0775169f5a41 100644
--- a/dev-python/pybind11/Manifest
+++ b/dev-python/pybind11/Manifest
@@ -1,6 +1,3 @@
-AUX pybind11-2.10.4_macOS-GCC.patch 867 BLAKE2B e74c330552e5c1c842d557a37cc6de7ae460d80baf933dc486745b492ae0faba532c6ce12a907c317e8ec15608b59f7441d66757522a5acb1b575f1d13bc515f SHA512 05ef16cfa228c1ea7ca28d432ad5e1680990e9bfd2095c88d0aad3b3a27b158a45f9b18517171310f56bd5076306d49d0221310c6b9d6914648f76b20a3e4fe4
-DIST pybind11-2.10.4.gh.tar.gz 740622 BLAKE2B 7b2d86e8262581b2cc6dd720b83336206e242ef8ca99b257b01a11141ed8b127d7f35d7d573bc763dd36f2fe8c8ac91766089deb63a76e9c10029c34eec2d6d3 SHA512 7970defbb6d057a44468ed707c80bfa6ef8c9578528fbc084b03aeea20a52dbd681581f82d55ff90af11ee89693379bd79e2ab6603239ba05b0aa8da29dd93c7
DIST pybind11-2.11.1.gh.tar.gz 756445 BLAKE2B 66ad933ffcd7fd475121f0b7488e13b914cb090d0ed511b96070e2849dcc537fb55e865b72fe06da6c5d1e3ed8e438799c5b0b60cbdc71e5713530174bff3be9 SHA512 ed1512ff0bca3bc0a45edc2eb8c77f8286ab9389f6ff1d5cb309be24bc608abbe0df6a7f5cb18c8f80a3bfa509058547c13551c3cd6a759af708fd0cdcdd9e95
-EBUILD pybind11-2.10.4.ebuild 1363 BLAKE2B 3eb66771750d56d7acee9208fd6dac13d95a83dbe81dd3a5e59f23d4323d1dee7eace4cb8925607843533a34aecf42fe0a6eae2c827879348265fece46fefee0 SHA512 9260291f7e30f4d0360bff665b29f76f5f99707e2ebdacd8f71a5c83007b5f18237fedb169bb0d13a8d22930be8fbda5d4ee3f6e961fc17d9f0d5ac916687774
EBUILD pybind11-2.11.1.ebuild 1305 BLAKE2B 60bdb063e9efb295ac3d49497b199cd9b9dedd23e3891ec9c96c6e2867e89c1cee9c16f3a34a4772813a850c74484fefd9c2dd53a072a84025b894546a0b237c SHA512 524695d724d859ea333de8975c392792c4ed685212204ecf72020af767d1cff6fdc307ecbd8e433af3627a76b2c7a5a41e83b13e313041fdd474df73880fb19c
MISC metadata.xml 475 BLAKE2B faf317a1197850acb0d16546a303bd50ee1bfe6fc3aaf592e6c147c6612fd20b809f1c911d79ca9a356cfa0c4166d2b155fcbd593f8b55e0d7dd75ff6444073b SHA512 5779adcc9f25c15fd999aa6c91d3144fc14535270e57925bfb8ac67f45448c144a142af2ea9a321ec6ffbf568713f663cef85a0be3d4a056e58b1782a5fc9a41
diff --git a/dev-python/pybind11/files/pybind11-2.10.4_macOS-GCC.patch b/dev-python/pybind11/files/pybind11-2.10.4_macOS-GCC.patch
deleted file mode 100644
index cbfcff84a684..000000000000
--- a/dev-python/pybind11/files/pybind11-2.10.4_macOS-GCC.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Break the toolchain assumption of LLVM on Prefix/macOS.
-
-At Prefix/macOS, the system compiler is GCC with libstdc++.
-
-Reference: https://github.com/pybind/pybind11/pull/4639
-
-Signed-off-by: Benda Xu <heroxbd@gentoo.org>
-
-Index: pybind11-2.10.4/pybind11/setup_helpers.py
-===================================================================
---- pybind11-2.10.4.orig/pybind11/setup_helpers.py
-+++ pybind11-2.10.4/pybind11/setup_helpers.py
-@@ -154,9 +154,6 @@ class Pybind11Extension(_Extension): #
- c_cpp_flags = shlex.split(env_cflags) + shlex.split(env_cppflags)
- if not any(opt.startswith("-g") for opt in c_cpp_flags):
- cflags += ["-g0"]
-- if MACOS:
-- cflags += ["-stdlib=libc++"]
-- ldflags += ["-stdlib=libc++"]
- self._add_cflags(cflags)
- self._add_ldflags(ldflags)
-
diff --git a/dev-python/pybind11/pybind11-2.10.4.ebuild b/dev-python/pybind11/pybind11-2.10.4.ebuild
deleted file mode 100644
index cea97d04299f..000000000000
--- a/dev-python/pybind11/pybind11-2.10.4.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
-
-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 ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
-
-RDEPEND="
- dev-cpp/eigen:3
-"
-BDEPEND="
- test? (
- >=dev-cpp/catch-2.13.5
- dev-libs/boost
- )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
- export PYBIND11_USE_CMAKE=1
- cmake_src_prepare
- PATCHES=( "${FILESDIR}"/pybind11-2.10.4_macOS-GCC.patch )
- distutils-r1_python_prepare_all
-}
-
-python_configure() {
- local mycmakeargs=(
- # disable forced lto
- -DPYBIND11_LTO_CXX_FLAGS=
- -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() {
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- cmake_build check
-}
-
-python_install() {
- distutils-r1_python_install
- cmake_src_install
-}