mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
sys-apps/dool: sync live
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
@@ -3,9 +3,10 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit python-r1
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Versatile replacement for vmstat, iostat and ifstat (clone of dstat)"
|
||||
HOMEPAGE="https://github.com/scottchiefbaker/dool"
|
||||
@@ -24,22 +25,27 @@ fi
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="doc examples"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}"
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
# https://github.com/scottchiefbaker/dool/pull/80
|
||||
mv dool dool.py || die
|
||||
|
||||
python_install() {
|
||||
python_doscript "${PN}"
|
||||
python_domodule plugins/${PN}_*.py
|
||||
mkdir dool || die
|
||||
mv plugins dool || die
|
||||
mv dool.py dool || die
|
||||
|
||||
cat <<-EOF > dool/__init__.py || die
|
||||
"""Versatile replacement for vmstat, iostat and ifstat (clone of dstat)"""
|
||||
__version__ = "${PV}"
|
||||
EOF
|
||||
|
||||
sed -i 's/dool:__main/dool.dool:__main/' pyproject.toml || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl python_install
|
||||
distutils-r1_src_install
|
||||
|
||||
doman "docs/${PN}.1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user