commit: c6c613087c44c54d220bcdf01b527b6a36404a6c Author: Filip Kobierski <fkobi <AT> pm <DOT> me> AuthorDate: Mon May 12 10:35:02 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 21 21:46:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6c61308
net-proxy/hatop: add 0.8.2-r1 - bump EAPI - drop python 3.9 compat - fix LICENSE - see bin/hatop#L12 - drop empty IUSE Signed-off-by: Filip Kobierski <fkobi <AT> pm.me> Part-of: https://github.com/gentoo/gentoo/pull/37851 Signed-off-by: Sam James <sam <AT> gentoo.org> net-proxy/hatop/hatop-0.8.2-r1.ebuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/net-proxy/hatop/hatop-0.8.2-r1.ebuild b/net-proxy/hatop/hatop-0.8.2-r1.ebuild new file mode 100644 index 000000000000..7a83ce7740ee --- /dev/null +++ b/net-proxy/hatop/hatop-0.8.2-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE="ncurses" + +inherit python-r1 + +DESCRIPTION="Ncurses client and real-time monitoring and displaying of HAProxy status" +HOMEPAGE="https://github.com/jhunt/hatop" +SRC_URI="https://github.com/jhunt/hatop/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND}" + +PATCHES=("${FILESDIR}/hatop-0.8.2-python312.patch") + +src_install() { + python_foreach_impl python_doscript bin/hatop + + doman man/hatop.1 + + dodoc CHANGES.rst KEYBINDS README.rst +}