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

2023-10-21 Thread David Roman
commit: 3b15b53f22e533e215168b277dd86bfafe23d095
Author: Bailey Kasin  gmail  com>
AuthorDate: Fri Oct 20 08:22:52 2023 +
Commit: David Roman  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 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 

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

2023-09-09 Thread David Roman
commit: fb772c96ab5499c115befc20f812fe53ce6f36f3
Author: Bailey Kasin  gmail  com>
AuthorDate: Fri Sep  8 08:36:48 2023 +
Commit: David Roman  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/typing-extensions[${PYTHON_USEDEP}]
+"
+
+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