mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
- bump EAPI - drop python 3.9 compat - fix LICENSE - see bin/hatop#L12 - drop empty IUSE Signed-off-by: Filip Kobierski <fkobi@pm.me> Part-of: https://github.com/gentoo/gentoo/pull/37851 Signed-off-by: Sam James <sam@gentoo.org>
33 lines
713 B
Bash
33 lines
713 B
Bash
# 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
|
|
}
|