diff options
| author | Arthur Zamarin <arthurzam@gentoo.org> | 2025-08-04 07:38:40 +0300 |
|---|---|---|
| committer | Arthur Zamarin <arthurzam@gentoo.org> | 2025-08-04 07:41:41 +0300 |
| commit | 8dc20bdb4254c7f47817232e9fd58bf9f42f434e (patch) | |
| tree | ee01bd7f1ca8a14b2e22668da6dc224fa3fcda79 /dev-lang/rust-bin/rust-bin-1.88.0.ebuild | |
| parent | 63f7401bb13d2332ecfe7d93e9672e86f2c6d19d (diff) | |
| download | gentoo-8dc20bdb4254c7f47817232e9fd58bf9f42f434e.tar.gz gentoo-8dc20bdb4254c7f47817232e9fd58bf9f42f434e.tar.bz2 gentoo-8dc20bdb4254c7f47817232e9fd58bf9f42f434e.zip | |
dev-lang/rust-bin: add niche arches for 1.88.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-lang/rust-bin/rust-bin-1.88.0.ebuild')
| -rw-r--r-- | dev-lang/rust-bin/rust-bin-1.88.0.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-lang/rust-bin/rust-bin-1.88.0.ebuild b/dev-lang/rust-bin/rust-bin-1.88.0.ebuild index 5132ee797ad4..1887ebb24803 100644 --- a/dev-lang/rust-bin/rust-bin-1.88.0.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.88.0.ebuild @@ -23,8 +23,11 @@ else # curl -Ls static.rust-lang.org/dist/channel-rust-${PV}.toml | grep "xz_url.*rust-src" SRC_URI="$(rust_all_arch_uris "rust-${PV}") rust-src? ( ${RUST_TOOLCHAIN_BASEURL%/}/2025-06-26/rust-src-${PV}.tar.xz ) + ppc64? ( elibc_musl? ( !big-endian? ( + $(rust_arch_uri powerpc64le-unknown-linux-musl rust-${PV}) + ) ) ) " - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi GENTOO_BIN_BASEURI="https://github.com/projg2/rust-bootstrap/releases/download/${PVR}" # omit trailing slash @@ -32,7 +35,7 @@ GENTOO_BIN_BASEURI="https://github.com/projg2/rust-bootstrap/releases/download/$ DESCRIPTION="Systems programming language from Mozilla" HOMEPAGE="https://www.rust-lang.org/" -if [[ ${PV} != *9999* && ${PV} != *beta* ]] && false ; then +if [[ ${PV} != *9999* && ${PV} != *beta* ]] ; then # Keep this separate to allow easy commenting out if not yet built SRC_URI+=" sparc? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-sparc64-unknown-linux-gnu.tar.xz ) " SRC_URI+=" mips? ( @@ -50,7 +53,6 @@ if [[ ${PV} != *9999* && ${PV} != *beta* ]] && false ; then )" SRC_URI+=" ppc64? ( elibc_musl? ( big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-powerpc64-unknown-linux-musl.tar.xz ) - !big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-powerpc64le-unknown-linux-musl.tar.xz ) ) )" fi @@ -58,9 +60,11 @@ LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4" SLOT="${PV%%_*}" # Beta releases get to share the same SLOT as the eventual stable IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt" +# net-misc/curl is needed for our own bootstrapped rustc, since cross-compiling bundled curl is not supported RDEPEND=" >=app-eselect/eselect-rust-20190311 dev-libs/openssl + net-misc/curl sys-apps/lsb-release || ( llvm-runtimes/libgcc |
