public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Theo Anderson" <telans@posteo.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-apps/dool/
Date: Mon, 12 Apr 2021 05:38:50 +0000 (UTC)	[thread overview]
Message-ID: <1618128046.4ee7c8fd40c19acff499fc0170fb0d59d6f7f8bb.telans@gentoo> (raw)

commit:     4ee7c8fd40c19acff499fc0170fb0d59d6f7f8bb
Author:     Florian Schmaus <flo <AT> geekplace <DOT> eu>
AuthorDate: Sun Apr 11 07:59:26 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Sun Apr 11 08:00:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4ee7c8fd

sys-apps/dool: initial import

Bug: https://bugs.gentoo.org/781173
Signed-off-by: Florian Schmaus <flo <AT> geekplace.eu>

 sys-apps/dool/Manifest                    |  1 +
 sys-apps/dool/dool-0.8_pre20191010.ebuild | 59 +++++++++++++++++++++++++++++++
 sys-apps/dool/dool-9999.ebuild            | 59 +++++++++++++++++++++++++++++++
 sys-apps/dool/metadata.xml                |  8 +++++
 4 files changed, 127 insertions(+)

diff --git a/sys-apps/dool/Manifest b/sys-apps/dool/Manifest
new file mode 100644
index 000000000..5d2cd1417
--- /dev/null
+++ b/sys-apps/dool/Manifest
@@ -0,0 +1 @@
+DIST dool-0.8_pre20191010.tar.gz 141224 BLAKE2B 9c1d733b340b3f1d51798ce85698e7fc526aea349b500431d348d413c1fd93d07d8ccb8241e671a40363275b8c4025ed2f4983b4dfc70f5e166178635935337e SHA512 5204eb1c0a37b225d447830048e5f2372dd3973d50cbd3fbc42972782a4853b809e566550e752c857502f86ceed7ea31620ea27059f9f334d27f28cc61abd968

diff --git a/sys-apps/dool/dool-0.8_pre20191010.ebuild b/sys-apps/dool/dool-0.8_pre20191010.ebuild
new file mode 100644
index 000000000..ae22099fd
--- /dev/null
+++ b/sys-apps/dool/dool-0.8_pre20191010.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit python-r1
+
+DESCRIPTION="Versatile replacement for vmstat, iostat and ifstat (clone of dstat)"
+HOMEPAGE="https://github.com/scottchiefbaker/dool"
+
+if [[ "${PV}" == "9999" ]]; then
+	EGIT_REPO_URI="https://github.com/scottchiefbaker/dool.git"
+	inherit git-r3
+else
+	DOOL_COMMIT_ID="6b89f2d0b6e38e1c8d706e88a12e020367f5100d"
+	SRC_URI="https://github.com/scottchiefbaker/dool/archive/${DOOL_COMMIT_ID}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}-${DOOL_COMMIT_ID}"
+fi
+
+if [[ "${PV}" != "9999" ]]; then
+	KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+	:
+}
+
+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
+}

diff --git a/sys-apps/dool/dool-9999.ebuild b/sys-apps/dool/dool-9999.ebuild
new file mode 100644
index 000000000..ae22099fd
--- /dev/null
+++ b/sys-apps/dool/dool-9999.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit python-r1
+
+DESCRIPTION="Versatile replacement for vmstat, iostat and ifstat (clone of dstat)"
+HOMEPAGE="https://github.com/scottchiefbaker/dool"
+
+if [[ "${PV}" == "9999" ]]; then
+	EGIT_REPO_URI="https://github.com/scottchiefbaker/dool.git"
+	inherit git-r3
+else
+	DOOL_COMMIT_ID="6b89f2d0b6e38e1c8d706e88a12e020367f5100d"
+	SRC_URI="https://github.com/scottchiefbaker/dool/archive/${DOOL_COMMIT_ID}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}-${DOOL_COMMIT_ID}"
+fi
+
+if [[ "${PV}" != "9999" ]]; then
+	KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+	:
+}
+
+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
+}

diff --git a/sys-apps/dool/metadata.xml b/sys-apps/dool/metadata.xml
new file mode 100644
index 000000000..bdf5f6f4f
--- /dev/null
+++ b/sys-apps/dool/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type='person'>
+		<email>flo@geekplace.eu</email>
+		<name>Florian Schmaus</name>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2021-04-12  5:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12  5:38 Theo Anderson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-30  6:39 [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/dool/ Florian Schmaus
2022-05-30  6:39 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2023-04-19  7:30 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2023-04-19  7:32 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2023-04-19  7:30 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2023-04-19  7:32 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2023-04-19  7:32 Florian Schmaus
2023-04-19  7:32 Florian Schmaus
2024-05-06  9:38 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-05-06  9:38 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-05-06  9:38 Florian Schmaus
2024-05-07 14:25 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-05-07 14:26 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-05-07 14:26 Florian Schmaus
2024-05-07 14:26 Florian Schmaus
2024-09-27 12:52 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-09-27 12:52 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-09-27 12:52 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-09-27 12:52 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-09-27 13:37 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-09-27 13:37 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-09-27 13:37 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-09-27 13:37 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-09-30  7:43 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-09-30  7:44 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1618128046.4ee7c8fd40c19acff499fc0170fb0d59d6f7f8bb.telans@gentoo \
    --to=telans@posteo.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox