commit:     f10824a259721addcde8ae65d21d7b2ac72b8603
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 14 09:44:46 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jan 14 09:57:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f10824a2

dev-python/adblock: pass --skip-auditwheel to maturin

Without it maturin attempts to look at linked libraries and bundle
them within the wheel (using patchelf to find them), and on musl it
thinks it should bundle libgcc_s.so. This is also in a scenerio
where we don't install using this wheel.

May prevent future issues on glibc as well, so unconditionally pass.
Option is valid for stable ~maturin-0.11.5 as well, albeit it doesn't
do this nor use patchelf and wasn't necessary.

Closes: https://bugs.gentoo.org/831171
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-python/adblock/adblock-0.5.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/adblock/adblock-0.5.1.ebuild 
b/dev-python/adblock/adblock-0.5.1.ebuild
index ed820b8a8806..bbe06f214840 100644
--- a/dev-python/adblock/adblock-0.5.1.ebuild
+++ b/dev-python/adblock/adblock-0.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -95,7 +95,7 @@ BDEPEND="
 QA_FLAGS_IGNORED=".*/site-packages/${PN}/${PN}.abi3.so"
 
 src_compile() {
-       maturin build $(usev !debug --release) --no-sdist || die
+       maturin build $(usev !debug --release) --no-sdist --skip-auditwheel || 
die
 
        mv target/$(usex debug{,} release)/lib${PN}.so ${PN}/${PN}.abi3.so || 
die
 }

Reply via email to