commit:     24621566d964285bf633b10735ae1b98fb51e365
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  8 01:12:55 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Apr  8 01:14:05 2022 +0000
URL:        https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=24621566

rdepend on virtual/rust in template

Bug: https://bugs.gentoo.org/836302
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 Cargo.lock                 | 2 +-
 cargo-ebuild-template.tera | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 15df4bf..43138bd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -102,7 +102,7 @@ dependencies = [
 
 [[package]]
 name = "cargo-ebuild"
-version = "0.5.1"
+version = "0.5.2-dev"
 dependencies = [
  "anyhow",
  "cargo-lock",

diff --git a/cargo-ebuild-template.tera b/cargo-ebuild-template.tera
index 7751819..029f38c 100644
--- a/cargo-ebuild-template.tera
+++ b/cargo-ebuild-template.tera
@@ -18,7 +18,10 @@ DEPEND="
        net-libs/libssh2:=
 "
 
-RDEPEND="${DEPEND}"
+RDEPEND="
+       ${DEPEND}
+       virtual/rust
+"
 
 QA_FLAGS_IGNORED="usr/bin/cargo-ebuild"
 {% endblock %}

Reply via email to