public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/ugrep/
@ 2024-04-29  0:20 Christopher Fore
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Fore @ 2024-04-29  0:20 UTC (permalink / raw
  To: gentoo-commits

commit:     ff0fec1c7e71afc5a9c9067b4fc9376618c8092e
Author:     Christopher Fore <csfore <AT> posteo <DOT> net>
AuthorDate: Mon Apr 29 00:20:24 2024 +0000
Commit:     Christopher Fore <csfore <AT> posteo <DOT> net>
CommitDate: Mon Apr 29 00:20:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff0fec1c

sys-apps/ugrep: new package, add 5.1.4

- Tests pass

Signed-off-by: Christopher Fore <csfore <AT> posteo.net>

 sys-apps/ugrep/Manifest           |  1 +
 sys-apps/ugrep/metadata.xml       | 17 ++++++++++
 sys-apps/ugrep/ugrep-5.1.4.ebuild | 66 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 84 insertions(+)

diff --git a/sys-apps/ugrep/Manifest b/sys-apps/ugrep/Manifest
new file mode 100644
index 0000000000..be28280c3f
--- /dev/null
+++ b/sys-apps/ugrep/Manifest
@@ -0,0 +1 @@
+DIST ugrep-5.1.4.tar.gz 6280906 BLAKE2B 3f6e1a20ec9a5a012d3152562d1792a6c4c49dd0874976128ea408e39269ac6df60f6879e631b8471594c2ed840c46b68de0ce5b0e6f5197b665783e39bbde39 SHA512 d746c77a22a98c2719cc7b443351a3d27f0f2712a2be483596965cc2b6127f28b9e564ca32db1fea950a6315053c89440912d4b7311073bd97d7702f02521378

diff --git a/sys-apps/ugrep/metadata.xml b/sys-apps/ugrep/metadata.xml
new file mode 100644
index 0000000000..fc2bf4ae17
--- /dev/null
+++ b/sys-apps/ugrep/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>csfore@posteo.net</email>
+    <name>Christopher Fore</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">Genivia/ugrep</remote-id>
+  </upstream>
+  <use>
+    <flag name="7zip">Adds support for 7zip packages.</flag>
+    <flag name="boost">Uses <pkg>dev-libs/boost</pkg> for regular expression parsing.</flag>
+    <flag name="bzip3">Adds support for bzip3 packages using <pkg>app-arch/bzip3</pkg>.</flag>
+    <flag name="pcre2">Uses <pkg>dev-libs/libpcre2</pkg> for regular expression parsing.</flag>
+  </use>
+</pkgmetadata>

diff --git a/sys-apps/ugrep/ugrep-5.1.4.ebuild b/sys-apps/ugrep/ugrep-5.1.4.ebuild
new file mode 100644
index 0000000000..72e7599f12
--- /dev/null
+++ b/sys-apps/ugrep/ugrep-5.1.4.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit shell-completion
+
+DESCRIPTION="A fast, drop-in replacement for GNU grep"
+HOMEPAGE="https://ugrep.com/"
+SRC_URI="https://github.com/Genivia/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="7zip brotli boost bzip3 cpu_flags_arm_neon cpu_flags_x86_avx2 cpu_flags_x86_sse2 +lzma lz4 +mmap +pcre2 +zlib zstd"
+
+COMMON_DEPEND="
+	brotli? ( app-arch/brotli )
+	boost? ( dev-libs/boost )
+	bzip3? ( app-arch/bzip3 )
+	lz4? ( app-arch/lz4 )
+	lzma? ( app-arch/xz-utils )
+	pcre2? ( dev-libs/libpcre2 )
+	zlib? ( sys-libs/zlib )
+	zstd? ( app-arch/zstd )
+"
+
+RDEPEND="${COMMON_DEPEND}"
+
+DEPEND="
+	${COMMON_DEPEND}
+	virtual/pkgconfig"
+
+src_configure() {
+	local myeconfargs=(
+		$(usev !cpu_flags_arm_neon '--disable-neon')
+		$(usev !cpu_flags_x86_avx2 '--disable-avx2')
+		$(usev !cpu_flags_x86_sse2 '--disable-sse2')
+
+		$(use_enable 7zip)
+		$(use_enable mmap)
+
+		$(use_with brotli)
+		$(use_with bzip3)
+		$(use_with pcre2)
+		$(use_with lzma)
+		$(use_with lz4)
+		$(use_with zlib)
+		$(use_with zstd)
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+	dobashcomp "${S}"/completions/bash/*
+	dofishcomp "${S}"/completions/fish/*
+	dozshcomp "${S}"/completions/zsh/_*
+}
+
+src_test() {
+	# emake check is run first by default in Portage but
+	# that doesn't actually run the tests, emake test does
+	emake test
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/ugrep/
@ 2025-01-24 14:58 Ada Ahmed
  0 siblings, 0 replies; 3+ messages in thread
From: Ada Ahmed @ 2025-01-24 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     4c92c50937a1cbf40092b30215b784eba4f5bc7b
Author:     Ada Ahmed <yretenai <AT> gmail <DOT> com>
AuthorDate: Fri Jan 24 14:54:49 2025 +0000
Commit:     Ada Ahmed <yretenai <AT> gmail <DOT> com>
CommitDate: Fri Jan 24 14:57:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4c92c509

sys-apps/ugrep: add 7.2.0

Signed-off-by: Ada Ahmed <yretenai <AT> gmail.com>

 sys-apps/ugrep/Manifest           |  1 +
 sys-apps/ugrep/ugrep-7.2.0.ebuild | 73 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/sys-apps/ugrep/Manifest b/sys-apps/ugrep/Manifest
index be28280c3..35cbf57c6 100644
--- a/sys-apps/ugrep/Manifest
+++ b/sys-apps/ugrep/Manifest
@@ -1 +1,2 @@
 DIST ugrep-5.1.4.tar.gz 6280906 BLAKE2B 3f6e1a20ec9a5a012d3152562d1792a6c4c49dd0874976128ea408e39269ac6df60f6879e631b8471594c2ed840c46b68de0ce5b0e6f5197b665783e39bbde39 SHA512 d746c77a22a98c2719cc7b443351a3d27f0f2712a2be483596965cc2b6127f28b9e564ca32db1fea950a6315053c89440912d4b7311073bd97d7702f02521378
+DIST ugrep-7.2.0.tar.gz 7121849 BLAKE2B 99ee0d032cbbfa5c3f534c922681c4119a3aa431b3c3d78a32967bf32a53267b09baf2c630c842bf6f838f1b6d08e1edf82b4f6d4c31253c852f969691fedd43 SHA512 fd877d367602b24f2d2131fdb32b5e1421d704343420252292f7b765a8676c11e2677acc931c417b5135a81c69405fce942cc144ec0670ce7f75687baf4f3767

diff --git a/sys-apps/ugrep/ugrep-7.2.0.ebuild b/sys-apps/ugrep/ugrep-7.2.0.ebuild
new file mode 100644
index 000000000..4acdd0f47
--- /dev/null
+++ b/sys-apps/ugrep/ugrep-7.2.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit shell-completion
+
+DESCRIPTION="A fast, drop-in replacement for GNU grep"
+HOMEPAGE="https://ugrep.com/"
+SRC_URI="https://github.com/Genivia/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+CPU_USE="cpu_flags_arm_neon cpu_flags_x86_avx2 cpu_flags_x86_sse2"
+IUSE="7zip brotli boost bzip2 bzip3 +lzma lz4 +mmap +pcre2 +zlib zstd ${CPU_USE}"
+
+COMMON_DEPEND="
+	brotli? ( app-arch/brotli )
+	boost? ( dev-libs/boost )
+	bzip3? ( app-arch/bzip3 )
+	bzip2? ( app-arch/bzip2 )
+	lz4? ( app-arch/lz4 )
+	lzma? ( app-arch/xz-utils )
+	pcre2? ( dev-libs/libpcre2 )
+	zlib? ( sys-libs/zlib )
+	zstd? ( app-arch/zstd )
+"
+
+RDEPEND="${COMMON_DEPEND}"
+
+DEPEND="
+	${COMMON_DEPEND}
+	virtual/pkgconfig
+"
+
+REQUIRED_USE="?? ( boost pcre2 )"
+
+src_configure() {
+	local myeconfargs=(
+		$(usev !cpu_flags_arm_neon '--disable-neon')
+		$(usev !cpu_flags_x86_avx2 '--disable-avx2')
+		$(usev !cpu_flags_x86_sse2 '--disable-sse2')
+
+		$(use_enable 7zip)
+		$(use_enable mmap)
+
+		$(use_with boost "boost-regex")
+		$(use_with brotli)
+		$(use_with bzip2 "bzlib")
+		$(use_with bzip3)
+		$(use_with pcre2)
+		$(use_with lzma)
+		$(use_with lz4)
+		$(use_with zlib)
+		$(use_with zstd)
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+	dobashcomp "${S}"/completions/bash/ug "${S}"/completions/bash/ugrep-indexer
+	dofishcomp "${S}"/completions/fish/*.fish
+	dozshcomp "${S}"/completions/zsh/_*
+}
+
+src_test() {
+	# emake check is run first by default in Portage but
+	# that doesn't actually run the tests, emake test does
+	emake test
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/ugrep/
@ 2025-01-24 15:12 Ada Ahmed
  0 siblings, 0 replies; 3+ messages in thread
From: Ada Ahmed @ 2025-01-24 15:12 UTC (permalink / raw
  To: gentoo-commits

commit:     75b463a1fad9aff45bd88f5a9512ff64893a75be
Author:     Ada Ahmed <yretenai <AT> gmail <DOT> com>
AuthorDate: Fri Jan 24 15:11:45 2025 +0000
Commit:     Ada Ahmed <yretenai <AT> gmail <DOT> com>
CommitDate: Fri Jan 24 15:11:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=75b463a1

sys-apps/ugrep: fix completions lacking compgen.sh

Signed-off-by: Ada Ahmed <yretenai <AT> gmail.com>

 sys-apps/ugrep/ugrep-7.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/ugrep/ugrep-7.2.0.ebuild b/sys-apps/ugrep/ugrep-7.2.0.ebuild
index 4acdd0f47..3118c3c5d 100644
--- a/sys-apps/ugrep/ugrep-7.2.0.ebuild
+++ b/sys-apps/ugrep/ugrep-7.2.0.ebuild
@@ -61,8 +61,8 @@ src_configure() {
 
 src_install() {
 	default
-	dobashcomp "${S}"/completions/bash/ug "${S}"/completions/bash/ugrep-indexer
-	dofishcomp "${S}"/completions/fish/*.fish
+	dobashcomp "${S}"/completions/bash/*
+	dofishcomp "${S}"/completions/fish/*
 	dozshcomp "${S}"/completions/zsh/_*
 }
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-01-24 15:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-24 15:12 [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/ugrep/ Ada Ahmed
  -- strict thread matches above, loose matches on Subject: below --
2025-01-24 14:58 Ada Ahmed
2024-04-29  0:20 Christopher Fore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox