commit:     9fa97aa8a1c4c51a7ec87cdf608bedbe6e708c38
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 11 21:37:35 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 11 21:51:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fa97aa8

dev-lang/rust: drop unused RUST_PATCH_VER

Some prep work to make b4747b945b528eef127f2704c9f3058accde384e a bit
easier to do in future. Doing this as a separate commit to be a bit
cleaner, as this wasn't right before either.

Bug: https://bugs.gentoo.org/967342
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/rust/rust-1.92.0_p1.ebuild | 3 +--
 dev-lang/rust/rust-9999.ebuild      | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-lang/rust/rust-1.92.0_p1.ebuild 
b/dev-lang/rust/rust-1.92.0_p1.ebuild
index 5442203bcf3a..68c22178187e 100644
--- a/dev-lang/rust/rust-1.92.0_p1.ebuild
+++ b/dev-lang/rust/rust-1.92.0_p1.ebuild
@@ -8,7 +8,6 @@ EAPI=8
 LLVM_COMPAT=( 21 )
 PYTHON_COMPAT=( python3_{11..14} )
 
-RUST_PATCH_VER=${PV#*_p}
 RUST_MAX_VER=${PV%%_*}
 RUST_PV=${PV%%_p*}
 
@@ -273,7 +272,7 @@ rust_live_get_sources() {
        EGIT_REPO_URI="
                https://anongit.gentoo.org/git/proj/rust-patches.git
        "
-       EGIT_CHECKOUT_DIR="${WORKDIR}/rust-patches-${RUST_PATCH_VER}"
+       EGIT_CHECKOUT_DIR="${WORKDIR}/rust-patches-${PV}"
        git-r3_src_unpack
 
        EGIT_REPO_URI="

diff --git a/dev-lang/rust/rust-9999.ebuild b/dev-lang/rust/rust-9999.ebuild
index 085cdd16a0fd..1820e93bbc02 100644
--- a/dev-lang/rust/rust-9999.ebuild
+++ b/dev-lang/rust/rust-9999.ebuild
@@ -8,7 +8,6 @@ EAPI=8
 LLVM_COMPAT=( 21 )
 PYTHON_COMPAT=( python3_{11..14} )
 
-RUST_PATCH_VER=${PV#*_p}
 RUST_MAX_VER=${PV%%_*}
 RUST_PV=${PV%%_p*}
 
@@ -273,7 +272,7 @@ rust_live_get_sources() {
        EGIT_REPO_URI="
                https://anongit.gentoo.org/git/proj/rust-patches.git
        "
-       EGIT_CHECKOUT_DIR="${WORKDIR}/rust-patches-${RUST_PATCH_VER}"
+       EGIT_CHECKOUT_DIR="${WORKDIR}/rust-patches-${PV}"
        git-r3_src_unpack
 
        EGIT_REPO_URI="

Reply via email to