commit: 1d4fa19fb2d84adf669debd94c27eda59f21c691 Author: Matt Jolly <kangie <AT> gentoo <DOT> org> AuthorDate: Tue Feb 11 06:28:00 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri Feb 21 11:13:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d4fa19f
dev-lang/rust-bin: (1.71.1) update SRC_URI for mips There's no point keeping this in the eclass; it doesn't look like mips is coming back upstream. Since this is the only ebuild that needs it we can simplify the `rust_all_arch_uris()` function if we don't run `ver_test` to check for _this_ ebuild. Signed-off-by: Matt Jolly <kangie <AT> gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-lang/rust-bin/rust-bin-1.71.1-r102.ebuild | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dev-lang/rust-bin/rust-bin-1.71.1-r102.ebuild b/dev-lang/rust-bin/rust-bin-1.71.1-r102.ebuild index a631c26c9948..4a8c1bec782e 100644 --- a/dev-lang/rust-bin/rust-bin-1.71.1-r102.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.71.1-r102.ebuild @@ -18,6 +18,20 @@ HOMEPAGE="https://www.rust-lang.org/" SRC_URI="$(rust_all_arch_uris ${MY_P}) rust-src? ( ${MY_SRC_URI} ) " +# No point keeping this in the eclass; this is the only revision that needs the logic +SRC_URI+=" +mips? ( + abi_mips_o32? ( + big-endian? ( $(rust_arch_uri mips-unknown-linux-gnu "${MY_P}") ) + !big-endian? ( $(rust_arch_uri mipsel-unknown-linux-gnu "${MY_P}") ) + ) + abi_mips_n64? ( + big-endian? ( $(rust_arch_uri mips64-unknown-linux-gnuabi64 "${MY_P}") ) + !big-endian? ( $(rust_arch_uri mips64el-unknown-linux-gnuabi64 "${MY_P}") ) + ) +) +" + # Keep this separate to allow easy commenting out if not yet built SRC_URI+=" sparc? ( ${GENTOO_BIN_BASEURI}/${MY_P}-sparc64-unknown-linux-gnu.tar.xz -> ${MY_P}-sparc64-unknown-linux-gnu.sam.tar.xz ) "
