summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-02-07 13:27:32 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-02-07 13:38:55 -0800
commit8ca8d46cf75acaafcbaa710030b56ae20073e1a0 (patch)
tree314f5d5cffbb94c5e92927394d68028269bc9508 /sys-apps/ripgrep
parentapp-admin/sagan: Fix mysql dependencies (diff)
downloadgentoo-8ca8d46cf75acaafcbaa710030b56ae20073e1a0.tar.gz
gentoo-8ca8d46cf75acaafcbaa710030b56ae20073e1a0.tar.bz2
gentoo-8ca8d46cf75acaafcbaa710030b56ae20073e1a0.zip
sys-apps/ripgrep: fix installation warnings
and switch to eclass provided src_test() Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-apps/ripgrep')
-rw-r--r--sys-apps/ripgrep/ripgrep-0.10.0-r1.ebuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys-apps/ripgrep/ripgrep-0.10.0-r1.ebuild b/sys-apps/ripgrep/ripgrep-0.10.0-r1.ebuild
index 481bbb1ae86..a11824de8e2 100644
--- a/sys-apps/ripgrep/ripgrep-0.10.0-r1.ebuild
+++ b/sys-apps/ripgrep/ripgrep-0.10.0-r1.ebuild
@@ -111,16 +111,12 @@ DEPEND="${RDEPEND}
QA_FLAGS_IGNORED="usr/bin/rg"
-src_test() {
- cargo test || die "tests failed"
-}
-
src_compile() {
cargo_src_compile $(usex pcre "--features pcre2" "")
}
src_install() {
- cargo_src_install $(usex pcre "--features pcre2" "")
+ cargo_src_install --path=. $(usex pcre "--features pcre2" "")
# hack to find/install generated files
# stamp file can be present in multiple dirs if we build additional features