Summary: | cargo.eclass does not set any dependencies | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta> |
Component: | Eclasses | Assignee: | Gentoo Rust Project <rust> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch |
Description
Arfrever Frehtes Taifersar Arahesis
2018-10-15 07:06:05 UTC
*** Bug 663520 has been marked as a duplicate of this bug. *** *** Bug 663890 has been marked as a duplicate of this bug. *** *** Bug 665290 has been marked as a duplicate of this bug. *** Created attachment 551300 [details, diff]
Patch
Ugh, thanks for figuring that out. So, like this? diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index bb27aa315ee..c26619e0154 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -16,8 +16,8 @@ CARGO_DEPEND="" [[ ${CATEGORY}/${PN} != dev-util/cargo ]] && CARGO_DEPEND="virtual/cargo" case ${EAPI} in - 6) : DEPEND="${DEPEND} ${CARGO_DEPEND}";; - 7) : BDEPEND="${BDEPEND} ${CARGO_DEPEND}";; + 6) DEPEND="${DEPEND} ${CARGO_DEPEND}";; + 7) BDEPEND="${BDEPEND} ${CARGO_DEPEND}";; *) die "EAPI=${EAPI:-0} is not supported" ;; esac (In reply to Dirkjan Ochtman from comment #5) I have attached the full patch. You can download it and apply it using 'git am /path/to/patch'. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a381a6fc38056ebf7d548445062bd38c3cfa911f commit a381a6fc38056ebf7d548445062bd38c3cfa911f Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2018-10-15 07:12:46 +0000 Commit: Dirkjan Ochtman <djc@gentoo.org> CommitDate: 2018-10-15 19:35:53 +0000 cargo.eclass: Really set dependencies. Closes: https://bugs.gentoo.org/668680 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Dirkjan Ochtman <djc@gentoo.org> eclass/cargo.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Thanks! |