commit:     8708318e6a3961fe305de1284a56f370a5c0b9df
Author:     Cat Kasin <cat <AT> aulucya <DOT> gay>
AuthorDate: Sun Sep  7 22:31:13 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  3 04:45:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8708318e

app-misc/hyfetch: add 2.0.2, drop 1.4.11-r1

Signed-off-by: Cat Kasin <cat <AT> aulucya.gay>
Part-of: https://github.com/gentoo/gentoo/pull/43706
Closes: https://github.com/gentoo/gentoo/pull/43706
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/hyfetch/Manifest                 |   2 +-
 app-misc/hyfetch/hyfetch-1.4.11-r1.ebuild |  54 ---------
 app-misc/hyfetch/hyfetch-2.0.2.ebuild     | 184 ++++++++++++++++++++++++++++++
 3 files changed, 185 insertions(+), 55 deletions(-)

diff --git a/app-misc/hyfetch/Manifest b/app-misc/hyfetch/Manifest
index 71b3f1a51c24..155da22ac273 100644
--- a/app-misc/hyfetch/Manifest
+++ b/app-misc/hyfetch/Manifest
@@ -29,9 +29,9 @@ DIST fs_extra-1.3.0.crate 31298 BLAKE2B 
96dfb4e886767d3d3850d94cc789867c3ed461fe
 DIST getrandom-0.2.15.crate 37163 BLAKE2B 
7d534e799a4711d01c6553b8c9422dbf01e384a850fb0f7cd76e444628f2b96d28d0f5e8dae042f8081a2bf9340f57c558be50a6f22ed5fa6b0301a15898fb35
 SHA512 
04789a53d3f4a84862e1e8b2113641af67e471b468de1222470d5e6cef0015232463a2cf3c3518dc2a533b3983b175a7c8922da00665bcf71c1e4e279b67e6fb
 DIST hashbrown-0.15.2.crate 138478 BLAKE2B 
453888ce68b10cd6e93d787986603fceb29b83fe2dc417e7e57316b9e0060d0bba51ec7fb71d46a038662c99f60deac8237a8f349297208d1d223bcc13f0d0ea
 SHA512 
d6fc0613623f9313533dfcab1240e97f652f78f05baa21419f7edb2eff030c4a2c5f426d3eaae747923cffdd8aa9cc2648340e5fc229395b5eacc6fae087c8cd
 DIST heck-0.5.0.crate 11517 BLAKE2B 
5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835
 SHA512 
f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76
-DIST hyfetch-1.4.11.tar.gz 275741 BLAKE2B 
0739dc7bc2a90989dcd4dbdd6d14ce8ba62def2a9e069ae16a3a1435118e3639edcc112fc3fa0b8dd54684744e500672c7397315b78d965b68da2f9b9f702b13
 SHA512 
13c757fed68c9aa1caa503553d6d29c0b68284029090b970b863dec3240dabb28a852ef0ec0f2742c6c268e30a15c48018a651e74ba0e6782b5aa14f2b1d1312
 DIST hyfetch-1.99.0.tar.gz 315607 BLAKE2B 
73e44d936124c993251b0d5f7261a1707136aee8fad8b1c660c0932223636db6cfbd1c6747bd16ee94370d6578e0220a96fb58c608ca26791957e855bc70deca
 SHA512 
e6d662ab028cd159e69b09d2929fb7b28d7ce470d2d6c7a5ef9af688ee7ce973d893d4bb13e70be0846a5d0d5808560d92608014d877113166a5e8af11ed8275
 DIST hyfetch-2.0.1.tar.gz 371341 BLAKE2B 
04999a700808ebc8d63a11a54058ae480f188cfa6e5ce8caffd74f63c0e361a4ee7268770361f546011e53452fcea2a41642a72617fa33419e242b18182f842c
 SHA512 
cbd4648245b1ddbf8a648a04dd61b6b539b937df525d5ccdf956b14a0a267f3928bc598c765532712604b5c2663d88218f512c2d1d2ade97bc87ec265d434c34
+DIST hyfetch-2.0.2.tar.gz 372212 BLAKE2B 
21bfae51af6329f03eedbe66c2543991e10ee6f331739510be41b430ffc5dc03c860a9952bd07c98ce45df6fa2a02be7fa779f02c3392e67ceb6b54b6c145230
 SHA512 
