dev-python/pybind11: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-05-25 04:28:10 +02:00
parent 2f2d90a46d
commit 60f13e58ca
3 changed files with 0 additions and 174 deletions

View File

@@ -1,4 +1,2 @@
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
DIST pybind11-3.0.3.gh.tar.gz 964282 BLAKE2B e75596d9ea23a27476ccc3ffc3fbaa47ef7e29a7830bc777a13ad74774e2c0b11485172efb123e9f45847665ee413bc41c8fc84b7dfd3b01579a665ddce7eb85 SHA512 d6846dc88234a355f9ff312cfd0ecb8d3c7bb0e446ea5fcfc931ed7f18d56206e2b02662cdbd8d8d940a9f67b195dabfa13585f4bb1d57cb1af8a9c39a447a79
DIST pybind11-3.0.4.gh.tar.gz 966373 BLAKE2B 6a90953a1b46fab90257d56e7db3ff7233ecec1f97e0305d6673b0ce295980d4fa063f88fd5095a7609c188884eef246d291452daeebbf9a7e0794331531596d SHA512 40b40ec9fdde7b377222fa329162638be5e66bee75918d78369f741dc14b52f058fb50bb33159d099fc40f43aca39234092ce884cccc3258f34274c7dde807f0

View File

@@ -1,86 +0,0 @@
# Copyright 1999-2026 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
}

View File

@@ -1,86 +0,0 @@
# Copyright 1999-2026 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
}