summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-05-16 04:08:18 -0400
committerTim Harder <radhermit@gentoo.org>2017-05-16 04:09:20 -0400
commit0e32979cec78c8022ecbfb795d09e95a2aa5e38a (patch)
tree342973df877bd002b1491b1edfae71a1519fdcb9 /sys-apps/ripgrep
parentmedia-gfx/imageworsener: x86 stable wrt bug #618014 (diff)
downloadgentoo-0e32979cec78c8022ecbfb795d09e95a2aa5e38a.tar.gz
gentoo-0e32979cec78c8022ecbfb795d09e95a2aa5e38a.tar.bz2
gentoo-0e32979cec78c8022ecbfb795d09e95a2aa5e38a.zip
sys-apps/ripgrep: version bump to 0.5.2
Diffstat (limited to 'sys-apps/ripgrep')
-rw-r--r--sys-apps/ripgrep/Manifest1
-rw-r--r--sys-apps/ripgrep/ripgrep-0.5.2.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/sys-apps/ripgrep/Manifest b/sys-apps/ripgrep/Manifest
index e72e92b991db..5b3c2955d2b8 100644
--- a/sys-apps/ripgrep/Manifest
+++ b/sys-apps/ripgrep/Manifest
@@ -2,3 +2,4 @@ DIST ripgrep-0.3.2.tar.xz 36002204 SHA256 a45c2af4efac72c12b8fe9eae05ca5f84f06f7
DIST ripgrep-0.4.0.tar.xz 39090216 SHA256 4ebf332e904af6a49195457dc235d8f543a15e130862bf604052a44792406c04 SHA512 a39986b7d08b9661d0d2a3c352a885eeecc0e0dba5fc130ce003f536e1f4638051ba95ab28f0502b778467f3a9a5dc02dd94f38d243b08cb547a8973665e89dd WHIRLPOOL 9b41f8e47cca59ed878283e0fc15211eb745223a54caafc5a9c396a617bbfa9f46783d1cc1ed7d58085de19b0bf3d789e2ec3dbf02216aa0f0f0a44d1042ae1d
DIST ripgrep-0.5.0.tar.xz 45199048 SHA256 1e13a0a81ddc82fa59bfbfc08215ddbf17bd73bebfb4c0f419ea035c7c0ded17 SHA512 773f991a18ecaa9b97d6b7a1331368c309bdd8c68c52cc9b6360702adedae9bfa4849ec79fd8012923e734156e334f9d6d0dd11be8f01d9e01641d22fe506342 WHIRLPOOL 11938d10158e345ba2011587e130adb8d1f0865b11fad2082ac91ce53aedd63d08555316bda3bb2345ca062bf72638c60cb3d672c126aa1b3fd08664c2fb6a0e
DIST ripgrep-0.5.1.tar.xz 45921476 SHA256 72a72716af333aa1d578ca8de55a4ba295abf70ec037ebd89fc7e5e627b4fd17 SHA512 bfeb4ee2373b1ee0d8bc77b3bfbc12eb3e43e5160ca4bbe80206041a29f459ba71d464635f660626f530b8cbc0a39157cb0fc91620236b5bdcd884b024391218 WHIRLPOOL b0cea9c1f931d094752d4b19a98830e57599d484dff07431a80bdc36e926d2ffe7152cfebc041357c4f1bb074d0f3e9a0f67aebcf454fc69e25cacfb2396f360
+DIST ripgrep-0.5.2.tar.xz 48910752 SHA256 e0fadefc1718d967ac15ccc22131255606cddf969b700ccc243c1f973be81d90 SHA512 d8bc86e12be80568de4565c911a03b0c3a15577b22dfa2f1fd9b44f4e77354da1e80852247b9955e225fd13a540acbb3ca7b5a00d686bfa65fdf3f5f329dfcd5 WHIRLPOOL c33a828471a925da2be2f6b3730c28146182ff79b2a75e4f193a0c94f540256cb1670d5cc79470a39d0b898e8c55e20fabe5fdec1c42124339001ad7b437d02c
diff --git a/sys-apps/ripgrep/ripgrep-0.5.2.ebuild b/sys-apps/ripgrep/ripgrep-0.5.2.ebuild
new file mode 100644
index 000000000000..8445e52f2c6f
--- /dev/null
+++ b/sys-apps/ripgrep/ripgrep-0.5.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="a command line search tool that combines usability with raw speed"
+HOMEPAGE="https://github.com/BurntSushi/ripgrep"
+#SRC_URI="https://github.com/BurntSushi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+# custom tarball bundling all deps and index, otherwise cargo fetches from the network
+SRC_URI="http://dev.gentoo.org/~radhermit/dist/${P}.tar.xz"
+
+LICENSE="|| ( MIT Unlicense )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ dev-util/cargo
+ >=dev-lang/rust-1.11
+"
+
+src_prepare() {
+ default
+
+ # move cache dir where cargo expects it
+ mv .cargo "${HOME}" || die
+}
+
+src_compile() {
+ cargo build --release --verbose || die
+}
+
+src_test() {
+ cargo test || die "tests failed"
+}
+
+src_install() {
+ dobin target/release/rg
+ doman doc/rg.1
+ dodoc CHANGELOG.md README.md
+}