summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-09 07:36:16 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-09 07:36:16 +0100
commitc7f6ebbe26db3f2c9dd656438664109ec1329ab1 (patch)
treeb1acc5661852ebe9bb820e630f951be9b949cc15
parentdev-python/environs: Bump to 10.1.0 (diff)
downloadgentoo-c7f6ebbe26db3f2c9dd656438664109ec1329ab1.tar.gz
gentoo-c7f6ebbe26db3f2c9dd656438664109ec1329ab1.tar.bz2
gentoo-c7f6ebbe26db3f2c9dd656438664109ec1329ab1.zip
cargo.eclass: Revert PKGBUMPING for CARGO_CRATE_URIS
Setting PKGBUMPING would result in empty crate URI list which is incorrect when used inside an USE-conditional group. Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--eclass/cargo.eclass3
1 files changed, 0 insertions, 3 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index 7bdd548b0df8..3bdbb5e3ec64 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -175,9 +175,6 @@ ECARGO_VENDOR="${ECARGO_HOME}/gentoo"
# If no arguments are provided, it uses the CRATES variable.
# The value is set as CARGO_CRATE_URIS.
_cargo_set_crate_uris() {
- # when called by pkgbump, do not fetch crates
- [[ ${PKGBUMPING} == ${PVR} ]] && return
-
local -r regex='^([a-zA-Z0-9_\-]+)-([0-9]+\.[0-9]+\.[0-9]+.*)$'
local crates=${1}
local crate