public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-apps/dool/
Date: Fri, 27 Sep 2024 12:52:25 +0000 (UTC)	[thread overview]
Message-ID: <1727441529.f630902ea76db6f03cb1771ccb7d46525e76db16.flow@gentoo> (raw)
Message-ID: <20240927125225.HWBI_yrb0-Q76cnDAlDDCYpPn-uUwtfT2FnSySBhHjM@z> (raw)

commit:     f630902ea76db6f03cb1771ccb7d46525e76db16
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 27 12:48:52 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Sep 27 12:52:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f630902e

sys-apps/dool: add 1.3.2

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sys-apps/dool/Manifest          |  1 +
 sys-apps/dool/dool-1.3.2.ebuild | 65 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/sys-apps/dool/Manifest b/sys-apps/dool/Manifest
index 4490f647f..0473f1ad3 100644
--- a/sys-apps/dool/Manifest
+++ b/sys-apps/dool/Manifest
@@ -1 +1,2 @@
 DIST dool-1.3.1.tar.gz 150933 BLAKE2B 9aadd4e196cfb7c57fc5fd539f1211b3249b0da955aa2869c43c66b2c2a63816f5cb3e5bcffefada47269f8bd4e3f4b0ace8512f6b0de07e66e0e830ae50c0c2 SHA512 20cabbcbe09152c1ebcaed08bd182586e20d0bae297b61031f1cc52bfce3b9827cc84843e5e5a3dc0d3e790ef2d6da5eb5925d287647f80023925611eb9b04ee
+DIST dool-1.3.2.tar.gz 152959 BLAKE2B cd0cc6f82b89ba80cd7934d609aedaeb28bdcb10b332a70b7b706bf153668645b1a042c2da7f7e4c399e5119935b2db602ee651dc2ea85c900e254e27fd89d07 SHA512 792bec7c777746e68737b1c95dac02575262fe341a75da62fcd0ef1e09185779ac376389daa45e6407be06befb003b53f2ca16982302f6e24230bd0bed70ab06

diff --git a/sys-apps/dool/dool-1.3.2.ebuild b/sys-apps/dool/dool-1.3.2.ebuild
new file mode 100644
index 000000000..db89ec526
--- /dev/null
+++ b/sys-apps/dool/dool-1.3.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-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
+	SRC_URI="
+		https://github.com/scottchiefbaker/dool/archive/refs/tags/v${PV}.tar.gz
+			-> ${P}.tar.gz
+	"
+	KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86 "
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc examples"
+
+src_prepare() {
+	default
+
+	# https://github.com/scottchiefbaker/dool/pull/80
+	mv dool dool.py || die
+
+	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() {
+	distutils-r1_src_install
+
+	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
+}


             reply	other threads:[~2024-09-27 12:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-27 12:52 Florian Schmaus [this message]
2024-09-27 12:52 ` [gentoo-commits] repo/proj/guru:master commit in: sys-apps/dool/ Florian Schmaus
  -- strict thread matches above, loose matches on Subject: below --
2024-09-30  7:43 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-09-27 13:37 Florian Schmaus
2024-09-27 13:37 Florian Schmaus
2024-09-27 12:52 Florian Schmaus
2024-05-07 14:26 [gentoo-commits] repo/proj/guru:master " 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:25 ` [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-05-07 14:25 Florian Schmaus
2024-05-06  9:38 [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-05-06  9:38 ` [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-05-06  9:38 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:30 ` [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2023-04-19  7:30 Florian Schmaus
2023-04-19  7:30 Florian Schmaus
2022-05-30  6:39 Florian Schmaus
2021-04-11  8:01 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=1727441529.f630902ea76db6f03cb1771ccb7d46525e76db16.flow@gentoo \
    --to=flow@gentoo.org \
    --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