From c178cbec3f17601cc11c05d4b44ab0e647e67af2 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 7 Jun 2025 02:00:33 +0100 Subject: [PATCH] sys-apps/dstat: drop 0.7.4-r2, 0.7.4-r3 Signed-off-by: Sam James --- sys-apps/dstat/dstat-0.7.4-r2.ebuild | 60 ---------------------------- sys-apps/dstat/dstat-0.7.4-r3.ebuild | 60 ---------------------------- 2 files changed, 120 deletions(-) delete mode 100644 sys-apps/dstat/dstat-0.7.4-r2.ebuild delete mode 100644 sys-apps/dstat/dstat-0.7.4-r3.ebuild diff --git a/sys-apps/dstat/dstat-0.7.4-r2.ebuild b/sys-apps/dstat/dstat-0.7.4-r2.ebuild deleted file mode 100644 index 93106c7cf568b..0000000000000 --- a/sys-apps/dstat/dstat-0.7.4-r2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit python-r1 - -DESCRIPTION="Versatile replacement for vmstat, iostat and ifstat" -HOMEPAGE="http://dag.wieers.com/home-made/dstat/" -SRC_URI="https://github.com/dagwieers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm64 ~hppa ~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}" - -PATCHES=( - "${FILESDIR}/dstat-${PV}-skip-non-sandbox-tests.patch" - "${FILESDIR}/fix-collections-deprecation-warning.patch" - "${FILESDIR}/dstat-0.7.4-fix-csv-output.patch" -) - -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;' "dstat" || die - - default -} - -src_install() { - python_foreach_impl python_doscript dstat - - insinto /usr/share/dstat - newins dstat dstat.py - doins plugins/dstat_*.py - - doman docs/dstat.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/dstat/dstat-0.7.4-r3.ebuild b/sys-apps/dstat/dstat-0.7.4-r3.ebuild deleted file mode 100644 index 67f83c126efbc..0000000000000 --- a/sys-apps/dstat/dstat-0.7.4-r3.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit python-r1 - -DESCRIPTION="Versatile replacement for vmstat, iostat and ifstat" -HOMEPAGE="http://dag.wieers.com/home-made/dstat/" -SRC_URI="https://github.com/dagwieers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm64 ~hppa ~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}" - -PATCHES=( - "${FILESDIR}/dstat-${PV}-skip-non-sandbox-tests.patch" - "${FILESDIR}/fix-collections-deprecation-warning.patch" - "${FILESDIR}/dstat-0.7.4-fix-csv-output.patch" - "${FILESDIR}/dstat-${PV}-fix-backslash-in-regex.patch" -) - -src_prepare() { - # bug fix: allow delay to be specified - # backport from: https://github.com/dagwieers/dstat/pull/167/files - sed -e 's; / op\.delay; // op.delay;' -i "dstat" || die - - default -} - -src_test() { - python_foreach_impl emake test -} - -src_install() { - python_foreach_impl python_doscript dstat - - insinto /usr/share/dstat - newins dstat dstat.py - doins plugins/dstat_*.py - - doman docs/dstat.1 - - einstalldocs - - if use examples; then - dodoc examples/{mstat,read}.py - fi - if use doc; then - dodoc docs/*.html - fi -}