commit: 4da0feb9792e14e7e6ce75a71945ed5ff5b32715 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> AuthorDate: Thu Jul 28 12:16:08 2022 +0000 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> CommitDate: Thu Jul 28 12:17:30 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da0feb9
dev-util/maturin: Disable rustls on riscv too in 0.13.1 Bug: https://bugs.gentoo.org/859577 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> dev-util/maturin/maturin-0.13.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/maturin/maturin-0.13.1.ebuild b/dev-util/maturin/maturin-0.13.1.ebuild index 1d9dbacce256..d63cc20f6be5 100644 --- a/dev-util/maturin/maturin-0.13.1.ebuild +++ b/dev-util/maturin/maturin-0.13.1.ebuild @@ -386,13 +386,13 @@ src_prepare() { # ensure rustls is disabled on arches where ring crate is problematic, # add as needed and keep in sync with src_configure below (bug #859577) - if use ppc || use ppc64 || use s390; then + if use ppc || use ppc64 || use riscv || use s390; then sed -i '/^if platform.machine/s/^if/if True or/' setup.py || die fi } src_configure() { - if use ppc || use ppc64 || use s390; then + if use ppc || use ppc64 || use riscv || use s390; then local myfeatures=( upload log human-panic ) # sync with setup.py cargo_src_configure --no-default-features fi
