diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2019-12-22 21:30:33 -0600 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-12-26 17:59:29 -0800 |
commit | 43c2a717e665e94232f46379013706959207c51a (patch) | |
tree | 3d6af6c0ddb30b4965a991af9e2449d53ca2b4eb /sys-apps | |
parent | dev-python/ipykernel: do not mangle the python call. (diff) | |
download | gentoo-43c2a717e665e94232f46379013706959207c51a.tar.gz gentoo-43c2a717e665e94232f46379013706959207c51a.tar.bz2 gentoo-43c2a717e665e94232f46379013706959207c51a.zip |
eclass/cargo.eclass: specify --path . to install
cargo install has long required --path . for 2018 edition crates but not
required it for 2015 edition crates. It is supported however for 2015
edition crates and works for all versions in the tree so it makes sense
to make it the default. Added CARGO_INSTALL_PATH as an eclass variable
allowing to override the default.
Closes: https://bugs.gentoo.org/703590
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/14097
Tested-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/bat/bat-0.12.0.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/exa/exa-0.9.0.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/fd/fd-7.3.0-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/lsd/lsd-0.14.0.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/lsd/lsd-0.15.1.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/lsd/lsd-0.16.0.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/ripgrep/ripgrep-11.0.1.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/ripgrep/ripgrep-11.0.2.ebuild | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/sys-apps/bat/bat-0.12.0.ebuild b/sys-apps/bat/bat-0.12.0.ebuild index b64e6923594a..e48ae145f2d0 100644 --- a/sys-apps/bat/bat-0.12.0.ebuild +++ b/sys-apps/bat/bat-0.12.0.ebuild @@ -169,7 +169,7 @@ DOCS=( README.md doc/alternatives.md ) QA_FLAGS_IGNORED="/usr/bin/bat" src_install() { - cargo_src_install --path=. + cargo_src_install doman doc/bat.1 einstalldocs insinto /usr/share/fish/vendor_completions.d/ diff --git a/sys-apps/exa/exa-0.9.0.ebuild b/sys-apps/exa/exa-0.9.0.ebuild index 633657fe1c84..5ef9de3fb7b0 100644 --- a/sys-apps/exa/exa-0.9.0.ebuild +++ b/sys-apps/exa/exa-0.9.0.ebuild @@ -99,7 +99,7 @@ src_compile() { } src_install() { - cargo_src_install --path=./ $(usex git "" --no-default-features) + cargo_src_install $(usex git "" --no-default-features) newbashcomp contrib/completions.bash exa diff --git a/sys-apps/fd/fd-7.3.0-r1.ebuild b/sys-apps/fd/fd-7.3.0-r1.ebuild index 3afbc07ff760..66ffd10fadf6 100644 --- a/sys-apps/fd/fd-7.3.0-r1.ebuild +++ b/sys-apps/fd/fd-7.3.0-r1.ebuild @@ -86,7 +86,7 @@ src_compile() { } src_install() { - cargo_src_install --path=. + cargo_src_install newbashcomp "${T}"/shell_completions/fd.bash fd insinto /usr/share/zsh/site-functions diff --git a/sys-apps/lsd/lsd-0.14.0.ebuild b/sys-apps/lsd/lsd-0.14.0.ebuild index b7706acf02f5..e8451f706387 100644 --- a/sys-apps/lsd/lsd-0.14.0.ebuild +++ b/sys-apps/lsd/lsd-0.14.0.ebuild @@ -59,6 +59,6 @@ BDEPEND=">=virtual/rust-1.31.0" QA_FLAGS_IGNORED="/usr/bin/lsd" src_install() { - cargo_src_install --path . + cargo_src_install einstalldocs } diff --git a/sys-apps/lsd/lsd-0.15.1.ebuild b/sys-apps/lsd/lsd-0.15.1.ebuild index 25a04b987bfc..4eb55bcbe8f0 100644 --- a/sys-apps/lsd/lsd-0.15.1.ebuild +++ b/sys-apps/lsd/lsd-0.15.1.ebuild @@ -62,6 +62,6 @@ BDEPEND=">=virtual/rust-1.31.0" QA_FLAGS_IGNORED="/usr/bin/lsd" src_install() { - cargo_src_install --path . + cargo_src_install einstalldocs } diff --git a/sys-apps/lsd/lsd-0.16.0.ebuild b/sys-apps/lsd/lsd-0.16.0.ebuild index 9e3d88dadba3..4f51333bfcb8 100644 --- a/sys-apps/lsd/lsd-0.16.0.ebuild +++ b/sys-apps/lsd/lsd-0.16.0.ebuild @@ -74,6 +74,6 @@ BDEPEND=">=virtual/rust-1.31.0" QA_FLAGS_IGNORED="/usr/bin/lsd" src_install() { - cargo_src_install --path . + cargo_src_install einstalldocs } diff --git a/sys-apps/ripgrep/ripgrep-11.0.1.ebuild b/sys-apps/ripgrep/ripgrep-11.0.1.ebuild index 7c2dbd8ad9fd..bac0e66e2273 100644 --- a/sys-apps/ripgrep/ripgrep-11.0.1.ebuild +++ b/sys-apps/ripgrep/ripgrep-11.0.1.ebuild @@ -115,7 +115,7 @@ src_compile() { } src_install() { - cargo_src_install --path=. $(usex pcre "--features pcre2" "") + cargo_src_install $(usex pcre "--features pcre2" "") # hack to find/install generated files # stamp file can be present in multiple dirs if we build additional features diff --git a/sys-apps/ripgrep/ripgrep-11.0.2.ebuild b/sys-apps/ripgrep/ripgrep-11.0.2.ebuild index 3d20e3a68a98..fb7f5349baa8 100644 --- a/sys-apps/ripgrep/ripgrep-11.0.2.ebuild +++ b/sys-apps/ripgrep/ripgrep-11.0.2.ebuild @@ -99,7 +99,7 @@ src_compile() { } src_install() { - cargo_src_install --path=. $(usex pcre "--features pcre2" "") + cargo_src_install $(usex pcre "--features pcre2" "") # hack to find/install generated files # stamp file can be present in multiple dirs if we build additional features |