[gentoo-commits] repo/proj/guru:dev commit in: www-apps/whoogle-search/files/, www-apps/whoogle-search/

2023-11-10 Thread Bailey Kasin
commit: ecdc853e589dcc7a3b7d71c1d9103fa0ca3e6b34
Author: Bailey Kasin  gmail  com>
AuthorDate: Sat Nov 11 06:55:49 2023 +
Commit:     Bailey Kasin  gmail  com>
CommitDate: Sat Nov 11 06:56:51 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ecdc853e

www-apps/whoogle-search: POSIX-ify openrc script

Also resolve shellcheck and pkgcheck comments

Closes: https://bugs.gentoo.org/917079
Signed-off-by: Bailey Kasin  gmail.com>

 www-apps/whoogle-search/files/whoogle.initd|  4 +--
 www-apps/whoogle-search/metadata.xml   |  3 ++
 3-r2.ebuild => whoogle-search-0.8.3-r3.ebuild} | 37 +++---
 4-r2.ebuild => whoogle-search-0.8.4-r3.ebuild} | 35 ++--
 4 files changed, 42 insertions(+), 37 deletions(-)

diff --git a/www-apps/whoogle-search/files/whoogle.initd 
b/www-apps/whoogle-search/files/whoogle.initd
index 6d51df4ab2..745dceb671 100644
--- a/www-apps/whoogle-search/files/whoogle.initd
+++ b/www-apps/whoogle-search/files/whoogle.initd
@@ -3,7 +3,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 # Environment variables for whoogle
-source "/etc/default/whoogle"
+. "/etc/default/whoogle"
 export ADDRESS=${BIND_ADDRESS:-0.0.0.0}
 export PORT=${LISTEN_PORT:-5000}
 