986aaa55955be1e0428a955c05d57b321ad8c2a2717d5d3a1841af0a0c8aacba22467a5ef78f2c82ccabe16ee21df16fdc3fca33ed0ae2f0bd216ceb38532905
 DIST indexmap-2.7.0.crate 85335 BLAKE2B 
c7430ef510738ac5fc4658f3e4d927ca5cde780774a07848791ea87503be09fb4677c52803f6cdaaed73eee600f47e0595ac3db74a498947d0e180cbd10fb7aa
 SHA512 
efac370b9f365a49489aa2c5406eb503044a4df7d6ceb772e0191b02244b6c2c1bf6c43ad4c8924160c1a2bd76d46c630b500a1c4252fc52366295d1cb04b48d
 DIST is_ci-1.2.0.crate 4521 BLAKE2B 
59591545c2da2052629c97e345b1ed1f0f621d5a3a158e0456b0a8711011160f01b01f4ca91e12f807d2e74dc127dd2a9be7ba9b1c9ee458ceea590cf8feec2e
 SHA512 
0479117be842723810ae7f641e5e4b5daaa5543655de50c8e465ee600803be78901f0c0893a4953b5ff0b438216aecb479b9e40aa2c78da0655249f127edf2eb
 DIST is_terminal_polyfill-1.70.1.crate 7492 BLAKE2B 
fa663f858ab8e5fd56202d731b572bfdd4ab0e8262100424e27360a9ffd2820182bc57d6718a305ef82d04c3798111841c0d9f9dcfe219765c0f63edb560dc1e
 SHA512 
4730fa09401cb4e69c92b38b2b43afd74699c61f5bd7b37605efbc0c08ca7a1318d43e4a844e46e0f84f83f42432f01e33771be2b18eb5977702ab9f894837e1

diff --git a/app-misc/hyfetch/hyfetch-1.4.11-r1.ebuild 
b/app-misc/hyfetch/hyfetch-1.4.11-r1.ebuild
deleted file mode 100644
index a05998fb5353..000000000000
--- a/app-misc/hyfetch/hyfetch-1.4.11-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2024 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 optfeature distutils-r1 shell-completion
-
-DESCRIPTION="Neofetch with LGBTQ+ pride flags!"
-HOMEPAGE="https://github.com/hykilpikonna/hyfetch";
-if [[ ${PV} == *9999 ]]; 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 arm64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-1.4.11-pyproject.patch
-       "${FILESDIR}"/${PN}-1.4.11-neofetch.patch
-)
-
-RDEPEND="
-               dev-python/typing-extensions[${PYTHON_USEDEP}]
-"
-
-python_install() {
-       newbashcomp hyfetch/scripts/autocomplete.bash ${PN}
-       newzshcomp hyfetch/scripts/autocomplete.zsh _${PN}
-
-       distutils-r1_python_install
-
-       dodir /usr/bin/
-       cp neofetch "${D}/usr/bin/neowofetch" || die
-
-       rm -r "${D}/usr/lib/${EPYTHON}/site-packages/hyfetch/scripts" || die
-}
-
-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-2.0.2.ebuild 
b/app-misc/hyfetch/hyfetch-2.0.2.ebuild
new file mode 100644
index 000000000000..436ea510e6eb
--- /dev/null
+++ b/app-misc/hyfetch/hyfetch-2.0.2.ebuild
@@ -0,0 +1,184 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.15.0
+
+EAPI=8
+
+CRATES="
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]+wasi-snapshot-preview1
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+"
+
+inherit cargo shell-completion optfeature
+
+DESCRIPTION="Neofetch with LGBTQ+ pride flags!"
+HOMEPAGE="https://github.com/hykilpikonna/hyfetch";
+SRC_URI="https://github.com/hykilpikonna/hyfetch/archive/${PV}/${P}.tar.gz
+       ${CARGO_CRATE_URIS}
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 ISC LGPL-3+ MIT MPL-2.0 Unicode-3.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_install() {
+       dodir usr/bin
+       dobin target/release/hyfetch
+       newbin neofetch neowofetch
+       doman docs/hyfetch.1
+       newman docs/neofetch.1 neowofetch.1
+       newbashcomp hyfetch/scripts/autocomplete.bash ${PN}
+       newzshcomp hyfetch/scripts/autocomplete.zsh _${PN}
+}
+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."
+}

Reply via email to