dev-util/rustup: drop 1.28.2-r2, 1.29.0

Closes: https://bugs.gentoo.org/985573
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2026-11-07 21:15:44 +01:00
parent b16a37388c
commit b98705c0bf
3 changed files with 0 additions and 200 deletions
-4
View File
@@ -1,6 +1,2 @@
DIST rustup-1.28.2-crates.tar.xz 38997836 BLAKE2B 29848bbb571f99b763bccfa444461f8cc8cea8fa625c0846b7fb69d7fbd9c2f0f077ed61459cb502d03360d273c2733de7e9aff6372a56699cd6fc1482880351 SHA512 741766a08d6a78af79d7701efa1c1c2142932d796b3b29cf379dcc90427bdf97a61b1aa1d542f4b58f405aaf65ad4bcc9fed5f9f47453042088bbf8bc2921e04
DIST rustup-1.28.2.tar.gz 1015225 BLAKE2B ed7808b46bb58f3d1c15bef003a8046666429e68868b0b63686758213fa0569ae91aba1a518d70cffca59e95068722b5753e0e4ef55e51e42a934450539e92ad SHA512 dc85f4551e9d3d9d105e4a5c8a7544b6944c82ca4db167a6993e1e0cea498221471b891cefc15e7f634a8528678bb8438dbddadb80a8afe19fbc69bb74817049
DIST rustup-1.29.0-crates.tar.xz 36206916 BLAKE2B 21c1e839d2fffaaef4934d9480324dba228bb3ca88e105a3e8a5047c0d0254f686a61ff25d333a9b9513cc9e8aae4b0e014e50d007a37d2fa747342dbd2fcfa7 SHA512 d447a4ac2cae30f468113156291c98d860f2cdfdb40463896ee660bf66f2b15b1d4932b20f0281cdadc5f2cc94aae11d3db08bf1543f2bd018d10472f5a4c379
DIST rustup-1.29.0.tar.gz 1044999 BLAKE2B 214bea3033f606758bf67ddfe27dcabc6cf69f5e549bcee5f1884e9d81c0ab41501ad990b5ce739bf2ac9d8f2e32c65cfa7291bbda28b8d0ec42d609fd173b50 SHA512 50f013e98bd4d83a97d8aedcfc08d603dea51ef30fa9bd9048bbbec4ee884304f15b47bc9da94f6077838fc1ba384744cb6600418cb370765739e20635bffd63
DIST rustup-1.29.3-crates.tar.xz 31390940 BLAKE2B 71e30f838c1eb3319e2ada0743e9ad97ecd644babedbb6f36408a4f0217c9fb3bf37a82d33b810a93f814a2dce1d1ab24aa14d786c94280df450c4c47d0479f8 SHA512 3e099e314ad8c24396b690a46562002c79ac5161d93cc70b8a1f719a3436446c6ff025414f78276b2e9a502cb526a8e0c815697680f82cc72ecdcc1d0736f54b
DIST rustup-1.29.3.tar.gz 1070038 BLAKE2B 6b7c6c2518e98be210244422b87d8c27b76897f78f79ea50247ada1f8fc9bf82b4916d37a41d86129d96c48f7e566fd4f8dd7fa62cba396ddfcc58f5d43574e5 SHA512 e7c31c3f4a63af556ff5b738d4f2c4cb0e3d1560544cb703ad8cc01c63409ee4406137b273142a065bbf6e8c9dc079c6aa445adce1e95bc0090dce8a9f2fb137
-98
View File
@@ -1,98 +0,0 @@
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES=""
RUST_MIN_VER="1.85.0"
inherit cargo prefix shell-completion toolchain-funcs
DESCRIPTION="Rust toolchain installer"
HOMEPAGE="https://rust-lang.github.io/rustup/"
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/rust-lang/${PN}.git"
else
SRC_URI="https://github.com/rust-lang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}"
SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/${PV}/${P}-crates.tar.xz"
KEYWORDS="~amd64 ~arm64 ~ppc64"
fi
LICENSE="|| ( Apache-2.0 MIT )"
# Dependent crate licenses
LICENSE+="
Apache-2.0 BSD CDLA-Permissive-2.0 ISC MIT openssl Unicode-3.0 ZLIB
"
SLOT="0"
# uses network
RESTRICT="test"
DEPEND="
app-arch/xz-utils
app-arch/zstd
net-misc/curl:=[http2,ssl]
dev-libs/openssl:0=
"
RDEPEND="${DEPEND}"
# rust does not use *FLAGS from make.conf, silence portage warning
QA_FLAGS_IGNORED="usr/bin/rustup-init"
src_unpack() {
if [[ "${PV}" == 9999 ]]; then
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}
src_configure() {
# modeled after ci/run.bash upstream
# reqwest-rustls-tls requires ring crate and/or aws-lc, which is not
# very portable and also compiles much vendored openssl code
local myfeatures=(
no-self-update
curl-backend
reqwest-native-tls
)
cargo_src_configure --no-default-features
}
src_compile() {
export OPENSSL_NO_VENDOR=true
export ZSTD_SYS_USE_PKG_CONFIG=1
cargo_src_compile
}
src_install() {
cargo_src_install
einstalldocs
newbin "$(prefixify_ro "${FILESDIR}"/symlink_rustup.sh)" rustup-init-gentoo
if ! tc-is-cross-compiler; then
einfo "generating shell completion files"
ln -sf "${ED}/usr/bin/rustup-init" rustup || die
./rustup completions bash > "${T}/${PN}" || die
dobashcomp "${T}/${PN}"
./rustup completions zsh > "${T}/_${PN}" || die
dozshcomp "${T}/_${PN}"
./rustup completions fish > "${T}/${PN}.fish" || die
dofishcomp "${T}/${PN}.fish"
else
ewarn "Shell completion files not installed! Install them manually with '${PN} completions --help'"
fi
}
pkg_postinst() {
elog "No rustup toolchains installed by default"
elog "eselect activated system rust toolchain can be added to rustup by running"
elog "helper script installed as ${EPREFIX}/usr/bin/rustup-init-gentoo"
elog "it will create symlinks to system-installed rustup in home directory"
elog "and rustup updates will be managed by portage"
elog "please delete current rustup binaries from ~/.cargo/bin/ (if any)"
elog "before running rustup-init-gentoo"
}
-98
View File
@@ -1,98 +0,0 @@
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES=""
RUST_MIN_VER="1.88.0"
inherit cargo prefix shell-completion toolchain-funcs
DESCRIPTION="Rust toolchain installer"
HOMEPAGE="https://rust-lang.github.io/rustup/"
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/rust-lang/${PN}.git"
else
SRC_URI="https://github.com/rust-lang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}"
SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/${PV}/${P}-crates.tar.xz"
KEYWORDS="~amd64 ~arm64 ~ppc64"
fi
LICENSE="|| ( Apache-2.0 MIT )"
# Dependent crate licenses
LICENSE+="
Apache-2.0 BSD CDLA-Permissive-2.0 ISC MIT openssl Unicode-3.0 ZLIB
"
SLOT="0"
# uses network
RESTRICT="test"
DEPEND="
app-arch/xz-utils
app-arch/zstd
net-misc/curl:=[http2,ssl]
dev-libs/openssl:0=
"
RDEPEND="${DEPEND}"
# rust does not use *FLAGS from make.conf, silence portage warning
QA_FLAGS_IGNORED="usr/bin/rustup-init"
src_unpack() {
if [[ "${PV}" == 9999 ]]; then
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}
src_configure() {
# modeled after ci/run.bash upstream
# reqwest-rustls-tls requires ring crate and/or aws-lc, which is not
# very portable and also compiles much vendored openssl code
local myfeatures=(
no-self-update
curl-backend
reqwest-native-tls
)
cargo_src_configure --no-default-features
}
src_compile() {
export OPENSSL_NO_VENDOR=true
export ZSTD_SYS_USE_PKG_CONFIG=1
cargo_src_compile
}
src_install() {
cargo_src_install
einstalldocs
newbin "$(prefixify_ro "${FILESDIR}"/symlink_rustup.sh)" rustup-init-gentoo
if ! tc-is-cross-compiler; then
einfo "generating shell completion files"
ln -sf "${ED}/usr/bin/rustup-init" rustup || die
./rustup completions bash > "${T}/${PN}" || die
dobashcomp "${T}/${PN}"
./rustup completions zsh > "${T}/_${PN}" || die
dozshcomp "${T}/_${PN}"
./rustup completions fish > "${T}/${PN}.fish" || die
dofishcomp "${T}/${PN}.fish"
else
ewarn "Shell completion files not installed! Install them manually with '${PN} completions --help'"
fi
}
pkg_postinst() {
elog "No rustup toolchains installed by default"
elog "eselect activated system rust toolchain can be added to rustup by running"
elog "helper script installed as ${EPREFIX}/usr/bin/rustup-init-gentoo"
elog "it will create symlinks to system-installed rustup in home directory"
elog "and rustup updates will be managed by portage"
elog "please delete current rustup binaries from ~/.cargo/bin/ (if any)"
elog "before running rustup-init-gentoo"
}