commit: 25116eb9591074a3ceedf7b8f925a97c9eb0fc15
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat May 10 12:54:48 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat May 10 13:06:14 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25116eb9
dev-util/maturin: drop obsolete workaround
eclass now has a better option
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-util/maturin/maturin-1.8.5.ebuild | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/dev-util/maturin/maturin-1.8.5.ebuild
b/dev-util/maturin/maturin-1.8.5.ebuild
index 74143c0a9106..966b60e62fe3 100644
--- a/dev-util/maturin/maturin-1.8.5.ebuild
+++ b/dev-util/maturin/maturin-1.8.5.ebuild
@@ -4,6 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_UPSTREAM_PEP517=standalone
PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
RUST_MIN_VER=1.75.0
inherit cargo distutils-r1 flag-o-matic shell-completion toolchain-funcs
@@ -53,11 +54,6 @@ src_prepare() {
# we build the Rust executable (just once) via cargo_src_compile
sed -i -e '/setuptools_rust/d' -e '/rust_extensions/d' setup.py || die
- # the 'bootstrap' wrapper confuses the eclass, use directly for now
- sed -e '/^backend-path/d' \
- -e '/^build-backend =
"bootstrap"/s/".*/"setuptools.build_meta"/' \
- -i pyproject.toml || die
-
if use test; then
# used to prevent use of network during tests, and silence pip
# if it finds unrelated issues with system packages (bug
#913613)