@@ -23,7 +23,7 @@ depend() {
 start_pre() {
checkpath -fo whoogle:whoogle "/var/log/whoogle.log"
echo "Whoogle is running on: ${BIND_ADDRESS}:${LISTEN_PORT}"
-   cd /opt/whoogle-search
+   cd /opt/whoogle-search || exit 1
 }
 
 stop_post() {

diff --git a/www-apps/whoogle-search/metadata.xml 
b/www-apps/whoogle-search/metadata.xml
index b3a874ebe3..9cdaa89567 100644
--- a/www-apps/whoogle-search/metadata.xml
+++ b/www-apps/whoogle-search/metadata.xml
@@ -5,4 +5,7 @@
    baileyka...@gmail.com
Bailey Kasin

+   
+   benbusby/whoogle-search
+   
 

diff --git a/www-apps/whoogle-search/whoogle-search-0.8.3-r2.ebuild 
b/www-apps/whoogle-search/whoogle-search-0.8.3-r3.ebuild
similarity index 54%
rename from www-apps/whoogle-search/whoogle-search-0.8.3-r2.ebuild
rename to www-apps/whoogle-search/whoogle-search-0.8.3-r3.ebuild
index 61b960703a..7cbca25768 100644
--- a/www-apps/whoogle-search/whoogle-search-0.8.3-r2.ebuild
+++ b/www-apps/whoogle-search/whoogle-search-0.8.3-r3.ebuild
@@ -20,29 +20,30 @@ RDEPEND="
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
-dev-python/python-dotenv[${PYTHON_USEDEP}]
+   dev-python/python-dotenv[${PYTHON_USEDEP}]
dev-python/defusedxml[${PYTHON_USEDEP}]
dev-python/waitress[${PYTHON_USEDEP}]
-app-arch/brotli[${PYTHON_USEDEP},python]
-net-libs/stem
-acct-user/whoogle
-acct-group/whoogle
+   app-arch/brotli[${PYTHON_USEDEP},python]
+   net-libs/stem
+   acct-user/whoogle
+   acct-group/whoogle
 "
 
-
 src_install() {
-rm -r .github docs test .dockerignore .gitignore .replit 
docker-compose.yml Dockerfile heroku.yml MANIFEST.in README.md requirements.txt
-mkdir -p "${ED}/opt/whoogle-search" || die
-insinto /opt/whoogle-search
-doins -r ./*
-fperms -R 0755 /opt/whoogle-search
+   rm -r .github docs test .dockerignore .gitignore .replit \
+   docker-compose.yml Dockerfile heroku.yml MANIFEST.in README.md \
+   requirements.txt
+   mkdir -p "${ED}/opt/whoogle-search" || die
+   insinto /opt/whoogle-search
+   doins -r ./*
+   fperms -R 0755 /opt/whoogle-search
fowners -R whoogle:whoogle /opt/whoogle-search
 
-insinto /etc/default/
-doins ${FILESDIR}/whoogle
-insinto /usr/lib/sysusers.d/
-doins ${FILESDIR}/whoogle.conf
+   insinto /etc/default/
+   doins "${FILESDIR}/whoogle"
+   insinto /usr/lib/sysusers.d/
+   doins "${FILESDIR}/whoogle.conf"
 
-newinitd "${FILESDIR}"/whoogle.initd whoogle
-systemd_dounit ${FILESDIR}/whoogle.service
-}
\ No newline at end of file
+   newinitd "${FILESDIR}"/whoogle.initd whoogle
+   systemd_dounit "${FILESDIR}/whoogle.service"
+}

diff --git a/www-apps/whoogle-search/whoogle-search-0.8.4-r2.ebuild 
b/www-apps/whoogle-search/whoogle-search-0.8.4-r3.ebuild
similarity index 55%
rename from www-apps/whoogle-search/whoogle-search-0.8.4-r2.ebuild
rename to www-apps/whoogle-search/whoogle-search-0.8.4-r3.ebuild
index 40c26760ef..73c7650736 100644
--- a/www-apps/whoogle-search/whoogle-search-0.8.4-r2.ebuild
+++ b/www-apps/whoogle-search/whoogle-search-0.8.4-r3.ebuild
@@ -20,30 +20,31 @@ RDEPEND="
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHO

[gentoo-commits] repo/proj/guru:dev commit in: www-apps/whoogle-search/

2023-11-01 Thread Bailey Kasin
commit: be32aad09bceb8c7cde52bf15277041f2a026829
Author: Bailey Kasin  gmail  com>
AuthorDate: Thu Nov  2 01:57:37 2023 +
Commit:     Bailey Kasin  gmail  com>
CommitDate: Thu Nov  2 01:57:37 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=be32aad0

www-apps/whoogle-search: 0.8.4 add missing depend

Signed-off-by: Bailey Kasin  gmail.com>

 www-apps/whoogle-search/whoogle-search-0.8.4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www-apps/whoogle-search/whoogle-search-0.8.4.ebuild 
b/www-apps/whoogle-search/whoogle-search-0.8.4.ebuild
index 3ee914a883..c419bbdc77 100644
--- a/www-apps/whoogle-search/whoogle-search-0.8.4.ebuild
+++ b/www-apps/whoogle-search/whoogle-search-0.8.4.ebuild
@@ -23,6 +23,7 @@ RDEPEND="
 dev-python/python-dotenv[${PYTHON_USEDEP}]
dev-python/defusedxml[${PYTHON_USEDEP}]
dev-python/waitress[${PYTHON_USEDEP}]
+   dev-python/validators[${PYTHON_USEDEP}]
 app-arch/brotli[${PYTHON_USEDEP},python]
 net-libs/stem
 acct-user/whoogle
@@ -44,4 +45,4 @@ src_install() {
 doins ${FILESDIR}/whoogle.conf
 
 systemd_dounit ${FILESDIR}/whoogle.service
-}
\ No newline at end of file
+}



[gentoo-commits] repo/proj/guru:dev commit in: www-apps/whoogle-search/

2023-11-01 Thread Bailey Kasin
commit: e06882f0156717113609a6e4b4be4ac5241505c7
Author: Bailey Kasin  gmail  com>
AuthorDate: Thu Nov  2 01:34:20 2023 +
Commit:     Bailey Kasin  gmail  com>
CommitDate: Thu Nov  2 01:34:20 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e06882f0

gpg --list-secret-keys --keyid-format=long

Signed-off-by: Bailey Kasin  gmail.com>

 www-apps/whoogle-search/Manifest   |  1 +
 .../whoogle-search/whoogle-search-0.8.4.ebuild | 47 ++
 2 files changed, 48 insertions(+)

diff --git a/www-apps/whoogle-search/Manifest b/www-apps/whoogle-search/Manifest
index 08e76ab42b..679442cc8c 100644
--- a/www-apps/whoogle-search/Manifest
+++ b/www-apps/whoogle-search/Manifest
@@ -1 +1,2 @@
 DIST v0.8.3.tar.gz 612951 BLAKE2B 
b413727cd3bf43646b4754fd7d3d55009ca7dff7601e4c28910347427719aa541da7cab544dcb6ff7f5fab8134e50a484790a5e8c46a06ac723b45eb39980bab
 SHA512 
ea795435809d7b0e5c7860716ed05dfdc1e38b73fcbc6e4c482367cb03d2a84db48e619fb82520e3ef3041971ca9f35f0641b61a13dc4a68c9c38d9699c4182a
+DIST v0.8.4.tar.gz 616189 BLAKE2B 
23c547d330b3b098eea4d63029ba109f8ecc0f4fefe031c77fcdb52d657aeb93d8d6fa3ae8f54ff9a7218c7c31aa1eccba57b333c376b92cc6a841f60cb14240
 SHA512 
6a9f7e7502253c2c6b72e8753595f4d57dca6fad2fceb1fece6e40203f7b85eb0ef7debda4852ed347b103ae89c1a188ccb989e56bc7c0ad81dccdda69dc2b58

diff --git a/www-apps/whoogle-search/whoogle-search-0.8.4.ebuild 
b/www-apps/whoogle-search/whoogle-search-0.8.4.ebuild
new file mode 100644
index 00..3ee914a883
--- /dev/null
+++ b/www-apps/whoogle-search/whoogle-search-0.8.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=no
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 systemd
+
+DESCRIPTION="A self-hosted, ad-free, privacy-respecting metasearch engine"
+HOMEPAGE="https://github.com/benbusby/whoogle-search";
+SRC_URI="https://github.com/benbusby/whoogle-search/archive/refs/tags/v${PV}.tar.gz";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/cssutils[${PYTHON_USEDEP}]
+   dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+   dev-python/cryptography[${PYTHON_USEDEP}]
+   dev-python/flask[${PYTHON_USEDEP}]
+dev-python/python-dotenv[${PYTHON_USEDEP}]
+   dev-python/defusedxml[${PYTHON_USEDEP}]
+   dev-python/waitress[${PYTHON_USEDEP}]
+app-arch/brotli[${PYTHON_USEDEP},python]
+net-libs/stem
+acct-user/whoogle
+acct-group/whoogle
+"
+
+
+src_install() {
+rm -r .github docs test .dockerignore .gitignore .replit 
docker-compose.yml Dockerfile heroku.yml MANIFEST.in README.md requirements.txt
+mkdir -p "${ED}/opt/whoogle-search" || die
+insinto /opt/whoogle-search
+doins -r ./*
+fperms -R 0755 /opt/whoogle-search
+   fowners -R whoogle:whoogle /opt/whoogle-search
+
+insinto /etc/default/
+doins ${FILESDIR}/whoogle
+insinto /usr/lib/sysusers.d/
+doins ${FILESDIR}/whoogle.conf
+
+systemd_dounit ${FILESDIR}/whoogle.service
+}
\ No newline at end of file



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/hyfetch/files/, app-misc/hyfetch/

2023-10-20 Thread Bailey Kasin
commit: 3b15b53f22e533e215168b277dd86bfafe23d095
Author: Bailey Kasin  gmail  com>
AuthorDate: Fri Oct 20 08:22:52 2023 +
Commit:     Bailey Kasin  gmail  com>
CommitDate: Fri Oct 20 08:25:07 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b15b53f

app-misc/hyfetch: treeclean

Moved to ::gentoo

Signed-off-by: Bailey Kasin  gmail.com>

 app-misc/hyfetch/Manifest  |  1 -
 .../hyfetch/files/hyfetch-1.4.10-config_fix.patch  | 15 
 app-misc/hyfetch/hyfetch-1.4.10.ebuild | 40 --
 app-misc/hyfetch/hyfetch-.ebuild   | 36 ---
 app-misc/hyfetch/metadata.xml  | 15 
 5 files changed, 107 deletions(-)

diff --git a/app-misc/hyfetch/Manifest b/app-misc/hyfetch/Manifest
deleted file mode 100644
index 3a5f627eff..00
--- a/app-misc/hyfetch/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST hyfetch-1.4.10.tar.gz 266471 BLAKE2B 
294002c2cd986055f6392aa61bb8de1d3d558712cd327243e7c2e756aa6e00ff23372fd0ffcc60db8f978110a3d8d1d78c6f683e304fc65b19d2f076e10347f2
 SHA512 
3f44bd9c0b030b435949db0c0cbd4913e7ec15e857df0dcf2fc3b7d10dca0a4c8ecb9862157f60eebd15b7a1c233c51a74f341b440892e0925871e42215c80e0

diff --git a/app-misc/hyfetch/files/hyfetch-1.4.10-config_fix.patch 
b/app-misc/hyfetch/files/hyfetch-1.4.10-config_fix.patch
deleted file mode 100644
index 955eaf60ca..00
--- a/app-misc/hyfetch/files/hyfetch-1.4.10-config_fix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-check_config uses the global constant CONFIG_PATH instead
-of the path that gets passed to it.
-
 a/hyfetch/main.py
-+++ b/hyfetch/main.py
-@@ -27,7 +27,7 @@ def check_config(path) -> Config:
- """
- if path.is_file():
- try:
--return 
Config.from_dict(json.loads(CONFIG_PATH.read_text('utf-8')))
-+return Config.from_dict(json.loads(path.read_text('utf-8')))
- except KeyError:
- return create_config()
- 
-

diff --git a/app-misc/hyfetch/hyfetch-1.4.10.ebuild 
b/app-misc/hyfetch/hyfetch-1.4.10.ebuild
deleted file mode 100644
index 076daa8128..00
--- a/app-misc/hyfetch/hyfetch-1.4.10.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..12} )
-inherit optfeature distutils-r1
-
-DESCRIPTION="Neofetch with LGBTQ+ pride flags!"
-HOMEPAGE="https://github.com/hykilpikonna/hyfetch";
-if [[ ${PV} == * ]]; then
-   EGIT_REPO_URI="https://github.com/hykilpikonna/hyfetch.git";
-   inherit git-r3
-else
-   
SRC_URI="https://github.com/hykilpikonna/${PN}/archive/${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-RDEPEND="
-   dev-python/typing-extensions[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.4.10-config_fix.patch
-)
-
-pkg_postinst() {
-   optfeature "displaying images" "media-libs/imlib2 www-client/w3m[imlib]"
-   optfeature "gpu detection" sys-apps/pciutils
-   optfeature "thumbnail creation" media-gfx/imagemagick
-   optfeature "wallpaper" media-gfx/feh x11-misc/nitrogen
-   optfeature "window size" x11-misc/xdotool "x11-apps/xwininfo 
x11-apps/xprop" "x11-apps/xwininfo x11-apps/xdpyinfo"
-   elog "The standard neofetch is installed as 'neowofetch', to avoid name 
conflicts."
-   elog "So if you do not wish to use the pride flag functionality, you 
can call the"
-   elog "tool that way instead."
-}

diff --git a/app-misc/hyfetch/hyfetch-.ebuild 
b/app-misc/hyfetch/hyfetch-.ebuild
deleted file mode 100644
index c73d6a446e..00
--- a/app-misc/hyfetch/hyfetch-.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..12} )
-inherit optfeature distutils-r1
-
-DESCRIPTION="Neofetch with LGBTQ+ pride flags!"
-HOMEPAGE="https://github.com/hykilpikonna/hyfetch";
-if [[ ${PV} == ** ]]; then
-   EGIT_REPO_URI="https://github.com/hykilpikonna/hyfetch.git";
-   inherit git-r3
-else
-   
SRC_URI="https://github.com/hykilpikonna/${PN}/archive/${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-RDEPEND="
-   dev-python/typing-extensions[${PYTHON_USEDEP}]
-"
-
-pkg_postinst() {
-   optfeature "displaying images" "media-libs/imlib2 www-client/w3m[imlib]"
-   optfeature "gpu detect

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

2023-09-21 Thread Bailey Kasin
commit: ffb61af7988875eec4f27170ef05a65e81e3c558
Author: Bailey Kasin  gmail  com>
AuthorDate: Thu Sep 21 21:26:29 2023 +
Commit:     Bailey Kasin  gmail  com>
CommitDate: Thu Sep 21 21:26:29 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ffb61af7

app-misc/hyfetch: update LICENSE

Signed-off-by: Bailey Kasin  gmail.com>

 app-misc/hyfetch/hyfetch-1.4.10.ebuild | 2 +-
 app-misc/hyfetch/hyfetch-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/hyfetch/hyfetch-1.4.10.ebuild 
b/app-misc/hyfetch/hyfetch-1.4.10.ebuild
index 03dcc9dead..076daa8128 100644
--- a/app-misc/hyfetch/hyfetch-1.4.10.ebuild
+++ b/app-misc/hyfetch/hyfetch-1.4.10.ebuild
@@ -17,7 +17,7 @@ else
KEYWORDS="~amd64"
 fi
 
-LICENSE="MIT-with-advertising"
+LICENSE="MIT"
 SLOT="0"
 
 RDEPEND="

diff --git a/app-misc/hyfetch/hyfetch-.ebuild 
b/app-misc/hyfetch/hyfetch-.ebuild
index 9d5e27a403..c73d6a446e 100644
--- a/app-misc/hyfetch/hyfetch-.ebuild
+++ b/app-misc/hyfetch/hyfetch-.ebuild
@@ -17,7 +17,7 @@ else
KEYWORDS="~amd64"
 fi
 
-LICENSE="MIT-with-advertising"
+LICENSE="MIT"
 SLOT="0"
 
 RDEPEND="



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

2023-09-08 Thread Bailey Kasin
commit: 4564bc0ffb1107dedb7f5fbfedd9b4ce0fd43ccb
Author: Bailey Kasin  gmail  com>
AuthorDate: Fri Sep  8 08:39:09 2023 +
Commit:     Bailey Kasin  gmail  com>
CommitDate: Fri Sep  8 08:39:26 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4564bc0f

app-misc/hyfetch: unkeyword 1.4.10, 

Signed-off-by: Bailey Kasin  gmail.com>

 app-misc/hyfetch/hyfetch-1.4.10.ebuild | 3 +--
 app-misc/hyfetch/hyfetch-.ebuild   | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/app-misc/hyfetch/hyfetch-1.4.10.ebuild 
b/app-misc/hyfetch/hyfetch-1.4.10.ebuild
index 61008e7fe0..03dcc9dead 100644
--- a/app-misc/hyfetch/hyfetch-1.4.10.ebuild
+++ b/app-misc/hyfetch/hyfetch-1.4.10.ebuild
@@ -14,10 +14,9 @@ if [[ ${PV} == * ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/hykilpikonna/${PN}/archive/${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~arm64-macos ~x64-macos"
+   KEYWORDS="~amd64"
 fi
 
-
 LICENSE="MIT-with-advertising"
 SLOT="0"
 

diff --git a/app-misc/hyfetch/hyfetch-.ebuild 
b/app-misc/hyfetch/hyfetch-.ebuild
index d3ef2d245e..9d5e27a403 100644
--- a/app-misc/hyfetch/hyfetch-.ebuild
+++ b/app-misc/hyfetch/hyfetch-.ebuild
@@ -14,10 +14,9 @@ if [[ ${PV} == ** ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/hykilpikonna/${PN}/archive/${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~arm64-macos ~x64-macos"
+   KEYWORDS="~amd64"
 fi
 
-
 LICENSE="MIT-with-advertising"
 SLOT="0"
 



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/hyfetch/files/, app-misc/hyfetch/

2023-09-08 Thread Bailey Kasin
commit: fb772c96ab5499c115befc20f812fe53ce6f36f3
Author: Bailey Kasin  gmail  com>
AuthorDate: Fri Sep  8 08:36:48 2023 +
Commit:     Bailey Kasin  gmail  com>
CommitDate: Fri Sep  8 08:36:48 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fb772c96

app-misc/hyfetch: new package, add 1.4.10, 

Signed-off-by: Bailey Kasin  gmail.com>

 app-misc/hyfetch/Manifest  |  1 +
 .../hyfetch/files/hyfetch-1.4.10-config_fix.patch  | 15 
 app-misc/hyfetch/hyfetch-1.4.10.ebuild | 41 ++
 app-misc/hyfetch/hyfetch-.ebuild   | 37 +++
 app-misc/hyfetch/metadata.xml  | 15 
 5 files changed, 109 insertions(+)

diff --git a/app-misc/hyfetch/Manifest b/app-misc/hyfetch/Manifest
new file mode 100644
index 00..3a5f627eff
--- /dev/null
+++ b/app-misc/hyfetch/Manifest
@@ -0,0 +1 @@
+DIST hyfetch-1.4.10.tar.gz 266471 BLAKE2B 
294002c2cd986055f6392aa61bb8de1d3d558712cd327243e7c2e756aa6e00ff23372fd0ffcc60db8f978110a3d8d1d78c6f683e304fc65b19d2f076e10347f2
 SHA512 
3f44bd9c0b030b435949db0c0cbd4913e7ec15e857df0dcf2fc3b7d10dca0a4c8ecb9862157f60eebd15b7a1c233c51a74f341b440892e0925871e42215c80e0

diff --git a/app-misc/hyfetch/files/hyfetch-1.4.10-config_fix.patch 
b/app-misc/hyfetch/files/hyfetch-1.4.10-config_fix.patch
new file mode 100644
index 00..955eaf60ca
--- /dev/null
+++ b/app-misc/hyfetch/files/hyfetch-1.4.10-config_fix.patch
@@ -0,0 +1,15 @@
+check_config uses the global constant CONFIG_PATH instead
+of the path that gets passed to it.
+
+--- a/hyfetch/main.py
 b/hyfetch/main.py
+@@ -27,7 +27,7 @@ def check_config(path) -> Config:
+ """
+ if path.is_file():
+ try:
+-return 
Config.from_dict(json.loads(CONFIG_PATH.read_text('utf-8')))
++return Config.from_dict(json.loads(path.read_text('utf-8')))
+ except KeyError:
+ return create_config()
+ 
+

diff --git a/app-misc/hyfetch/hyfetch-1.4.10.ebuild 
b/app-misc/hyfetch/hyfetch-1.4.10.ebuild
new file mode 100644
index 00..61008e7fe0
--- /dev/null
+++ b/app-misc/hyfetch/hyfetch-1.4.10.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..12} )
+inherit optfeature distutils-r1
+
+DESCRIPTION="Neofetch with LGBTQ+ pride flags!"
+HOMEPAGE="https://github.com/hykilpikonna/hyfetch";
+if [[ ${PV} == * ]]; then
+   EGIT_REPO_URI="https://github.com/hykilpikonna/hyfetch.git";
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/hykilpikonna/${PN}/archive/${PV}/${P}.tar.gz";
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~arm64-macos ~x64-macos"
+fi
+
+
+LICENSE="MIT-with-advertising"
+SLOT="0"
+
+RDEPEND="
+   dev-python/typing-extensions[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.4.10-config_fix.patch
+)
+
+pkg_postinst() {
+   optfeature "displaying images" "media-libs/imlib2 www-client/w3m[imlib]"
+   optfeature "gpu detection" sys-apps/pciutils
+   optfeature "thumbnail creation" media-gfx/imagemagick
+   optfeature "wallpaper" media-gfx/feh x11-misc/nitrogen
+   optfeature "window size" x11-misc/xdotool "x11-apps/xwininfo 
x11-apps/xprop" "x11-apps/xwininfo x11-apps/xdpyinfo"
+   elog "The standard neofetch is installed as 'neowofetch', to avoid name 
conflicts."
+   elog "So if you do not wish to use the pride flag functionality, you 
can call the"
+   elog "tool that way instead."
+}

diff --git a/app-misc/hyfetch/hyfetch-.ebuild 
b/app-misc/hyfetch/hyfetch-.ebuild
new file mode 100644
index 00..d3ef2d245e
--- /dev/null
+++ b/app-misc/hyfetch/hyfetch-.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..12} )
+inherit optfeature distutils-r1
+
+DESCRIPTION="Neofetch with LGBTQ+ pride flags!"
+HOMEPAGE="https://github.com/hykilpikonna/hyfetch";
+if [[ ${PV} == ** ]]; then
+   EGIT_REPO_URI="https://github.com/hykilpikonna/hyfetch.git";
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/hykilpikonna/${PN}/archive/${PV}/${P}.tar.gz";
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~arm64-macos ~x64-macos"
+fi
+
+
+LICENSE="MIT-with-advertising"
+SLOT="0"
+
+RDEPEND="
+   dev-python/typi

[gentoo-commits] repo/proj/guru:dev commit in: acct-group/whoogle/

2023-09-02 Thread Bailey Kasin
commit: 4f64912b0bf0dd1dcbe19ed712d673ff2d37d948
Author: Bailey Kasin  gmail  com>
AuthorDate: Sat Sep  2 07:05:48 2023 +
Commit:     Bailey Kasin  gmail  com>
CommitDate: Sat Sep  2 07:05:48 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f64912b

acct-group/whoogle: new package, add 0

Signed-off-by: Bailey Kasin  gmail.com>

 acct-group/whoogle/whoogle-0.ebuild | 9 +
 1 file changed, 9 insertions(+)

diff --git a/acct-group/whoogle/whoogle-0.ebuild 
b/acct-group/whoogle/whoogle-0.ebuild
new file mode 100644
index 00..a78cc006d2
--- /dev/null
+++ b/acct-group/whoogle/whoogle-0.ebuild
@@ -0,0 +1,9 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit acct-group
+
+DESCRIPTION="Group for www-apps/whoogle-search"
+ACCT_GROUP_ID=-1



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

2023-09-02 Thread Bailey Kasin
commit: 2484bed39fc9a60493663d12b038b7c5411237c5
Author: Bailey Kasin  gmail  com>
AuthorDate: Sat Sep  2 07:16:15 2023 +
Commit:     Bailey Kasin  gmail  com>
CommitDate: Sat Sep  2 07:16:15 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2484bed3

TODO.md: Remove whoogle

Signed-off-by: Bailey Kasin  gmail.com>

 TODO.md | 1 -
 1 file changed, 1 deletion(-)

diff --git a/TODO.md b/TODO.md
index 9452c2e0c5..f67ddf878d 100644
--- a/TODO.md
+++ b/TODO.md
@@ -5,7 +5,6 @@ If you find an interesting piece of software here, consider to 
package it, also
Name  |  Buildsystem  |Category   | User  |Need help  | 
Dependency
  | - | - | - | - | 
-
 [Atkinson Hyperlegible](https://brailleinstitute.org/freefont) | no | fonts | 
Anna | ✖ | ✖
-[Whoogle](https://github.com/benbusby/whoogle-search/) | setuptools | www | 
Anna | ✔ | ✖
 [SearXNG](https://docs.searxng.org/) | setuptools | www | Anna | ✔ | ✖
 [Takahe](https://jointakahe.org/) | no (django) | www | Anna | ✔ | ✖
 [couchbase](https://pypi.org/project/couchbase/) | poetry | devel | Anna | ✔ | 
✔



[gentoo-commits] repo/proj/guru:dev commit in: www-apps/whoogle-search/files/, www-apps/whoogle-search/

2023-09-02 Thread Bailey Kasin
commit: 81c07fdabbd04cafc98c66a6003ecb9156eff08d
Author: Bailey Kasin  gmail  com>
AuthorDate: Sat Sep  2 07:16:10 2023 +
Commit:     Bailey Kasin  gmail  com>
CommitDate: Sat Sep  2 07:16:10 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81c07fda

www-apps/whoogle-search: new package, add 0.8.3

Signed-off-by: Bailey Kasin  gmail.com>

 www-apps/whoogle-search/Manifest   |  1 +
 www-apps/whoogle-search/files/whoogle  |  2 +
 www-apps/whoogle-search/files/whoogle.conf |  1 +
 www-apps/whoogle-search/files/whoogle.service  | 18 +
 www-apps/whoogle-search/metadata.xml   |  8 
 .../whoogle-search/whoogle-search-0.8.3.ebuild | 47 ++
 6 files changed, 77 insertions(+)

diff --git a/www-apps/whoogle-search/Manifest b/www-apps/whoogle-search/Manifest
new file mode 100644
index 00..08e76ab42b
--- /dev/null
+++ b/www-apps/whoogle-search/Manifest
@@ -0,0 +1 @@
+DIST v0.8.3.tar.gz 612951 BLAKE2B 
b413727cd3bf43646b4754fd7d3d55009ca7dff7601e4c28910347427719aa541da7cab544dcb6ff7f5fab8134e50a484790a5e8c46a06ac723b45eb39980bab
 SHA512 
ea795435809d7b0e5c7860716ed05dfdc1e38b73fcbc6e4c482367cb03d2a84db48e619fb82520e3ef3041971ca9f35f0641b61a13dc4a68c9c38d9699c4182a

diff --git a/www-apps/whoogle-search/files/whoogle 
b/www-apps/whoogle-search/files/whoogle
new file mode 100644
index 00..948dd3d407
--- /dev/null
+++ b/www-apps/whoogle-search/files/whoogle
@@ -0,0 +1,2 @@
+BIND_ADDRESS=127.0.0.1
+LISTEN_PORT=5000
\ No newline at end of file

diff --git a/www-apps/whoogle-search/files/whoogle.conf 
b/www-apps/whoogle-search/files/whoogle.conf
new file mode 100644
index 00..bdd57113d4
--- /dev/null
+++ b/www-apps/whoogle-search/files/whoogle.conf
@@ -0,0 +1 @@
+u whoogle - "Whoogle" /opt/whoogle-search
\ No newline at end of file

diff --git a/www-apps/whoogle-search/files/whoogle.service 
b/www-apps/whoogle-search/files/whoogle.service
new file mode 100644
index 00..950becae8c
--- /dev/null
+++ b/www-apps/whoogle-search/files/whoogle.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Whoogle
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=whoogle
+WorkingDirectory=/opt/whoogle-search
+EnvironmentFile=/etc/default/whoogle
+ExecStart=/opt/whoogle-search/run
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=always
+RestartSec=3
+SyslogIdentifier=whoogle
+
+[Install]
+WantedBy=multi-user.target
\ No newline at end of file

diff --git a/www-apps/whoogle-search/metadata.xml 
b/www-apps/whoogle-search/metadata.xml
new file mode 100644
index 00..b3a874ebe3
--- /dev/null
+++ b/www-apps/whoogle-search/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   baileyka...@gmail.com
+   Bailey Kasin
+   
+

diff --git a/www-apps/whoogle-search/whoogle-search-0.8.3.ebuild 
b/www-apps/whoogle-search/whoogle-search-0.8.3.ebuild
new file mode 100644
index 00..3ee914a883
--- /dev/null
+++ b/www-apps/whoogle-search/whoogle-search-0.8.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=no
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 systemd
+
+DESCRIPTION="A self-hosted, ad-free, privacy-respecting metasearch engine"
+HOMEPAGE="https://github.com/benbusby/whoogle-search";
+SRC_URI="https://github.com/benbusby/whoogle-search/archive/refs/tags/v${PV}.tar.gz";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/cssutils[${PYTHON_USEDEP}]
+   dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+   dev-python/cryptography[${PYTHON_USEDEP}]
+   dev-python/flask[${PYTHON_USEDEP}]
+dev-python/python-dotenv[${PYTHON_USEDEP}]
+   dev-python/defusedxml[${PYTHON_USEDEP}]
+   dev-python/waitress[${PYTHON_USEDEP}]
+app-arch/brotli[${PYTHON_USEDEP},python]
+net-libs/stem
+acct-user/whoogle
+acct-group/whoogle
+"
+
+
+src_install() {
+rm -r .github docs test .dockerignore .gitignore .replit 
docker-compose.yml Dockerfile heroku.yml MANIFEST.in README.md requirements.txt
+mkdir -p "${ED}/opt/whoogle-search" || die
+insinto /opt/whoogle-search
+doins -r ./*
+fperms -R 0755 /opt/whoogle-search
+   fowners -R whoogle:whoogle /opt/whoogle-search
+
+insinto /etc/default/
+doins ${FILESDIR}/whoogle
+insinto /usr/lib/sysusers.d/
+doins ${FILESDIR}/whoogle.conf
+
+systemd_dounit ${FILESDIR}/whoogle.service
+}
\ No newline at end of file



[gentoo-commits] repo/proj/guru:dev commit in: acct-user/whoogle/

2023-09-02 Thread Bailey Kasin
commit: 0c2ec21c944872253387b5129fbee9f4b47cef71
Author: Bailey Kasin  gmail  com>
AuthorDate: Sat Sep  2 07:06:03 2023 +
Commit:     Bailey Kasin  gmail  com>
CommitDate: Sat Sep  2 07:06:03 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0c2ec21c

acct-user/whoogle: new package, add 0

Signed-off-by: Bailey Kasin  gmail.com>

 acct-user/whoogle/whoogle-0.ebuild | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/acct-user/whoogle/whoogle-0.ebuild 
b/acct-user/whoogle/whoogle-0.ebuild
new file mode 100644
index 00..767bb9be1c
--- /dev/null
+++ b/acct-user/whoogle/whoogle-0.ebuild
@@ -0,0 +1,14 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for www-apps/whoogle-search"
+
+ACCT_USER_ID=-1
+ACCT_USER_HOME="/opt/whoogle-search"
+ACCT_USER_GROUPS=( whoogle )
+
+acct-user_add_deps



[gentoo-commits] repo/proj/guru:dev commit in: media-sound/spotifyd/

2023-09-01 Thread Bailey Kasin
commit: d84db1ec1b8238f98671160a1036c1ab3ea90333
Author: Bailey Kasin  gmail  com>
AuthorDate: Sat Sep  2 03:59:09 2023 +
Commit:     Bailey Kasin  gmail  com>
CommitDate: Sat Sep  2 03:59:09 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d84db1ec

media-sound/spotifyd: new package, add 0.3.5

Signed-off-by: Bailey Kasin  gmail.com>

 media-sound/spotifyd/Manifest  | 376 +
 media-sound/spotifyd/metadata.xml  |  23 ++
 media-sound/spotifyd/spotifyd-0.3.5.ebuild | 434 +
 3 files changed, 833 insertions(+)

diff --git a/media-sound/spotifyd/Manifest b/media-sound/spotifyd/Manifest
new file mode 100644
index 00..bc27d9a0af
--- /dev/null
+++ b/media-sound/spotifyd/Manifest
@@ -0,0 +1,376 @@
+DIST addr2line-0.19.0.crate 33210 BLAKE2B 
a6b393dcddfa0f858297efb6b261d3a23f118be45a3211ee15f6c58808f241dbcf5282f4a86be579360513f23ac4035819e923f2587b7499110af42e9ac3ab88
 SHA512 
18da72e412bb89028e2ccb838192330535e45300f6fd8edc7d1d64397792a3db12418aa24a3312730c5414e2a1b1d65e6b9d5691ba234c9142b5d885523a5e94
+DIST adler-1.0.2.crate 12778 BLAKE2B 
a1dc17786adae945ac09d3525e609ed944e6465690787bbb831a1b9d53793cba1989793d0a5606d5d23ee20d36457923d451b1b3530c9ec7072a487aa3e55bbd
 SHA512 
7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
+DIST aes-0.6.0.crate 86774 BLAKE2B 
e687f2839b53adc3ef990da8221705a462015aa0ea004a6e15dba7e7ecc008d9d13cad6222b03244dc48bd1717a442e7aa5aaab6e97bba1d3be28c1d914e464e
 SHA512 
65349285e429f9b8815743d86b3ebdececd48ce556a08b6ec5ec89bf966bc9b187a7df4fbe1f3b25172db3aab219b23f8040c1160359868e9f71d67a767c90c9
+DIST aes-0.7.5.crate 128544 BLAKE2B 
7381fe4963324b1f9b5cd1e81b2f2e3010ebb435b049b20fd1a9b37e472fed0062c63fe0a1629a59680f3c99154836a147db9561ee01dddbdeeefe6efdca5b6a
 SHA512 
1e1e6714af9131af6a7e9546339d729979719c9c6751e4e2274e9cc243803920a7317c01a6dc20e31d730ccd43fc65cc2e9a3a29a6bc4d0c9bc0a6a3b65fe5c7
+DIST aes-ctr-0.6.0.crate 13217 BLAKE2B 
5097ce1767bf980d4181885a7a117e41d0c81d2b5e9793e7d6949d9c1cff143d300b0abaf5d0640f2195a7f7655cb5d1446de81f9702a70224310bb41060600a
 SHA512 
1f5967a82bef4f6bfe690f71a37650f727a4c9fcd96e8b005d11d47033f368bb54009054fde84353e11e100d3be4905e416852cbbe5b60e3fbdccbcae7d55733
+DIST aes-soft-0.6.4.crate 99980 BLAKE2B 
a4b3838e0348ed3d7468f9d0e19d8dd45071ec54d54d538943d5afabd3f88db139c459574e6694e7fa86e4d77eaa3f75c11e3a9376f45429848c91889530980b
 SHA512 
620b38b2a6437caf393e84625beb27afdf448acb52d7adbc9cba1152ea385bdf05a68795eee0f48fd90b5edfc25fd9cc3d42a0f2593dfa2f90d4f4f9cc893ebe
+DIST aesni-0.10.0.crate 100248 BLAKE2B 
2dba6f1004495a725acf171eeae5a6e393475323e8974eff2e4667194ac147dc3a52a9bed1b00cf7735d3671b6a2bd135cbb4dbde822d7c8c21af23692d3e71f
 SHA512 
726e5213a81ea021d4be7c5220d952cb6f0cb0ecb6cc840b542e9f75539e37fc5d6378ad4f4d6a2bc7e7642ea07a18202ed32d3b6a212777bd7abca735c6707c
+DIST aho-corasick-0.7.20.crate 111440 BLAKE2B 
3f5d54fea2793ce1c2c4d5b3049b910f45a5721e7538cb2557df63dc3069ab3f6b66aceb5e9a48f21c43ae29778fd045428ea103b2a6de81659e605e30e64ca6
 SHA512 
ad31f3d1b3fe41e593d4ca7e721bbad62936f2e6a17fd1e0997353edb6fc906d1bef2b79f0ac7c7676abe637bbabb23ff22059947be379a2441011f8178983c5
+DIST alsa-0.6.0.crate 68171 BLAKE2B 
b692d929e49765c59ae2fae7bbe8bef4393c393e384c5d84133f018123cfe1044c6fe6c1915423614957fe622553aaf9cb5c38a41d3ff93afa2c4f162a828252
 SHA512 
a63354da0e643a68e28e32293d48f866c071332b1d17cf8349a79f28e45d6b9566d22f30c3001a862ea26c2b757aa9440b3f52c826a40b29c7881d12416f599b
+DIST alsa-0.7.0.crate 69367 BLAKE2B 
f994774f57f37e12e97ef0a961caa95509583df48102a904ca7563c6147222099941eab4d1b74ebc8f4e289fd0baee0a6cb2b6ec1e1983748e5d1c4cbf6bf3b5
 SHA512 
f39d966305459174e88c7f75f140f9606ddcdc64fcad0c140727e5885605567683f33541f98c719f50b583a24f7db70797b0a928b6a13878366c084eb247
+DIST alsa-sys-0.3.1.crate 32748 BLAKE2B 
0c4da9c343d622ddd521fe9332acf97c1ee4a202a909c7a0014a507148ab6ff82d5098660dcba847d938b296adde416ae420d454d6982c33a0456f37840d716b
 SHA512 
6523d909c500fee433f934eedfdc200cfc52e1b55be09434665210c16bb9af3593d8b1346ace184b171c7135a7aa65fdac5ca8c68e64f9d20436e1d8fac961fe
+DIST android_system_properties-0.1.5.crate 5243 BLAKE2B 
86f68ec3bdabf8c6ec47881d794970f08a9eefc7417fc8a2bf4fe9faf9bdd2a2024a94adb0cbf96673409f5fbbd4d0111a1ac371339e7a90a277b6cd5003524e
 SHA512 
b09f51339f9772c0e2e4241b36cf51573c6b96b19ffc1fbbc94b1c1d1d2fdfe8eac3134af54174a675ab05d18ef4f6bcb2c7fcc20114bbeef6e17e3692202191
+DIST ansi_term-0.12.1.crate 24838 BLAKE2B 
f636772c34e2d68cda7b8d3b2b86abda074585a62bd2654812ce92384244655a9197fa66e6939e19a674c0148ca605313d83de262bb18c2339a8a4eb4438a791
 SHA512 
b840e28b3e7700689a69a39659b1e066560078dd4a58326b91a028915819e7af883399ee53e920db68fd974c58d35bb1ddf8d427af5937d5f696f57c4376b671
+DIST async-broadcast-0.5.1.crate 2013