[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/ugrep/

2024-04-28 Thread Christopher Fore
commit: ff0fec1c7e71afc5a9c9067b4fc9376618c8092e
Author: Christopher Fore  posteo  net>
AuthorDate: Mon Apr 29 00:20:24 2024 +
Commit:     Christopher Fore  posteo  net>
CommitDate: Mon Apr 29 00:20:24 2024 +
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  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 00..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 00..fc2bf4ae17
--- /dev/null
+++ b/sys-apps/ugrep/metadata.xml
@@ -0,0 +1,17 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+csf...@posteo.net
+    Christopher Fore
+  
+  
+Genivia/ugrep
+  
+  
+Adds support for 7zip packages.
+Uses dev-libs/boost for regular expression 
parsing.
+Adds support for bzip3 packages using 
app-arch/bzip3.
+Uses dev-libs/libpcre2 for regular 
expression parsing.
+  
+

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 00..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
+}



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/gentodo/

2024-04-20 Thread Christopher Fore
commit: 6c7137c6c95399344d69e07a963420046e71815e
Author: Christopher Fore  posteo  net>
AuthorDate: Sat Apr 20 23:25:32 2024 +
Commit:     Christopher Fore  posteo  net>
CommitDate: Sat Apr 20 23:25:32 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c7137c6

app-misc/gentodo: add 1.1.0

- New RDEPEND on dev-python/click

Signed-off-by: Christopher Fore  posteo.net>

 app-misc/gentodo/Manifest   | 2 +-
 app-misc/gentodo/{gentodo-0.2.0.ebuild => gentodo-1.1.0.ebuild} | 7 +++
 app-misc/gentodo/gentodo-.ebuild| 3 ++-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/app-misc/gentodo/Manifest b/app-misc/gentodo/Manifest
index 9586c9f0c3..82b2ed8f38 100644
--- a/app-misc/gentodo/Manifest
+++ b/app-misc/gentodo/Manifest
@@ -1,2 +1,2 @@
-DIST gentodo-0.2.0.tar.gz 19919 BLAKE2B 
864f5fc8498209502efe50b7b45da54461e4a8a36a9561c8af64fcdff415b00c6d98e8bcf9957592d1cb29c896797ea28e4617b7c12abeabee2b67641be0c883
 SHA512 
e9503a58e3dbdd70b1290083ab30bf834bd6211ca1e6b339834d0eec812d0a628f88483cc427092cf8a0cae3b4d27161a43dc711563154b7daa8686a2ba467dc
 DIST gentodo-0.2.1.tar.gz 20132 BLAKE2B 
0cdcbf6ec9ccd6dcb683794838efd4be474f94709197096c5618402c91585eadcf89bfc9e7cd5bdbc1293c49790f63767a43196e6d0da3021ef71c78a3466771
 SHA512 
000dcd7b22cb316c8f60c6cab9fd4c2af6fb8572a28a1772a802769e2146e26cb28e9d318c54c8aff9d5b0e713fd2ee1fd014c419a76164ab948dff5d1beea29
+DIST gentodo-1.1.0.tar.gz 20008 BLAKE2B 
b79bab8fccea14c27d179c465aa086a6671c83c41341006f9a341052dadc7d8373227e5bbe8596dd3530c84e0124413b12727d9a6b7bacffcccb3df63756b0b5
 SHA512 
e7d4045d04f32f39d1d5a12515e9f20d27fb2e1188b5150782ee64fb294a040ca193748cb6573e2eb2714f730906920511e00d4a8ed7f63b0018ca1844726c71

diff --git a/app-misc/gentodo/gentodo-0.2.0.ebuild 
b/app-misc/gentodo/gentodo-1.1.0.ebuild
similarity index 89%
rename from app-misc/gentodo/gentodo-0.2.0.ebuild
rename to app-misc/gentodo/gentodo-1.1.0.ebuild
index 7d6d558635..97c27944db 100644
--- a/app-misc/gentodo/gentodo-0.2.0.ebuild
+++ b/app-misc/gentodo/gentodo-1.1.0.ebuild
@@ -16,8 +16,8 @@ else
KEYWORDS="~amd64"
 fi
 
-HOMEPAGE="https://github.com/csfore/gentodo;
 DESCRIPTION="Todo program to help enhance your Gentoo workflow"
+HOMEPAGE="https://github.com/csfore/gentodo;
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -35,11 +35,10 @@ DEPEND="
 RDEPEND="
${PYTHON_DEPS}
dev-python/python-bugzilla
+   dev-python/click
 "
 
 python_install_all() {
-   if use bash-completion; then
-   newbashcomp src/gentodo/gentodo-completions.bash gentodo
-   fi
+   newbashcomp src/gentodo/gentodo-completions.bash gentodo
distutils-r1_python_install_all
 }

diff --git a/app-misc/gentodo/gentodo-.ebuild 
b/app-misc/gentodo/gentodo-.ebuild
index 6909891522..97c27944db 100644
--- a/app-misc/gentodo/gentodo-.ebuild
+++ b/app-misc/gentodo/gentodo-.ebuild
@@ -16,8 +16,8 @@ else
KEYWORDS="~amd64"
 fi
 
-HOMEPAGE="https://github.com/csfore/gentodo;
 DESCRIPTION="Todo program to help enhance your Gentoo workflow"
+HOMEPAGE="https://github.com/csfore/gentodo;
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -35,6 +35,7 @@ DEPEND="
 RDEPEND="
${PYTHON_DEPS}
dev-python/python-bugzilla
+   dev-python/click
 "
 
 python_install_all() {



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/gentodo/

2024-01-29 Thread Christopher Fore
commit: 50a79cc58e9d050c7461084eb3d18d2b26638461
Author: Christopher Fore  posteo  net>
AuthorDate: Mon Jan 29 19:55:49 2024 +
Commit:     Christopher Fore  posteo  net>
CommitDate: Mon Jan 29 19:56:30 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50a79cc5

app-misc/gentodo: add 0.2.1, fix manifest

Closes: https://bugs.gentoo.org/923262
Signed-off-by: Christopher Fore  posteo.net>

 app-misc/gentodo/Manifest  | 1 +
 app-misc/gentodo/{gentodo-.ebuild => gentodo-0.2.1.ebuild} | 4 +---
 app-misc/gentodo/gentodo-.ebuild   | 4 +---
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/app-misc/gentodo/Manifest b/app-misc/gentodo/Manifest
index fd6d0906c4..9586c9f0c3 100644
--- a/app-misc/gentodo/Manifest
+++ b/app-misc/gentodo/Manifest
@@ -1 +1,2 @@
 DIST gentodo-0.2.0.tar.gz 19919 BLAKE2B 
864f5fc8498209502efe50b7b45da54461e4a8a36a9561c8af64fcdff415b00c6d98e8bcf9957592d1cb29c896797ea28e4617b7c12abeabee2b67641be0c883
 SHA512 
e9503a58e3dbdd70b1290083ab30bf834bd6211ca1e6b339834d0eec812d0a628f88483cc427092cf8a0cae3b4d27161a43dc711563154b7daa8686a2ba467dc
+DIST gentodo-0.2.1.tar.gz 20132 BLAKE2B 
0cdcbf6ec9ccd6dcb683794838efd4be474f94709197096c5618402c91585eadcf89bfc9e7cd5bdbc1293c49790f63767a43196e6d0da3021ef71c78a3466771
 SHA512 
000dcd7b22cb316c8f60c6cab9fd4c2af6fb8572a28a1772a802769e2146e26cb28e9d318c54c8aff9d5b0e713fd2ee1fd014c419a76164ab948dff5d1beea29

diff --git a/app-misc/gentodo/gentodo-.ebuild 
b/app-misc/gentodo/gentodo-0.2.1.ebuild
similarity index 89%
copy from app-misc/gentodo/gentodo-.ebuild
copy to app-misc/gentodo/gentodo-0.2.1.ebuild
index 7d6d558635..6909891522 100644
--- a/app-misc/gentodo/gentodo-.ebuild
+++ b/app-misc/gentodo/gentodo-0.2.1.ebuild
@@ -38,8 +38,6 @@ RDEPEND="
 "
 
 python_install_all() {
-   if use bash-completion; then
-   newbashcomp src/gentodo/gentodo-completions.bash gentodo
-   fi
+   newbashcomp src/gentodo/gentodo-completions.bash gentodo
distutils-r1_python_install_all
 }

diff --git a/app-misc/gentodo/gentodo-.ebuild 
b/app-misc/gentodo/gentodo-.ebuild
index 7d6d558635..6909891522 100644
--- a/app-misc/gentodo/gentodo-.ebuild
+++ b/app-misc/gentodo/gentodo-.ebuild
@@ -38,8 +38,6 @@ RDEPEND="
 "
 
 python_install_all() {
-   if use bash-completion; then
-   newbashcomp src/gentodo/gentodo-completions.bash gentodo
-   fi
+   newbashcomp src/gentodo/gentodo-completions.bash gentodo
distutils-r1_python_install_all
 }



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/gentodo/

2024-01-28 Thread Christopher Fore
commit: 4b41f2440f79dc814a27e33613f6e138a6bb5e13
Author: Christopher Fore  posteo  net>
AuthorDate: Sun Jan 28 15:27:38 2024 +
Commit:     Christopher Fore  posteo  net>
CommitDate: Sun Jan 28 15:28:18 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b41f244

app-misc/gentodo: new package, add 0.2.0, 

Signed-off-by: Christopher Fore  posteo.net>

 app-misc/gentodo/Manifest |  1 +
 app-misc/gentodo/gentodo-0.2.0.ebuild | 45 +++
 app-misc/gentodo/gentodo-.ebuild  | 45 +++
 app-misc/gentodo/metadata.xml | 11 +
 4 files changed, 102 insertions(+)

diff --git a/app-misc/gentodo/Manifest b/app-misc/gentodo/Manifest
new file mode 100644
index 00..fd6d0906c4
--- /dev/null
+++ b/app-misc/gentodo/Manifest
@@ -0,0 +1 @@
+DIST gentodo-0.2.0.tar.gz 19919 BLAKE2B 
864f5fc8498209502efe50b7b45da54461e4a8a36a9561c8af64fcdff415b00c6d98e8bcf9957592d1cb29c896797ea28e4617b7c12abeabee2b67641be0c883
 SHA512 
e9503a58e3dbdd70b1290083ab30bf834bd6211ca1e6b339834d0eec812d0a628f88483cc427092cf8a0cae3b4d27161a43dc711563154b7daa8686a2ba467dc

diff --git a/app-misc/gentodo/gentodo-0.2.0.ebuild 
b/app-misc/gentodo/gentodo-0.2.0.ebuild
new file mode 100644
index 00..7d6d558635
--- /dev/null
+++ b/app-misc/gentodo/gentodo-0.2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 bash-completion-r1
+
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/csfore/gentodo.git;
+else
+   
SRC_URI="https://github.com/csfore/gentodo/releases/download/${PV}/gentodo-${PV}.tar.gz;
+   KEYWORDS="~amd64"
+fi
+
+HOMEPAGE="https://github.com/csfore/gentodo;
+DESCRIPTION="Todo program to help enhance your Gentoo workflow"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+IUSE="bash-completion"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPENDS="
+   ${PYTHON_DEPS}
+"
+DEPEND="
+   ${PYTHON_DEPS}
+"
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/python-bugzilla
+"
+
+python_install_all() {
+   if use bash-completion; then
+   newbashcomp src/gentodo/gentodo-completions.bash gentodo
+   fi
+   distutils-r1_python_install_all
+}

diff --git a/app-misc/gentodo/gentodo-.ebuild 
b/app-misc/gentodo/gentodo-.ebuild
new file mode 100644
index 00..7d6d558635
--- /dev/null
+++ b/app-misc/gentodo/gentodo-.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 bash-completion-r1
+
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/csfore/gentodo.git;
+else
+   
SRC_URI="https://github.com/csfore/gentodo/releases/download/${PV}/gentodo-${PV}.tar.gz;
+   KEYWORDS="~amd64"
+fi
+
+HOMEPAGE="https://github.com/csfore/gentodo;
+DESCRIPTION="Todo program to help enhance your Gentoo workflow"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+IUSE="bash-completion"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPENDS="
+   ${PYTHON_DEPS}
+"
+DEPEND="
+   ${PYTHON_DEPS}
+"
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/python-bugzilla
+"
+
+python_install_all() {
+   if use bash-completion; then
+   newbashcomp src/gentodo/gentodo-completions.bash gentodo
+   fi
+   distutils-r1_python_install_all
+}

diff --git a/app-misc/gentodo/metadata.xml b/app-misc/gentodo/metadata.xml
new file mode 100644
index 00..e35dd9f913
--- /dev/null
+++ b/app-misc/gentodo/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   csf...@posteo.net
+   Christopher Fore
+   
+   
+   csfore/gentodo
+   
+