diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-14 00:01:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-14 00:01:24 +0100 |
commit | 59c2499e0c9720169c9d5a02168c51c807a21467 (patch) | |
tree | 48c68a8a7e0094b2edaace12850e6c059bc3636b /app-misc/hyfetch/hyfetch-9999.ebuild | |
parent | a25cc082a26782e5d39ded4559c91ff11bc3c299 (diff) |
gentoo auto-resync : 14:05:2024 - 00:01:24
Diffstat (limited to 'app-misc/hyfetch/hyfetch-9999.ebuild')
-rw-r--r-- | app-misc/hyfetch/hyfetch-9999.ebuild | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/app-misc/hyfetch/hyfetch-9999.ebuild b/app-misc/hyfetch/hyfetch-9999.ebuild index 448b872ef1ad..796c87637890 100644 --- a/app-misc/hyfetch/hyfetch-9999.ebuild +++ b/app-misc/hyfetch/hyfetch-9999.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..12} ) -inherit optfeature distutils-r1 +DISTUTILS_USE_PEP517=setuptools + +inherit optfeature distutils-r1 shell-completion DESCRIPTION="Neofetch with LGBTQ+ pride flags!" HOMEPAGE="https://github.com/hykilpikonna/hyfetch" @@ -20,10 +21,27 @@ 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}] " +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 |