From: "Mikhail Pukhlikov" <cynede@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/rust:master commit in: eclass/
Date: Thu, 5 Mar 2020 06:17:30 +0000 (UTC) [thread overview]
Message-ID: <1583389039.5be97775f4ec8fdb8ece5956e47da5a5b4a69490.cynede@gentoo> (raw)
commit: 5be97775f4ec8fdb8ece5956e47da5a5b4a69490
Author: stefson <herrtimson <AT> yahoo <DOT> de>
AuthorDate: Wed Mar 4 15:22:55 2020 +0000
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Thu Mar 5 06:17:19 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/rust.git/commit/?id=5be97775
cargo eclass: fix if then statement
Signed-off-by: Steffen Kuhn <nielson2 <AT> yandex.com>
Closes: https://github.com/gentoo/gentoo-rust/pull/480
Signed-off-by: Mikhail Pukhlikov <cynede <AT> gentoo.org>
eclass/cargo.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index eacad3e..5207d2a 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -39,11 +39,11 @@ cargo_crate_uris() {
readonly regex='^(.*)-([0-9]+\.[0-9]+\.[0-9]+.*)$'
local crate
for crate in "$@"; do
- if [[ "${CARGO_FETCH_CRATES}" == "not" ]]; then
local name version url
[[ $crate =~ $regex ]] || die "Could not parse name and version from crate: $crate"
name="${BASH_REMATCH[1]}"
version="${BASH_REMATCH[2]}"
+ if [[ "${CARGO_FETCH_CRATES}" == "not" ]]; then
url="https://crates.io/api/v1/crates/${name}/${version}/download -> ${crate}.crate"
else
url=""
next reply other threads:[~2020-03-05 6:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-05 6:17 Mikhail Pukhlikov [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-08-03 6:27 [gentoo-commits] repo/proj/rust:master commit in: eclass/ Mikhail Pukhlikov
2020-03-05 6:17 Mikhail Pukhlikov
2019-12-23 6:54 Mikhail Pukhlikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1583389039.5be97775f4ec8fdb8ece5956e47da5a5b4a69490.cynede@gentoo \
--to=cynede@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox