sys-apps/dool - 1.3.8 (supertux88)

Search

Package Information

Description:
Versatile replacement for vmstat, iostat and ifstat (clone of dstat)
Homepage:
https://github.com/scottchiefbaker/dool
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.3.8 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..14} python3_13t )

inherit python-r1

DESCRIPTION="Versatile replacement for vmstat, iostat and ifstat (clone of dstat)"
HOMEPAGE="https://github.com/scottchiefbaker/dool"
SRC_URI="https://github.com/scottchiefbaker/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc examples"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

RDEPEND="${PYTHON_DEPS}
	dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"

PATCHES=(
	"${FILESDIR}/${PN}-bytes-by-default.patch" # https://github.com/scottchiefbaker/dool/issues/13
)

src_install() {
	python_foreach_impl python_doscript "${PN}"

	insinto "/usr/share/${PN}"
	newins "${PN}" "${PN}.py"
	doins "plugins/${PN}_"*.py

	doman "docs/${PN}.1"

	einstalldocs

	if use examples; then
		dodoc examples/{mstat,read}.py
	fi
	if use doc; then
		dodoc docs/*.html
	fi
}

src_test() {
	python_foreach_impl emake test
}

USE Flags

doc

Dependencies

DEPEND

${PYTHON_DEPS}
	dev-python/six[${PYTHON_USEDEP}]

RDEPEND

${PYTHON_DEPS}
	dev-python/six[${PYTHON_USEDEP}]

Manifest for 1.3.8

Type File Size Source URLs
DIST dool-1.3.8.tar.gz 159695 bytes https://github.com/scottchiefbaker/dool/archive/v1.3.8.tar.gz