mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-06 04:36:12 +02:00
dev-lang/rust-common: Sync with Gentoo
It's from Gentoo commit f363f98d6a19453a397af537f7102d59e431a1ad. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
76bab3efca
commit
d57dffcbf5
@ -22,3 +22,11 @@ DIST rustc-1.91.0-src.tar.xz 270987196 BLAKE2B 18ea8075c288d1c2cc8c247120ae5fa15
|
||||
DIST rustc-1.91.0-src.tar.xz.asc 801 BLAKE2B 11b157fafcfa9887b591ffff8b87641f62e81e44d32d5c4ae99a410179905ae64fe760d6c3a6614bd479f51457542a57b171aaa53baad73d5030e496e62f1e67 SHA512 17c99b273d7e84c54b40817448cb7f543b61a5b262d2bfb1c2d1ff108ccf010295c42ae1ae74593fdab1d6caa3cd3f6713e9966a9a5057c01cd85ae3f24a6f89
|
||||
DIST rustc-1.92.0-src.tar.xz 271887480 BLAKE2B 765e0f216dde8d375e19ca5b1cd3e051b182cc058e16a1307e82e60bac06de6919d18b6506cb14b3ff5e29c2730ef7d1c6e0d86c3bbf6b8148bbf683048eb99b SHA512 a2c0b127933595b9bc2063d7b7c88d9af512c4664b18f29d44c9a6e2c68d194b87a3071717e8f1b7c858ae940baca888e10be95cd31e0201916d0bfc312a3b15
|
||||
DIST rustc-1.92.0-src.tar.xz.asc 801 BLAKE2B 0d223a763b4a3bf0583c4c2c19b2a30dfbe48b6b06c17a764c894ec29d1d0543201a78a263df3c1314c4ad9e050009e1cacb580633f8c2a8e6b2bf35d9a87fce SHA512 7355e5d641ac6f1d27decdf24dbf4af5640ae4f3177a678f8c040aa7288e660c87ed3de33efdcf4e881691b1c13cd9b2a0b6ff3067892aaed1649a4b73b610df
|
||||
DIST rustc-1.93.0-src.tar.xz 270925104 BLAKE2B f96a05dae3494452471f6797fdc2246cc0f5e8205b2a664da72fcae25399b3729aac6d8c3e0a8ed86daaa7081ca803fb5d58c6fdcf9e1d5c5d598ef9976e1da7 SHA512 9362a4b56529ce29362e256daf382b73c73204d0e9fe5b39addf07ff66a30aa66c967e34df9021ea007c13a9f3bb6efdefca1c8e4ea1bde9aac050a9fb0c736b
|
||||
DIST rustc-1.93.0-src.tar.xz.asc 801 BLAKE2B 9c1762c0bb431da8fda0a8a47f5745998ff31434bb0b2747aa4aafc34e09c1507207eb91b7ba80f7a780b7f7258a4b8e49b5c5b06f9fa9f4cfabf72edb9cb07e SHA512 a6ea05bb6b7d3b429a1c863622c93ac4c97b25f56027f7f06f085acde26d1395f3515cc764ae3ef941d1669556a02365755b34e28ccaebe70c1ccb84c977228f
|
||||
DIST rustc-1.93.1-src.tar.xz 270888296 BLAKE2B fe5a9072161cf758221974f1f59b1a198b2c62b2317360cdb8b2516cfac8eecf40cd5e69bb186053555688a167cabae3a3227b9079c360d238b12c229ff2ddc1 SHA512 fbff2e960e20a5b4c1320bfe22aca445a5792c10f902c6eb69fc7de2a1f8965b06b0906141526a5f0fa02bcbb6b02d80865481bd62656f7b9a11fbdcf5bc9f02
|
||||
DIST rustc-1.93.1-src.tar.xz.asc 801 BLAKE2B 9e059c894770a402d5fee2a29ffdb42030d8d723a40d6312d983e53cd4fa64e97019a0ea6054dcb17ba2ead7f27db17eec2632950f13e4ef1410324afc4dcaf8 SHA512 8a290300e370b3833d2d365a451ed4708dbe1fa69fc57b73eef0b2b5d9dd4fb3d87344315aee3aea474d4071cfb535234e167f6576abf2e06ef3225c85e3c30d
|
||||
DIST rustc-1.94.0_beta20260126-src.tar.xz 273937952 BLAKE2B 14deb9a1a837283ae544c9e05a490d6d2b6fe924838505f22ee821713ada640ec6c11ddc5fdf11bb7925fd4bff0e1399975bbe5ef47c926aab4ed10976db60dc SHA512 3e0517ebd37a9b459a92a432e9c6c7e276878bb8453007ce3b3c1ef53dbee8b436252d09cdfbe4482321076c9b4a0d49a3ab74b6ae845260ce4d4f47112d0b68
|
||||
DIST rustc-1.94.0_beta20260126-src.tar.xz.asc 801 BLAKE2B 6b807dce7ca74cec7cefd7886aa569e0f5a908a9199149624f4d641d94e9daea4ea837a6dd96792efaebd6b21e70acd6654e78f01325e36f9108b0e0b3bc5c4e SHA512 c425b9ff8eeb4973ce3b53eca5cc35f78983062195be9b671565fc48fc7fe2edf424d7618ccc98fec89c2ca8f7f43e176f06c624c1d1172b7033ea66cee6d575
|
||||
DIST rustc-1.94.0_beta20260213-src.tar.xz 273898560 BLAKE2B be0fa61b6677de16352628c9c5243bc75b6697c7511cf97d6a02bce8cb09f5fb7aeafeedce29837d3812f0fbee1f4cdc48dae27dc7d02878c06144b3941a8510 SHA512 d48a821ab4adf1a8e8d2b313a6d1c460b28aecf4fa0bd3af7f81318b49abffb71d87a5bc08335adc62b6d4a99c074969a98e6516f679d484ed74086982686457
|
||||
DIST rustc-1.94.0_beta20260213-src.tar.xz.asc 801 BLAKE2B aa6662652ce4f92abd50f0a2dfb914d93dc877b71b406aacd57346a62b0139ff296df951d20b3c91a5e187b50876c465b44b396a7d2abcf92d343013c4f3a3a2 SHA512 4c5d17df5aa9979735c2a2784c53251a1c5a120007cc581fb49fd6eb56c35a81a054840f1d9b40f3da18a6e372b054bc7bf8213295ff874ef428f1337d7756cb
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -32,7 +32,7 @@ else
|
||||
verify-sig? ( https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz.asc )
|
||||
"
|
||||
S="${WORKDIR}/rustc-${MY_PV}-src"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
|
||||
fi
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4"
|
||||
|
||||
73
sdk_container/src/third_party/portage-stable/dev-lang/rust-common/rust-common-1.93.0.ebuild
vendored
Normal file
73
sdk_container/src/third_party/portage-stable/dev-lang/rust-common/rust-common-1.93.0.ebuild
vendored
Normal file
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/rust.asc
|
||||
inherit shell-completion verify-sig
|
||||
|
||||
DESCRIPTION="Common files shared between multiple slots of Rust"
|
||||
HOMEPAGE="https://www.rust-lang.org/"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
# In case cargo is not in sync we'll fetch it as a submodule
|
||||
# Nightly users will probably already have the repo cloned and up-to-date anyway.
|
||||
EGIT_REPO_URI="https://github.com/rust-lang/rust.git"
|
||||
EGIT_SUBMODULES=( "-*" "src/tools/cargo" )
|
||||
elif [[ ${PV} == *beta* ]]; then
|
||||
# Identify the snapshot date of the beta release:
|
||||
# curl -Ls static.rust-lang.org/dist/channel-rust-beta.toml | grep beta-src.tar.xz
|
||||
MY_PV=beta
|
||||
betaver=${PV//*beta}
|
||||
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
|
||||
SRC_URI="https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/rustc-beta-src.tar.xz -> rustc-${PV}-src.tar.xz
|
||||
verify-sig? ( https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/rustc-beta-src.tar.xz.asc
|
||||
-> rustc-${PV}-src.tar.xz.asc )
|
||||
"
|
||||
S="${WORKDIR}/rustc-${MY_PV}-src"
|
||||
else
|
||||
MY_PV=${PV}
|
||||
SRC_URI="https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz
|
||||
verify-sig? ( https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz.asc )
|
||||
"
|
||||
S="${WORKDIR}/rustc-${MY_PV}-src"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4"
|
||||
SLOT="0"
|
||||
|
||||
# Legacy non-slotted versions bash completions will collide.
|
||||
RDEPEND="
|
||||
!dev-lang/rust:stable
|
||||
!dev-lang/rust-bin:stable
|
||||
"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-rust )"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
if use verify-sig ; then
|
||||
verify-sig_verify_detached "${DISTDIR}"/rustc-${PV}-src.tar.xz "${DISTDIR}"/rustc-${PV}-src.tar.xz.asc
|
||||
fi
|
||||
|
||||
# Avoid unpacking the whole tarball which would need check-reqs
|
||||
tar -xf "${DISTDIR}"/rustc-${PV}-src.tar.xz \
|
||||
"rustc-${MY_PV}-src/src/tools/cargo/src/etc/"{_cargo,cargo.bashcomp.sh} || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbashcomp src/tools/cargo/src/etc/cargo.bashcomp.sh cargo
|
||||
dozshcomp src/tools/cargo/src/etc/_cargo
|
||||
}
|
||||
73
sdk_container/src/third_party/portage-stable/dev-lang/rust-common/rust-common-1.93.1.ebuild
vendored
Normal file
73
sdk_container/src/third_party/portage-stable/dev-lang/rust-common/rust-common-1.93.1.ebuild
vendored
Normal file
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/rust.asc
|
||||
inherit shell-completion verify-sig
|
||||
|
||||
DESCRIPTION="Common files shared between multiple slots of Rust"
|
||||
HOMEPAGE="https://www.rust-lang.org/"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
# In case cargo is not in sync we'll fetch it as a submodule
|
||||
# Nightly users will probably already have the repo cloned and up-to-date anyway.
|
||||
EGIT_REPO_URI="https://github.com/rust-lang/rust.git"
|
||||
EGIT_SUBMODULES=( "-*" "src/tools/cargo" )
|
||||
elif [[ ${PV} == *beta* ]]; then
|
||||
# Identify the snapshot date of the beta release:
|
||||
# curl -Ls static.rust-lang.org/dist/channel-rust-beta.toml | grep beta-src.tar.xz
|
||||
MY_PV=beta
|
||||
betaver=${PV//*beta}
|
||||
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
|
||||
SRC_URI="https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/rustc-beta-src.tar.xz -> rustc-${PV}-src.tar.xz
|
||||
verify-sig? ( https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/rustc-beta-src.tar.xz.asc
|
||||
-> rustc-${PV}-src.tar.xz.asc )
|
||||
"
|
||||
S="${WORKDIR}/rustc-${MY_PV}-src"
|
||||
else
|
||||
MY_PV=${PV}
|
||||
SRC_URI="https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz
|
||||
verify-sig? ( https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz.asc )
|
||||
"
|
||||
S="${WORKDIR}/rustc-${MY_PV}-src"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4"
|
||||
SLOT="0"
|
||||
|
||||
# Legacy non-slotted versions bash completions will collide.
|
||||
RDEPEND="
|
||||
!dev-lang/rust:stable
|
||||
!dev-lang/rust-bin:stable
|
||||
"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-rust )"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
if use verify-sig ; then
|
||||
verify-sig_verify_detached "${DISTDIR}"/rustc-${PV}-src.tar.xz "${DISTDIR}"/rustc-${PV}-src.tar.xz.asc
|
||||
fi
|
||||
|
||||
# Avoid unpacking the whole tarball which would need check-reqs
|
||||
tar -xf "${DISTDIR}"/rustc-${PV}-src.tar.xz \
|
||||
"rustc-${MY_PV}-src/src/tools/cargo/src/etc/"{_cargo,cargo.bashcomp.sh} || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbashcomp src/tools/cargo/src/etc/cargo.bashcomp.sh cargo
|
||||
dozshcomp src/tools/cargo/src/etc/_cargo
|
||||
}
|
||||
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/rust.asc
|
||||
inherit shell-completion verify-sig
|
||||
|
||||
DESCRIPTION="Common files shared between multiple slots of Rust"
|
||||
HOMEPAGE="https://www.rust-lang.org/"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
# In case cargo is not in sync we'll fetch it as a submodule
|
||||
# Nightly users will probably already have the repo cloned and up-to-date anyway.
|
||||
EGIT_REPO_URI="https://github.com/rust-lang/rust.git"
|
||||
EGIT_SUBMODULES=( "-*" "src/tools/cargo" )
|
||||
elif [[ ${PV} == *beta* ]]; then
|
||||
# Identify the snapshot date of the beta release:
|
||||
# curl -Ls static.rust-lang.org/dist/channel-rust-beta.toml | grep beta-src.tar.xz
|
||||
MY_PV=beta
|
||||
betaver=${PV//*beta}
|
||||
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
|
||||
SRC_URI="https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/rustc-beta-src.tar.xz -> rustc-${PV}-src.tar.xz
|
||||
verify-sig? ( https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/rustc-beta-src.tar.xz.asc
|
||||
-> rustc-${PV}-src.tar.xz.asc )
|
||||
"
|
||||
S="${WORKDIR}/rustc-${MY_PV}-src"
|
||||
else
|
||||
MY_PV=${PV}
|
||||
SRC_URI="https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz
|
||||
verify-sig? ( https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz.asc )
|
||||
"
|
||||
S="${WORKDIR}/rustc-${MY_PV}-src"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4"
|
||||
SLOT="0"
|
||||
|
||||
# Legacy non-slotted versions bash completions will collide.
|
||||
RDEPEND="
|
||||
!dev-lang/rust:stable
|
||||
!dev-lang/rust-bin:stable
|
||||
"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-rust )"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
if use verify-sig ; then
|
||||
verify-sig_verify_detached "${DISTDIR}"/rustc-${PV}-src.tar.xz "${DISTDIR}"/rustc-${PV}-src.tar.xz.asc
|
||||
fi
|
||||
|
||||
# Avoid unpacking the whole tarball which would need check-reqs
|
||||
tar -xf "${DISTDIR}"/rustc-${PV}-src.tar.xz \
|
||||
"rustc-${MY_PV}-src/src/tools/cargo/src/etc/"{_cargo,cargo.bashcomp.sh} || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbashcomp src/tools/cargo/src/etc/cargo.bashcomp.sh cargo
|
||||
dozshcomp src/tools/cargo/src/etc/_cargo
|
||||
}
|
||||
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/rust.asc
|
||||
inherit shell-completion verify-sig
|
||||
|
||||
DESCRIPTION="Common files shared between multiple slots of Rust"
|
||||
HOMEPAGE="https://www.rust-lang.org/"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
# In case cargo is not in sync we'll fetch it as a submodule
|
||||
# Nightly users will probably already have the repo cloned and up-to-date anyway.
|
||||
EGIT_REPO_URI="https://github.com/rust-lang/rust.git"
|
||||
EGIT_SUBMODULES=( "-*" "src/tools/cargo" )
|
||||
elif [[ ${PV} == *beta* ]]; then
|
||||
# Identify the snapshot date of the beta release:
|
||||
# curl -Ls static.rust-lang.org/dist/channel-rust-beta.toml | grep beta-src.tar.xz
|
||||
MY_PV=beta
|
||||
betaver=${PV//*beta}
|
||||
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
|
||||
SRC_URI="https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/rustc-beta-src.tar.xz -> rustc-${PV}-src.tar.xz
|
||||
verify-sig? ( https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/rustc-beta-src.tar.xz.asc
|
||||
-> rustc-${PV}-src.tar.xz.asc )
|
||||
"
|
||||
S="${WORKDIR}/rustc-${MY_PV}-src"
|
||||
else
|
||||
MY_PV=${PV}
|
||||
SRC_URI="https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz
|
||||
verify-sig? ( https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz.asc )
|
||||
"
|
||||
S="${WORKDIR}/rustc-${MY_PV}-src"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4"
|
||||
SLOT="0"
|
||||
|
||||
# Legacy non-slotted versions bash completions will collide.
|
||||
RDEPEND="
|
||||
!dev-lang/rust:stable
|
||||
!dev-lang/rust-bin:stable
|
||||
"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-rust )"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
if use verify-sig ; then
|
||||
verify-sig_verify_detached "${DISTDIR}"/rustc-${PV}-src.tar.xz "${DISTDIR}"/rustc-${PV}-src.tar.xz.asc
|
||||
fi
|
||||
|
||||
# Avoid unpacking the whole tarball which would need check-reqs
|
||||
tar -xf "${DISTDIR}"/rustc-${PV}-src.tar.xz \
|
||||
"rustc-${MY_PV}-src/src/tools/cargo/src/etc/"{_cargo,cargo.bashcomp.sh} || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbashcomp src/tools/cargo/src/etc/cargo.bashcomp.sh cargo
|
||||
dozshcomp src/tools/cargo/src/etc/_cargo
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user