summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2018-09-20 11:20:12 +0200
committerDirkjan Ochtman <djc@gentoo.org>2018-09-29 15:21:16 +0200
commit9302e0ccc9521d8a0cf401431c62218015efb370 (patch)
tree62109e3120725389d23c88aca118b95dca2118a2
parentmedia-video/vdr: Remove obsolete pkgref to vdr-rotor (diff)
downloadgentoo-9302e0ccc9521d8a0cf401431c62218015efb370.tar.gz
gentoo-9302e0ccc9521d8a0cf401431c62218015efb370.tar.bz2
gentoo-9302e0ccc9521d8a0cf401431c62218015efb370.zip
cargo.eclass: restrict pretag pattern to allow extended versions
This is needed for openssl-src, which has a version like 110.0.7+1.1.0i. Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>
-rw-r--r--eclass/cargo.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index a15dfa9f30c..bb27aa315ee 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -39,7 +39,7 @@ cargo_crate_uris() {
local name version url pretag
name="${crate%-*}"
version="${crate##*-}"
- pretag="[a-zA-Z]+"
+ pretag="^[a-zA-Z]+"
if [[ $version =~ $pretag ]]; then
version="${name##*-}-${version}"
name="${name%-*}"