Added latest dool as package.
This commit is contained in:
parent
93132aff5e
commit
3d519e671e
3
sys-apps/dool/Manifest
Normal file
3
sys-apps/dool/Manifest
Normal file
|
@ -0,0 +1,3 @@
|
|||
DIST dool-20190910.tar.gz 141224 BLAKE2B 9c1d733b340b3f1d51798ce85698e7fc526aea349b500431d348d413c1fd93d07d8ccb8241e671a40363275b8c4025ed2f4983b4dfc70f5e166178635935337e SHA512 5204eb1c0a37b225d447830048e5f2372dd3973d50cbd3fbc42972782a4853b809e566550e752c857502f86ceed7ea31620ea27059f9f334d27f28cc61abd968
|
||||
EBUILD dool-20190910.ebuild 1278 BLAKE2B 0bfe164cb7afbd1b31a464e4645c585f253d84456fbaaeb0b4834aace2b973a70838ea3ec63ced3745613f7b7f81c49c04ae0cfacf59e799f52e258ed04ec50a SHA512 b4b5ecdf88a542d0a385a69e9556e423444852910f8788a0fad8946d587a9789ecc08eef298ee7a8dbf2e19f028bca74ed276e720b644e54b750f4e7a9fc0913
|
||||
MISC metadata.xml 872 BLAKE2B b3fb30b6fb84a1e571bb5e98be057145cb60d569af897a4cebd6378ee0aa30862895cdc12f452e6b50f11b70eae34b6d7931644a7e2aa9764a93e757888ca4a1 SHA512 a096e2a58480088661b4f3b6b0c79445ea0ed534f225d9111a1139b35e9a746654628b1d4a2c03eec42fd469ec47701120422e1fffde95023a6ad05d31cfd0e9
|
59
sys-apps/dool/dool-20190910.ebuild
Normal file
59
sys-apps/dool/dool-20190910.ebuild
Normal file
|
@ -0,0 +1,59 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit python-r1
|
||||
|
||||
DESCRIPTION="Versatile replacement for vmstat, iostat and ifstat"
|
||||
HOMEPAGE="https://github.com/scottchiefbaker/dool"
|
||||
COMMIT=6b89f2d0b6e38e1c8d706e88a12e020367f5100d
|
||||
SRC_URI="https://github.com/scottchiefbaker/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
MY_P="${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~x86-linux"
|
||||
IUSE="doc examples"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
# bug fix: allow delay to be specified
|
||||
# backport from: https://github.com/dagwieers/dstat/pull/167/files
|
||||
sed -i -e 's; / op\.delay; // op.delay;' "dool" || die
|
||||
|
||||
sed -i -e 's;dstat\.1;dool.1;' docs/Makefile || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl python_doscript dool
|
||||
|
||||
insinto /usr/share/dool
|
||||
newins dool dool.py
|
||||
doins plugins/dool_*.py
|
||||
|
||||
doman docs/dool.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
|
||||
}
|
25
sys-apps/dool/metadata.xml
Normal file
25
sys-apps/dool/metadata.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lmiphay@gmail.com</email>
|
||||
<name>Paul Healy</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Dstat is a versatile replacement for vmstat, iostat and ifstat. Dstat overcomes
|
||||
some of the limitations and adds some extra features.
|
||||
|
||||
Dstat allows you to view all of your system resources instantly, you can eg.
|
||||
compare disk usage in combination with interrupts from your IDE controller, or
|
||||
compare the network bandwidth numbers directly with the disk throughput (in the
|
||||
same interval).
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">scottchiefbaker/dool</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
Loading…
Reference in a new issue