summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-11-29 03:08:03 +0000
committerSam James <sam@gentoo.org>2023-11-29 03:08:03 +0000
commitec2d09db9622744b40d67ff2afb4dd33a462925d (patch)
tree39d85ff69ad9f4d3347cf55f8a8868022fbeecd7 /sys-apps/ripgrep
parentprofiles: mask broken/yanked =dev-python/bcrypt-4.1.0 (diff)
downloadgentoo-ec2d09db9622744b40d67ff2afb4dd33a462925d.tar.gz
gentoo-ec2d09db9622744b40d67ff2afb4dd33a462925d.tar.bz2
gentoo-ec2d09db9622744b40d67ff2afb4dd33a462925d.zip
sys-apps/ripgrep: add 14.0.3
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/ripgrep')
-rw-r--r--sys-apps/ripgrep/Manifest1
-rw-r--r--sys-apps/ripgrep/ripgrep-14.0.3.ebuild115
2 files changed, 116 insertions, 0 deletions
diff --git a/sys-apps/ripgrep/Manifest b/sys-apps/ripgrep/Manifest
index 32b4e5cb952c..5c9b2b2eb3e0 100644
--- a/sys-apps/ripgrep/Manifest
+++ b/sys-apps/ripgrep/Manifest
@@ -73,6 +73,7 @@ DIST ripgrep-13.0.0-x86_64-unknown-linux-musl.tar.gz 2109801 BLAKE2B a2c9b967cae
DIST ripgrep-13.0.0.tar.gz 505536 BLAKE2B fa37d3c36d56e460cdf51e544c320533f16b14fd2cd3105ad3a2db64e98d2821306da8b063e597e0441492cf3872fccdd0b5064b29a537e440227ac492304f09 SHA512 9321532e4bf633ecd200d98873b6773230d046d7bd075f223f09a68531cef4e4138f01c6b41e0f8697805963ae7e0d44d542c6d94025d9a06fbbef3562c17734
DIST ripgrep-14.0.0.tar.gz 583168 BLAKE2B 779b37b7c0bf343973221741890bfe58b3a6b3cf42507e6add44bf9ce459a48e061dc173ca147e14a5b248e0c2e88361bf6febc0b8ac8fd86b2fe928d9687284 SHA512 b034c9461e3a0aba8fa9516914c80918e6dd3563046e0f3cf6a952ac25ff2563b9b551dda00f1ef56a8b98954aa2b73e86ef44bb0ddefaafbfbda0c9ff13e43f
DIST ripgrep-14.0.2.tar.gz 583769 BLAKE2B d438907a4a2b0c7630ad33bb8a2b88696d04a31211b354fb3485764cba21a760de76758a1023c666b288cbf680fc89ef58e479559f25f165cce025ba5bca9712 SHA512 be80aea9b5e3645d96ca657898975214bbd72da7c18d514d31dde1af7f8cfb24e0e9d4c783868e499621252becea4cd962325d2301bf594036e07cfc07ee31d2
+DIST ripgrep-14.0.3.tar.gz 583882 BLAKE2B 81eb735c57be43552310851973180483292c1b7c56dc5aa7fbf8768ba8cd7a687c3811c05fc27e8e580432efb9d839a7d830168f62cedeea059969750f9475ab SHA512 ffe0a7fa619c94cb48642854f0660cc091a09e38d3b9a59baac76f54f0ba2d59a693849fc73b34a09e2fff26f3059dfe396b34a6864b9332bbd3daffe490d4b0
DIST ryu-1.0.15.crate 46906 BLAKE2B 6d6949e43aaa27fba0ec6002fa11ba859af8d867f87c90d88413267186abbf6302b817985bca3d577ab3fab2e319e11756f144473a16330dfd8fc7b604cdc4b3 SHA512 4655b5647f919082a9b84b889539ae7fb23a1201057cf280efe79c58cb5f040864efb7812cda5021bf6d34838a15d173ac8bdb0fb9fa2dba85173d3efa5a826b
DIST ryu-1.0.5.crate 49570 BLAKE2B 3bfba4a5f290a429de7ac3b86823b2a973f40eb6f48c15329173d95964d31ada36f2618be4b36774a03f97f2ce61364900c6a3ad5465a294e2df311a1f4104ed SHA512 d1708ffa3112a684edf2956b6730ead040401d38f1457cde074eaaa59c249007dc8b925629e7f6df89f7ea757e9d0826649d685cc8ede0a04d50296048bf476c
DIST same-file-1.0.6.crate 10183 BLAKE2B a320c8343e0b38078ba81c4f0159d886bf47764c74efe0d7cd2b3218426e8341b51e523c00a9e5fbc2ee1057618296bd70b576c68751bd55d6ddb352defaca15 SHA512 3ba35309742c8db63210d9ea78bff4ecd80471d69e6238eb96c7bf0673814f221e2d838fe6311bfc5a0e71b4a7ccba33e07859c0b9cff2171969ff08a4214a7c
diff --git a/sys-apps/ripgrep/ripgrep-14.0.3.ebuild b/sys-apps/ripgrep/ripgrep-14.0.3.ebuild
new file mode 100644
index 000000000000..a55c00b59efc
--- /dev/null
+++ b/sys-apps/ripgrep/ripgrep-14.0.3.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+ aho-corasick@1.1.2
+ anyhow@1.0.75
+ autocfg@1.1.0
+ bstr@1.8.0
+ cc@1.0.83
+ cfg-if@1.0.0
+ crossbeam-channel@0.5.8
+ crossbeam-deque@0.8.3
+ crossbeam-epoch@0.9.15
+ crossbeam-utils@0.8.16
+ encoding_rs@0.8.33
+ encoding_rs_io@0.1.7
+ glob@0.3.1
+ itoa@1.0.9
+ jemalloc-sys@0.5.4+5.3.0-patched
+ jemallocator@0.5.4
+ jobserver@0.1.27
+ lexopt@0.3.0
+ libc@0.2.150
+ libm@0.2.8
+ log@0.4.20
+ memchr@2.6.4
+ memmap2@0.9.0
+ memoffset@0.9.0
+ num-traits@0.2.17
+ packed_simd@0.3.9
+ pcre2-sys@0.2.7
+ pcre2@0.2.6
+ pkg-config@0.3.27
+ proc-macro2@1.0.70
+ quote@1.0.33
+ regex-automata@0.4.3
+ regex-syntax@0.8.2
+ regex@1.10.2
+ ryu@1.0.15
+ same-file@1.0.6
+ scopeguard@1.2.0
+ serde@1.0.193
+ serde_derive@1.0.193
+ serde_json@1.0.108
+ syn@2.0.39
+ termcolor@1.4.0
+ textwrap@0.16.0
+ unicode-ident@1.0.12
+ walkdir@2.4.0
+ winapi-i686-pc-windows-gnu@0.4.0
+ winapi-util@0.1.6
+ winapi-x86_64-pc-windows-gnu@0.4.0
+ winapi@0.3.9
+"
+
+inherit cargo bash-completion-r1
+
+DESCRIPTION="Search tool that combines the usability of ag with the raw speed of grep"
+HOMEPAGE="https://github.com/BurntSushi/ripgrep"
+SRC_URI="
+ https://github.com/BurntSushi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+ ${CARGO_CRATE_URIS}
+"
+
+LICENSE="Apache-2.0"
+# Dependent crate licenses
+LICENSE+="
+ BSD MIT Unicode-DFS-2016
+ || ( Apache-2.0 Boost-1.0 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+pcre"
+
+RDEPEND="pcre? ( dev-libs/libpcre2:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=virtual/rust-1.72
+ virtual/pkgconfig
+"
+
+QA_FLAGS_IGNORED="usr/bin/rg"
+
+src_configure() {
+ # allow building on musl with dynamic linking support
+ # https://github.com/BurntSushi/rust-pcre2/issues/7
+ use pcre && export PCRE2_SYS_STATIC=0
+ myfeatures=( $(usev pcre pcre2) )
+ cargo_src_configure
+}
+
+src_install() {
+ cargo_src_install
+
+ newbashcomp - rg <<-EOF
+ $(target/$(usex debug debug release)/rg --generate complete-bash)
+ EOF
+
+ insinto /usr/share/fish/vendor_completions.d
+ newins - rg.fish <<-EOF
+ $(target/$(usex debug debug release)/rg --generate complete-fish)
+ EOF
+
+ insinto /usr/share/zsh/site-functions
+ newins - _rg <<-EOF
+ $(target/$(usex debug debug release)/rg --generate complete-zsh)
+ EOF
+
+ dodoc CHANGELOG.md FAQ.md GUIDE.md README.md
+ newman - rg.1 <<-EOF
+ $(target/$(usex debug debug release)/rg --generate man)
+ EOF
+}