mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
app-misc/hyfetch: treeclean
Moved to ::gentoo Signed-off-by: Bailey Kasin <baileykasin@gmail.com>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST hyfetch-1.4.10.tar.gz 266471 BLAKE2B 294002c2cd986055f6392aa61bb8de1d3d558712cd327243e7c2e756aa6e00ff23372fd0ffcc60db8f978110a3d8d1d78c6f683e304fc65b19d2f076e10347f2 SHA512 3f44bd9c0b030b435949db0c0cbd4913e7ec15e857df0dcf2fc3b7d10dca0a4c8ecb9862157f60eebd15b7a1c233c51a74f341b440892e0925871e42215c80e0
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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} == *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"
|
||||
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."
|
||||
}
|
||||
@@ -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} == *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"
|
||||
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 if you do not wish to use the pride flag functionality, you can call the"
|
||||
elog "tool that way instead."
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>baileykasin@gmail.com</email>
|
||||
<name>Bailey Kasin</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en"> hyfetch builds upon neofetch to add pride flag coloration to the OS
|
||||
logo, and also maintains the standard version of neofetch with bug fixes and new features,
|
||||
as the original project is un-maintained. </longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">hykilpikonna/hyfetch</remote-id>
|
||||
<bugs-to>https://github.com/hykilpikonna/hyfetch/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user