From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 35187158099 for ; Tue, 28 Nov 2023 06:20:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 784D42BC014; Tue, 28 Nov 2023 06:19:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 57B342BC014 for ; Tue, 28 Nov 2023 06:19:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 659C0342F5E for ; Tue, 28 Nov 2023 06:19:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD98313B9 for ; Tue, 28 Nov 2023 06:19:56 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1701152354.bc54c6ac185eb4af28f7738fe735820b85638032.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/ripgrep/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/ripgrep/Manifest sys-apps/ripgrep/ripgrep-14.0.2.ebuild X-VCS-Directories: sys-apps/ripgrep/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bc54c6ac185eb4af28f7738fe735820b85638032 X-VCS-Branch: master Date: Tue, 28 Nov 2023 06:19:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1c3518b0-3cbf-466d-ac04-45d99c3cd937 X-Archives-Hash: 29b78f2bb4f15d07270134cca95d5cd3 commit: bc54c6ac185eb4af28f7738fe735820b85638032 Author: Sam James gentoo org> AuthorDate: Tue Nov 28 03:37:47 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Nov 28 06:19:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc54c6ac sys-apps/ripgrep: add 14.0.2 Signed-off-by: Sam James gentoo.org> sys-apps/ripgrep/Manifest | 1 + sys-apps/ripgrep/ripgrep-14.0.2.ebuild | 115 +++++++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+) diff --git a/sys-apps/ripgrep/Manifest b/sys-apps/ripgrep/Manifest index a6491648260e..32b4e5cb952c 100644 --- a/sys-apps/ripgrep/Manifest +++ b/sys-apps/ripgrep/Manifest @@ -72,6 +72,7 @@ DIST regex-syntax-0.8.2.crate 347228 BLAKE2B 211fd1c35ad0f28874d4b4d276e0fb0a27e DIST ripgrep-13.0.0-x86_64-unknown-linux-musl.tar.gz 2109801 BLAKE2B a2c9b967cae640bd0b71f565964443bfab5a0925b938cf94404bef29c79abab94bb81540693858de0e246217a834203b3e430d77fd23cf699af53b4c74e8eabc SHA512 cdc18bd31019fc7b8509224c2f52b230be33dee36deea2e4db1ee8c78ace406c7cd182814d056f4ce65ee533290a674822432777b61c2b4bc8cc4a4ea107cfde 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 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.2.ebuild b/sys-apps/ripgrep/ripgrep-14.0.2.ebuild new file mode 100644 index 000000000000..a55c00b59efc --- /dev/null +++ b/sys-apps/ripgrep/ripgrep-14.0.2.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 +}