From be94ae04eee564451203d45977c2ef7c7ace1580 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Nov 2024 03:03:09 +0000 Subject: gentoo auto-resync : 10:11:2024 - 03:03:09 --- sys-apps/ripgrep/Manifest | 2 +- sys-apps/ripgrep/ripgrep-14.1.1-r1.ebuild | 117 ++++++++++++++++++++++++++++++ sys-apps/ripgrep/ripgrep-14.1.1.ebuild | 116 ----------------------------- 3 files changed, 118 insertions(+), 117 deletions(-) create mode 100644 sys-apps/ripgrep/ripgrep-14.1.1-r1.ebuild delete mode 100644 sys-apps/ripgrep/ripgrep-14.1.1.ebuild (limited to 'sys-apps/ripgrep') diff --git a/sys-apps/ripgrep/Manifest b/sys-apps/ripgrep/Manifest index a56ac3c51773..118ee677507e 100644 --- a/sys-apps/ripgrep/Manifest +++ b/sys-apps/ripgrep/Manifest @@ -50,5 +50,5 @@ DIST windows_i686_msvc-0.52.6.crate 901163 BLAKE2B 99ed34e052db5ba77bab240ed5d38 DIST windows_x86_64_gnu-0.52.6.crate 836363 BLAKE2B e2335829155cdbd4a55cc9f9babc237e14e32aab97f6f91afabcdf80d2aee37d6fb4b8669aaf433ff532c85dba59b3d366c7d41b61a2f29b96f960169c900687 SHA512 c4086bb0280042f2bef9b556283b67f8a5cacddd209e1c5fabec63decec6d4fd2d6a7071407973981b98ae0c0cf7034fc612f9e70dc6d3eed9acdec771ae31cb DIST windows_x86_64_gnullvm-0.52.6.crate 435707 BLAKE2B ab77dccd06328cdb00175f41cdbc120594050a9678b7f9820444391fb50aada3911a91ea00f3a6db2b4fa1820fd23bc9a007dfbe65ad41417c26ee1137ef9b96 SHA512 67681f5859e249c56b0183181811f6212cc7008d6471dad78aecc7ebe3d027686b19210b8aa9014c554410f69f913d21ce2aca928eea905eab779bea26464cbd DIST windows_x86_64_msvc-0.52.6.crate 832564 BLAKE2B 8e9a3044654c6de99a9153e7cacd575474e7a8a3d883c67b02132af5d3fc99d03cd5f7a4dd666a3947451d11218e6acc6eb5e2526f012481106cc13453839719 SHA512 21944cd8e3a481b514509e73ae3f62722fe7ed380d37ea0c25f8fbdeba79174dd52ff65d898838da5df4197894b74e00f45d47489418e978753b4e55c7e623e7 -EBUILD ripgrep-14.1.1.ebuild 2474 BLAKE2B fdf5ebf1ec80103020c8c7b87f04b2125bcb19e5b6f112afd226143117d15382ac52756b37ee16efbb4f0e2a6a44f941c81a604fc3aaedd1d7aa3d2b55404c50 SHA512 fabf42fac798a98ca5b7310a0832c9f8bd3c2a79794c34440d8603cfde6ef7213bbe8d9edffa8e21eedcaf8d0b3fd7a387a1ead8a8a449ed1725b356f14872cc +EBUILD ripgrep-14.1.1-r1.ebuild 2476 BLAKE2B 28c15773bc3ef1114c2b8dd22191ce0f377044ae8a2a3b63df6f4ba22ac9bdcdf3d555ffd0155abbd1704a064ff2953de98ab26ade81b62dca4085d447c6fd1a SHA512 a0148d5d87ceab861abed690010ef242e0cd410a69fec05fa8656239292c280785ac800f93e20547e2a3b61dcf20eb26b971082636bfb355245bf495b2683d43 MISC metadata.xml 612 BLAKE2B ac80b8ebf9a393ade11852d4ece6cecc2c4851414a5cd559445a7651d25b842e1d7e4920884a71f9cf59f25b5600979b0f8f5a3f4354b6c1f1d930c3adbb6035 SHA512 d8f1754ac2a831a6107c3a6a2812696d1b74dca92ff1c5f42d89c783a0bc5a6018ed9c06bf8c0fc4aa4fbe46ff40ee011bd3e61f0cd256a74895ce3b06bfa226 diff --git a/sys-apps/ripgrep/ripgrep-14.1.1-r1.ebuild b/sys-apps/ripgrep/ripgrep-14.1.1-r1.ebuild new file mode 100644 index 000000000000..3b365db8e3c0 --- /dev/null +++ b/sys-apps/ripgrep/ripgrep-14.1.1-r1.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + aho-corasick@1.1.3 + anyhow@1.0.87 + bstr@1.10.0 + cc@1.1.18 + cfg-if@1.0.0 + crossbeam-channel@0.5.13 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.20 + encoding_rs@0.8.34 + encoding_rs_io@0.1.7 + glob@0.3.1 + itoa@1.0.11 + jemalloc-sys@0.5.4+5.3.0-patched + jemallocator@0.5.4 + jobserver@0.1.32 + lexopt@0.3.0 + libc@0.2.158 + log@0.4.22 + memchr@2.7.4 + memmap2@0.9.4 + pcre2-sys@0.2.9 + pcre2@0.2.9 + pkg-config@0.3.30 + proc-macro2@1.0.86 + quote@1.0.37 + regex-automata@0.4.7 + regex-syntax@0.8.4 + regex@1.10.6 + ryu@1.0.18 + same-file@1.0.6 + serde@1.0.210 + serde_derive@1.0.210 + serde_json@1.0.128 + shlex@1.3.0 + syn@2.0.77 + termcolor@1.4.1 + textwrap@0.16.1 + unicode-ident@1.0.12 + walkdir@2.5.0 + winapi-util@0.1.9 + windows-sys@0.59.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 +" + +RUST_MIN_VER="1.74.1" + +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 ~loong ppc64 ~riscv x86" +IUSE="+pcre" + +RDEPEND="pcre? ( dev-libs/libpcre2:= )" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +QA_FLAGS_IGNORED="usr/bin/rg" + +src_prepare() { + default + # unforce static linking on musl + rm .cargo/config.toml || die +} + +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 + + local gen=( "$(cargo_target_dir)"/rg --generate ) + newbashcomp - rg < <( "${gen[@]}" complete-bash || die ) + + insinto /usr/share/fish/vendor_completions.d + newins - rg.fish < <( "${gen[@]}" complete-fish || die ) + + insinto /usr/share/zsh/site-functions + newins - _rg < <( "${gen[@]}" complete-zsh || die ) + + dodoc CHANGELOG.md FAQ.md GUIDE.md README.md + newman - rg.1 < <( "${gen[@]}" man || die ) +} diff --git a/sys-apps/ripgrep/ripgrep-14.1.1.ebuild b/sys-apps/ripgrep/ripgrep-14.1.1.ebuild deleted file mode 100644 index 85eb70fa4749..000000000000 --- a/sys-apps/ripgrep/ripgrep-14.1.1.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - aho-corasick@1.1.3 - anyhow@1.0.87 - bstr@1.10.0 - cc@1.1.18 - cfg-if@1.0.0 - crossbeam-channel@0.5.13 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.20 - encoding_rs@0.8.34 - encoding_rs_io@0.1.7 - glob@0.3.1 - itoa@1.0.11 - jemalloc-sys@0.5.4+5.3.0-patched - jemallocator@0.5.4 - jobserver@0.1.32 - lexopt@0.3.0 - libc@0.2.158 - log@0.4.22 - memchr@2.7.4 - memmap2@0.9.4 - pcre2-sys@0.2.9 - pcre2@0.2.9 - pkg-config@0.3.30 - proc-macro2@1.0.86 - quote@1.0.37 - regex-automata@0.4.7 - regex-syntax@0.8.4 - regex@1.10.6 - ryu@1.0.18 - same-file@1.0.6 - serde@1.0.210 - serde_derive@1.0.210 - serde_json@1.0.128 - shlex@1.3.0 - syn@2.0.77 - termcolor@1.4.1 - textwrap@0.16.1 - unicode-ident@1.0.12 - walkdir@2.5.0 - winapi-util@0.1.9 - windows-sys@0.59.0 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.52.6 - windows_i686_gnu@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_msvc@0.52.6 - windows_x86_64_gnu@0.52.6 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_msvc@0.52.6 -" - -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 ~loong 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_prepare() { - default - # unforce static linking on musl - rm .cargo/config.toml || die -} - -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 - - local gen=( "$(cargo_target_dir)"/rg --generate ) - newbashcomp - rg < <( "${gen[@]}" complete-bash || die ) - - insinto /usr/share/fish/vendor_completions.d - newins - rg.fish < <( "${gen[@]}" complete-fish || die ) - - insinto /usr/share/zsh/site-functions - newins - _rg < <( "${gen[@]}" complete-zsh || die ) - - dodoc CHANGELOG.md FAQ.md GUIDE.md README.md - newman - rg.1 < <( "${gen[@]}" man || die ) -} -- cgit v1.2.3