summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBailey Kasin <baileykasin@gmail.com>2024-05-27 02:13:40 +0000
committerJoonas Niilola <juippis@gentoo.org>2024-08-28 10:11:16 +0300
commite2e97c813f3438a3a1bfe96c22085d0045722e23 (patch)
tree1b756fe087ef291f5327d4ca49c0ec6850e87a03 /app-misc/hyfetch/hyfetch-9999.ebuild
parentsys-auth/yubico-piv-tool: add missing zlib dep to 2.6.0 (diff)
downloadgentoo-e2e97c813f3438a3a1bfe96c22085d0045722e23.tar.gz
gentoo-e2e97c813f3438a3a1bfe96c22085d0045722e23.tar.bz2
gentoo-e2e97c813f3438a3a1bfe96c22085d0045722e23.zip
app-misc/hyfetch: enable py3.13, remove patch on -9999
Upstream has implemented what the patch accomplished, so remove. Closes: https://bugs.gentoo.org/932193 Signed-off-by: Bailey Kasin <baileykasin@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36835 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc/hyfetch/hyfetch-9999.ebuild')
-rw-r--r--app-misc/hyfetch/hyfetch-9999.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/app-misc/hyfetch/hyfetch-9999.ebuild b/app-misc/hyfetch/hyfetch-9999.ebuild
index 796c87637890..9e69c3b7e081 100644
--- a/app-misc/hyfetch/hyfetch-9999.ebuild
+++ b/app-misc/hyfetch/hyfetch-9999.ebuild
@@ -21,11 +21,6 @@ fi
LICENSE="MIT"
SLOT="0"
-PATCHES=(
- "${FILESDIR}"/${PN}-9999-pyproject.patch
- "${FILESDIR}"/${PN}-1.4.11-neofetch.patch
-)
-
RDEPEND="
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
@@ -37,9 +32,12 @@ python_install() {
distutils-r1_python_install
dodir /usr/bin/
- cp neofetch "${D}/usr/bin/neowofetch" || die
+ python_newexe neofetch neowofetch
rm -r "${D}/usr/lib/${EPYTHON}/site-packages/hyfetch/scripts" || die
+ rm -r "${D}/usr/lib/${EPYTHON}/site-packages/docs" || die
+ mkdir "${D}/usr/lib/${EPYTHON}/site-packages/hyfetch/scripts" || die
+ cp neofetch "${D}/usr/lib/${EPYTHON}/site-packages/hyfetch/scripts/neowofetch" || die
}
pkg_postinst() {