summaryrefslogtreecommitdiff
path: root/dev-python/pybind11
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-14 12:32:28 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-14 12:32:28 +0100
commite8aa09f74c8ba0c9e1c5ae3ab49f93b6a0820330 (patch)
tree14ad0b4141ec6704388a9130b87976ed75435984 /dev-python/pybind11
parent6fcdccbe589d724b6c268b49f66414e40eb0d807 (diff)
gentoo auto-resync : 14:09:2024 - 12:32:27
Diffstat (limited to 'dev-python/pybind11')
-rw-r--r--dev-python/pybind11/Manifest2
-rw-r--r--dev-python/pybind11/pybind11-2.13.6.ebuild75
2 files changed, 77 insertions, 0 deletions
diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest
index 75d5b5ddb106..7640ee3c9c2f 100644
--- a/dev-python/pybind11/Manifest
+++ b/dev-python/pybind11/Manifest
@@ -5,6 +5,7 @@ DIST pybind11-2.13.1.gh.tar.gz 789821 BLAKE2B b1634878a9a772d1200c79a5e7554a16a9
DIST pybind11-2.13.3.gh.tar.gz 793263 BLAKE2B ba295fb0dbbeacd5d2b9fa335cf91c4e4b9daee29c7b994f8878b8078d18a18ee48874a3264f5bff280257cf677339324f7875d2f1bb8b855c6097982a71cdcd SHA512 76629d4ad5b91975bbf3fb05580403915f096a4d91b37d947fdbcb3b44783b3f0c9e5a4e289da222902e6b458e29893521523f41d9eb99da7e4890261be00947
DIST pybind11-2.13.4.gh.tar.gz 793802 BLAKE2B efa1bf0d244cd9692e750524b841a884601c121f631fd721d64f192c49ff6ead4eaa4bb13cace42b98673cfd038583fc3716a298b041efd148e992c07b9ee5c3 SHA512 5938c758da5450be645b366190579aa7943294471a0c639c2aeb9d8e9d201ef4fb4dfd0cb1db91390f74dc59f175f6cf47b0c45c20d45ab9f3eeb1a834886de7
DIST pybind11-2.13.5.gh.tar.gz 794599 BLAKE2B 57bf05040902fc1f85cb4661672426a5c9de701157308e2dd0740f3b7eac878bad0f389b08c2b22b52c94766fa1ae0b0da8aa45353b9cbb95c54afbb0282a786 SHA512 bf9ebfbd8e694fbb421d8bdb5362a207a3782685d48988e77aed98363b2fa302e7384b570b02b117d45d5509b1633b096d4fc1ef16f65e6cc8c888b863c1e2cb
+DIST pybind11-2.13.6.gh.tar.gz 800804 BLAKE2B 1f2efa05727ebbcd8e439b83bacfebb21d26a6f8f719e0a627633abdcae59837936e37e6441196e097e0075c9f922048d4e88146bb627d97ada28c48165bddb7 SHA512 497c25b33b09a9c42f67131ab82e35d689e8ce089dd7639be997305ff9a6d502447b79c824508c455d559e61f0186335b54dd2771d903a7c1621833930622d1a
EBUILD pybind11-2.11.1.ebuild 1299 BLAKE2B 615ecd852c5463bfe00297b39b4b72da85e124bff6a94e8be69dfbd5ae0674dd6ca09074d9d3ab32c1a8dcc7949e980e5f86f62423728547bc1fd28f94587782 SHA512 6ac7240aee5e7fb0ff5549a72ae8eeaedaed896fb54a3de617c9272c3f506a041d70cc3ce0cd63f8cf6b5ff821b2bd9da0961d273c8a486b1f95218bfb165406
EBUILD pybind11-2.12.0.ebuild 1452 BLAKE2B a633e86f392b5cf9c5901c3573f3c2eaa88d6ece3c49226581878764ecda7b09f4352b2a9835d91e2f45f23880b7d9f079739fd82d331530cc34db89aab1f476 SHA512 77ec001972952905360af16c7babf54a1d24278b6cc3943f9a292bb8b1c52818f047197ccfa1c2e25be75bcc5c79ccc7d79b9eb8d7bbf79e45cad915c89941c6
EBUILD pybind11-2.13.1-r1.ebuild 1507 BLAKE2B 0c715c5cfea9c21a6d6317b0e53641a3d2a98678ec5ec8ca8080d0ccbe23eacbf46ac9df9227e5b833eec7cd6627ff654f1eeaf9c627fdc79f794be6dbbfee16 SHA512 9d59b3c27bd505ccb6a6983c8edcc367b9b29a2c1d432932883b99f8e39a71662bd0b62be083be39f1c7a64fe0119eec71642eaaf061dcfdd4112c068f33868b
@@ -12,4 +13,5 @@ EBUILD pybind11-2.13.1.ebuild 1459 BLAKE2B 39ace9a01302e5f387f24a88b981ca571a4bf
EBUILD pybind11-2.13.3.ebuild 1459 BLAKE2B 39ace9a01302e5f387f24a88b981ca571a4bf4ff2533b7559a05a8ffbf0ebd495363846eeda43520718c000ae1be02bf913b869f6d26e4094a8efd448d874206 SHA512 abaf0da2e414d94afbfe531f445b52684ca207fbbc117422828d17ddfa776181c4d3a4d241ce891a5f474e226a104adead13a9d282a4a9b15735babb2d555ecf
EBUILD pybind11-2.13.4.ebuild 1539 BLAKE2B 018ed160b9bd8b94db0695006352961427565193592464fbe25b92fd9d407631925ad93ce1994eefb7284b502169463a3636dee9dcf7123e8b1a90db69c6dfef SHA512 115d47aba8ef52f95daaccf8310a82698f9bebfd8db6320d1ad3c919320d9dc9cbe70ab70ac76dbd7d2d648191099067c4a8347f6b620990f38998b23e151e73
EBUILD pybind11-2.13.5.ebuild 1539 BLAKE2B 018ed160b9bd8b94db0695006352961427565193592464fbe25b92fd9d407631925ad93ce1994eefb7284b502169463a3636dee9dcf7123e8b1a90db69c6dfef SHA512 115d47aba8ef52f95daaccf8310a82698f9bebfd8db6320d1ad3c919320d9dc9cbe70ab70ac76dbd7d2d648191099067c4a8347f6b620990f38998b23e151e73
+EBUILD pybind11-2.13.6.ebuild 1539 BLAKE2B 018ed160b9bd8b94db0695006352961427565193592464fbe25b92fd9d407631925ad93ce1994eefb7284b502169463a3636dee9dcf7123e8b1a90db69c6dfef SHA512 115d47aba8ef52f95daaccf8310a82698f9bebfd8db6320d1ad3c919320d9dc9cbe70ab70ac76dbd7d2d648191099067c4a8347f6b620990f38998b23e151e73
MISC metadata.xml 475 BLAKE2B faf317a1197850acb0d16546a303bd50ee1bfe6fc3aaf592e6c147c6612fd20b809f1c911d79ca9a356cfa0c4166d2b155fcbd593f8b55e0d7dd75ff6444073b SHA512 5779adcc9f25c15fd999aa6c91d3144fc14535270e57925bfb8ac67f45448c144a142af2ea9a321ec6ffbf568713f663cef85a0be3d4a056e58b1782a5fc9a41
diff --git a/dev-python/pybind11/pybind11-2.13.6.ebuild b/dev-python/pybind11/pybind11-2.13.6.ebuild
new file mode 100644
index 000000000000..aa9826a57444
--- /dev/null
+++ b/dev-python/pybind11/pybind11-2.13.6.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} 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 ~loong ~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() {
+ cmake_src_prepare
+ 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
+}