From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6C99815808B for ; Fri, 27 Sep 2024 12:52:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26547E2A16; Fri, 27 Sep 2024 12:52:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EDA1AE2A16 for ; Fri, 27 Sep 2024 12:52:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 04A783430D8 for ; Fri, 27 Sep 2024 12:52:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 560771EF3 for ; Fri, 27 Sep 2024 12:52:14 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1727441529.d05ab15e3ebd9cffe8e3097771e2aca9bdde358a.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/dool/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-apps/dool/dool-9999.ebuild X-VCS-Directories: sys-apps/dool/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: d05ab15e3ebd9cffe8e3097771e2aca9bdde358a X-VCS-Branch: dev Date: Fri, 27 Sep 2024 12:52:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aba6b22a-d35b-42c2-817e-8fe990b7bcfe X-Archives-Hash: fee219391a6788cf6befbd33b65e18d6 commit: d05ab15e3ebd9cffe8e3097771e2aca9bdde358a Author: Florian Schmaus gentoo org> AuthorDate: Fri Sep 27 12:51:59 2024 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Fri Sep 27 12:52:09 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d05ab15e sys-apps/dool: sync live Signed-off-by: Florian Schmaus gentoo.org> sys-apps/dool/dool-9999.ebuild | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/sys-apps/dool/dool-9999.ebuild b/sys-apps/dool/dool-9999.ebuild index 9159ce65d..db89ec526 100644 --- a/sys-apps/dool/dool-9999.ebuild +++ b/sys-apps/dool/dool-9999.ebuild @@ -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 + + 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 -python_install() { - python_doscript "${PN}" - python_domodule plugins/${PN}_*.py + 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" From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 01FF315808B for ; Fri, 27 Sep 2024 12:52:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F082E2A16; Fri, 27 Sep 2024 12:52:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 24591E2A16 for ; Fri, 27 Sep 2024 12:52:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2A5BA3430D7 for ; Fri, 27 Sep 2024 12:52:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C0C0B1EF3 for ; Fri, 27 Sep 2024 12:52:25 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1727441529.d05ab15e3ebd9cffe8e3097771e2aca9bdde358a.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-apps/dool/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-apps/dool/dool-9999.ebuild X-VCS-Directories: sys-apps/dool/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: d05ab15e3ebd9cffe8e3097771e2aca9bdde358a X-VCS-Branch: master Date: Fri, 27 Sep 2024 12:52:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6707b5b4-0cfa-431e-ba2d-ae0a4c886cba X-Archives-Hash: d44261cf7c85c4f7dbe5ca8582cfe3da Message-ID: <20240927125225.4rtU5CaojCKjZuWbjWEeKtSfRF-9dPBiIhhSkOq6Nbk@z> commit: d05ab15e3ebd9cffe8e3097771e2aca9bdde358a Author: Florian Schmaus gentoo org> AuthorDate: Fri Sep 27 12:51:59 2024 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Fri Sep 27 12:52:09 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d05ab15e sys-apps/dool: sync live Signed-off-by: Florian Schmaus gentoo.org> sys-apps/dool/dool-9999.ebuild | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/sys-apps/dool/dool-9999.ebuild b/sys-apps/dool/dool-9999.ebuild index 9159ce65d..db89ec526 100644 --- a/sys-apps/dool/dool-9999.ebuild +++ b/sys-apps/dool/dool-9999.ebuild @@ -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 + + 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 -python_install() { - python_doscript "${PN}" - python_domodule plugins/${PN}_*.py + 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"