[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2024-05-28 Thread Joonas Niilola
commit: 8ffe5fb5175303eaf192d3ced247aa8932fe8d72
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed May 29 05:23:03 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed May 29 05:23:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ffe5fb5

sys-apps/dstat: Stabilize 0.7.4-r3 amd64, #933046

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-apps/dstat/dstat-0.7.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4-r3.ebuild 
b/sys-apps/dstat/dstat-0.7.4-r3.ebuild
index b2e452f7433e..0008c65db775 100644
--- a/sys-apps/dstat/dstat-0.7.4-r3.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4-r3.ebuild
@@ -13,7 +13,7 @@ 
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 ~ia64 ~mips ppc ppc64 sparc x86 
~x86-linux"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~x86-linux"
 IUSE="doc examples"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2024-05-28 Thread Sam James
commit: 5d87daec390f292e7e51204ada1c03d6ef46
Author: Sam James  gentoo  org>
AuthorDate: Tue May 28 20:47:03 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 28 20:47:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d87

sys-apps/dstat: Stabilize 0.7.4-r3 x86, #933046

Signed-off-by: Sam James  gentoo.org>

 sys-apps/dstat/dstat-0.7.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4-r3.ebuild 
b/sys-apps/dstat/dstat-0.7.4-r3.ebuild
index d6995310bae7..b2e452f7433e 100644
--- a/sys-apps/dstat/dstat-0.7.4-r3.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4-r3.ebuild
@@ -13,7 +13,7 @@ 
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 ~ia64 ~mips ppc ppc64 sparc ~x86 
~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~x86-linux"
 IUSE="doc examples"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/, sys-apps/dstat/files/

2024-05-16 Thread Arthur Zamarin
commit: c8cc7cd6f9359361823056fcab7d056ad40241a1
Author: Paul Healy  gmail  com>
AuthorDate: Sun May  5 14:02:54 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May 16 14:48:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8cc7cd6

sys-apps/dstat: enable py3.12, EAPI=8, refactor

Bug: https://bugs.gentoo.org/929807
Signed-off-by: Paul Healy  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36571
Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/dstat/dstat-0.7.4-r3.ebuild   |  60 
 .../files/dstat-0.7.4-fix-backslash-in-regex.patch | 168 +
 2 files changed, 228 insertions(+)

diff --git a/sys-apps/dstat/dstat-0.7.4-r3.ebuild 
b/sys-apps/dstat/dstat-0.7.4-r3.ebuild
new file mode 100644
index ..a20659b9c3bd
--- /dev/null
+++ b/sys-apps/dstat/dstat-0.7.4-r3.ebuild
@@ -0,0 +1,60 @@
+# 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 ~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}"
+
+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
+}

diff --git a/sys-apps/dstat/files/dstat-0.7.4-fix-backslash-in-regex.patch 
b/sys-apps/dstat/files/dstat-0.7.4-fix-backslash-in-regex.patch
new file mode 100644
index ..fbd6c836eb8f
--- /dev/null
+++ b/sys-apps/dstat/files/dstat-0.7.4-fix-backslash-in-regex.patch
@@ -0,0 +1,168 @@
+diff --git a/dstat b/dstat
+index 9359965..e26334a 100755
+--- a/dstat
 b/dstat
+@@ -755,7 +755,7 @@ class dstat_disk(dstat):
+ def __init__(self):
+ self.nick = ('read', 'writ')
+ self.type = 'b'
+-self.diskfilter = 
re.compile('^([hsv]d[a-z]+\d+|cciss/c\d+d\d+p\d+|dm-\d+|md\d+|mmcblk\d+p\d0|VxVM\d+)$')
++self.diskfilter = 
re.compile(r'^([hsv]d[a-z]+\d+|cciss/c\d+d\d+p\d+|dm-\d+|md\d+|mmcblk\d+p\d0|VxVM\d+)$')
+ self.open('/proc/diskstats')
+ self.cols = 2
+ 
+@@ -841,7 +841,7 @@ class dstat_disk24(dstat):
+ def __init__(self):
+ self.nick = ('read', 'writ')
+ self.type = 'b'
+-self.diskfilter = 
re.compile('^([hsv]d[a-z]+\d+|cciss/c\d+d\d+p\d+|dm-\d+|md\d+|mmcblk\d+p\d0|VxVM\d+)$')
++self.diskfilter = 
re.compile(r'^([hsv]d[a-z]+\d+|cciss/c\d+d\d+p\d+|dm-\d+|md\d+|mmcblk\d+p\d0|VxVM\d+)$')
+ self.open('/proc/partitions')
+ if self.fd and not self.discover:
+ raise Exception('Kernel has no per-partition I/O accounting 
[CONFIG_BLK_STATS], use at least 2.4.20')
+@@ -926,8 +926,8 @@ class dstat_disk24_old(dstat):
+ def __init__(self):
+ self.nick = ('read', 'writ')
+ self.type = 'b'
+-self.diskfilter = 
re.compile('^([hsv]d[a-z]+\d+|cciss/c\d+d\d+p\d+|dm-\d+|md\d+|mmcblk\d+p\d0|VxVM\d+)$')
+-self.regexp = 
re.compile('^\((\d+),(\d+)\):\(\d+,\d+,(\d+),\d+,(\d+)\)$')
++self.diskfilter = 
re.compile(r'^([hsv]d[a-z]+\d+|cciss/c\d+d\d+p\d+|dm-\d+|md\d+|mmcblk\d+p\d0|VxVM\d+)$')
++self.regexp = 
re.compile(r'^\((\d+),(\d+)\):\(\d+,\d+,(\d+),\d+,(\d+)\)$')
+ self.open('/proc/stat')
+ self.cols = 2
+ 
+@@ -1178,7 +1178,7 @@ class dstat_io(dstat):
+ self.type = 'f'
+ self.width = 5
+ self.scale = 1000
+-self.diskfilter = 
re.compile('^([hsv]d[a-z]+\d+|cciss/c\d+d\d+p\d+|dm-\d+|md\d+|mmcblk\d+p\d0|VxVM\d+)$')
++self.diskfilter = 
re.compile(r'^([hsv]d[a-z]+\d+|cciss/c\d+d\d+p\d+|dm-\d+|md\d+|mmcblk\d+p\d0|VxVM\d+)$')
+ self.open('/proc/diskstats')
+ self.cols = 2
+ 
+@@ -1324,7 +1324,7 @@ class dstat_net(dstat):
+ def __init__(self):
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2023-02-01 Thread Benda XU
commit: c40d119dd4b597ebd8faee146dbfd3cb4f3e89f2
Author: Benda Xu  gentoo  org>
AuthorDate: Wed Feb  1 10:03:45 2023 +
Commit: Benda XU  gentoo  org>
CommitDate: Wed Feb  1 10:04:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c40d119d

sys-apps/dstat: enable py3.11

Signed-off-by: Benda Xu  gentoo.org>

 sys-apps/dstat/dstat-0.7.4-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/dstat/dstat-0.7.4-r2.ebuild 
b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
index 323a3d46c5d9..ff7e7673547d 100644
--- a/sys-apps/dstat/dstat-0.7.4-r2.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit python-r1
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2022-05-30 Thread Sam James
commit: 91e0308a99012a863737e84154dc100bbd80b3f1
Author: Paul Healy  gmail  com>
AuthorDate: Mon May 30 16:46:37 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 31 02:12:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91e0308a

sys-apps/dstat: add python 3.10 to python compat

add python 3.10
drop python 3.7 and 3.8

Bug: https://bugs.gentoo.org/846308
Signed-off-by: Paul Healy  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25692
Signed-off-by: Sam James  gentoo.org>

 sys-apps/dstat/dstat-0.7.4-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/dstat/dstat-0.7.4-r2.ebuild 
b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
index bdaa4b1c23aa..323a3d46c5d9 100644
--- a/sys-apps/dstat/dstat-0.7.4-r2.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{9..10} )
 
 inherit python-r1
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/, sys-apps/dstat/files/

2020-09-19 Thread Michał Górny
commit: b163fce18c1a70510f37ed89d932cc7426b990b9
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 19 11:52:42 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep 19 12:29:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b163fce1

sys-apps/dstat: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/dstat/Manifest|  1 -
 sys-apps/dstat/dstat-0.7.3.ebuild  | 39 --
 sys-apps/dstat/dstat-0.7.4-r1.ebuild   | 59 --
 sys-apps/dstat/dstat-0.7.4.ebuild  | 52 ---
 .../files/dstat-0.7.3-skip-non-sandbox-tests.patch | 15 --
 5 files changed, 166 deletions(-)

diff --git a/sys-apps/dstat/Manifest b/sys-apps/dstat/Manifest
index ad77287898f..85f5131a910 100644
--- a/sys-apps/dstat/Manifest
+++ b/sys-apps/dstat/Manifest
@@ -1,2 +1 @@
-DIST dstat-0.7.3.tar.gz 135583 BLAKE2B 
c846a06b6039e49944d43cc36178fed74fd4e0e3a1a4418dbe0e5987763995eb36dff0245cfa7107d446b8ac2ea500e13980f87e97aa8e5b8d566ee188be1639
 SHA512 
db37cc8bb7afd235ae9088e76c4defaa4d76651b111fbfdcd0980bc96376de20d57964912799a413397a79651730503bdeb8fea5cb97ab4d6d81632f528aefd2
 DIST dstat-0.7.4.tar.gz 139992 BLAKE2B 
c8226358956687a4f64e248ef539b431b9e394e87986366f9941df2e86f0dac3032261ec2ca9c816d3bc89afabc352bc8bc80f9ad3eaa6118fd16bd7b0f1e68e
 SHA512 
d100223887ebd83d0fd1259436f39419a85df9002556abcfc8e4195aa63be73d85707dcd5c4fb56a979b29131485dce6e97c177fbfca08dc50bd0f92b15cc6f5

diff --git a/sys-apps/dstat/dstat-0.7.3.ebuild 
b/sys-apps/dstat/dstat-0.7.3.ebuild
deleted file mode 100644
index 372d70a1fd0..000
--- a/sys-apps/dstat/dstat-0.7.3.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-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/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux"
-IUSE="wifi doc examples"
-REQUIRED_USE="wifi? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
-   wifi? (
-   ${PYTHON_DEPS}
-   net-wireless/python-wifi
-   )"
-DEPEND=""
-
-PATCHES=( "${FILESDIR}/dstat-${PV}-skip-non-sandbox-tests.patch" )
-
-src_install() {
-   emake DESTDIR="${ED}" install
-   einstalldocs
-
-   if use examples; then
-   dodoc examples/{mstat,read}.py
-   fi
-   if use doc; then
-   dodoc docs/*.html
-   fi
-}

diff --git a/sys-apps/dstat/dstat-0.7.4-r1.ebuild 
b/sys-apps/dstat/dstat-0.7.4-r1.ebuild
deleted file mode 100644
index a5d6db02953..000
--- a/sys-apps/dstat/dstat-0.7.4-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-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 ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux"
-IUSE="doc examples wifi"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/six[${PYTHON_USEDEP}]
-   wifi? (
-   net-wireless/python-wifi
-   )"
-DEPEND="${RDEPEND}"
-
-PATCHES=( \
-   "${FILESDIR}/dstat-${PV}-skip-non-sandbox-tests.patch" \
-   "${FILESDIR}/fix-collections-deprecation-warning.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
-}

diff --git a/sys-apps/dstat/dstat-0.7.4.ebuild 
b/sys-apps/dstat/dstat-0.7.4.ebuild
deleted file mode 100644
index 43f33c42343..000
--- a/sys-apps/dstat/dstat-0.7.4.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit python-r1
-
-DESCRIPTION="Versatile replacement for vmstat, iostat and ifstat"
-HOMEPAGE="http://dag.wieers.com/home-made/dstat/;

[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2020-09-05 Thread Sam James
commit: e9ea4e6333e9fcd095358c5b089b5987a69838d9
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep  5 15:14:24 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep  5 15:14:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ea4e63

sys-apps/dstat: Stabilize 0.7.4-r2 amd64, #739964

Signed-off-by: Sam James  gentoo.org>

 sys-apps/dstat/dstat-0.7.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4-r2.ebuild 
b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
index 5dd894b7458..d11a131e200 100644
--- a/sys-apps/dstat/dstat-0.7.4-r2.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
@@ -13,7 +13,7 @@ 
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 ~ia64 ~mips ~ppc ~ppc64 sparc x86 
~x86-linux"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86 
~x86-linux"
 IUSE="doc examples"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2020-09-04 Thread Sergei Trofimovich
commit: a32c48603624a6922cfa3cf3197fec7a30cef984
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Sep  4 10:23:27 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Sep  4 10:31:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a32c4860

sys-apps/dstat: stable 0.7.4-r2 for sparc

stable wrt bug #739964

Package-Manager: Portage-3.0.5, Repoman-3.0.1
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/dstat/dstat-0.7.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4-r2.ebuild 
b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
index ddd1585c117..5dd894b7458 100644
--- a/sys-apps/dstat/dstat-0.7.4-r2.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
@@ -13,7 +13,7 @@ 
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 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 
~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86 
~x86-linux"
 IUSE="doc examples"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2020-09-03 Thread Thomas Deutschmann
commit: 6aa692143b284da286c0ba727654b5f31654ebe2
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Sep  3 14:20:05 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Sep  3 14:20:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa69214

sys-apps/dstat: x86 stable (bug #739964)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-apps/dstat/dstat-0.7.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4-r2.ebuild 
b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
index 7e27d34cc5d..ddd1585c117 100644
--- a/sys-apps/dstat/dstat-0.7.4-r2.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
@@ -13,7 +13,7 @@ 
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 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 
~x86-linux"
 IUSE="doc examples"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2020-09-02 Thread Sam James
commit: d82f3036667f032ace586bf51d32ab45ee0d8c54
Author: Paul Healy  gmail  com>
AuthorDate: Wed Sep  2 20:03:44 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep  2 20:03:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82f3036

sys-apps/dstat: fix test failure

call the tests correctly with the correct python version(s)

Bug: https://bugs.gentoo.org/711690
Signed-off-by: Paul Healy  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15644
Signed-off-by: Sam James  gentoo.org>

 sys-apps/dstat/dstat-0.7.4-r2.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-apps/dstat/dstat-0.7.4-r2.ebuild 
b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
index 6116fd50161..7e27d34cc5d 100644
--- a/sys-apps/dstat/dstat-0.7.4-r2.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
@@ -54,3 +54,7 @@ src_install() {
dodoc docs/*.html
fi
 }
+
+src_test() {
+   python_foreach_impl emake test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/files/, sys-apps/dstat/

2020-07-16 Thread Joonas Niilola
commit: dfe7211eaba93e58b530ec6fd80f3478e4ec3653
Author: Tomáš Mózes  gmail  com>
AuthorDate: Fri Jun 19 09:18:02 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jul 16 14:38:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfe7211e

sys-apps/dstat: fix csv output

Closes: https://bugs.gentoo.org/728736
Signed-off-by: Tomáš Mózes  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16322
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-apps/dstat/dstat-0.7.4-r2.ebuild  | 56 +++
 sys-apps/dstat/files/fix-csv-output.patch | 21 
 2 files changed, 77 insertions(+)

diff --git a/sys-apps/dstat/dstat-0.7.4-r2.ebuild 
b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
new file mode 100644
index 000..ef9a1a736ea
--- /dev/null
+++ b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
@@ -0,0 +1,56 @@
+# 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="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 ~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}"
+
+PATCHES=(
+   "${FILESDIR}/dstat-${PV}-skip-non-sandbox-tests.patch"
+   "${FILESDIR}/fix-collections-deprecation-warning.patch"
+   "${FILESDIR}/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
+}

diff --git a/sys-apps/dstat/files/fix-csv-output.patch 
b/sys-apps/dstat/files/fix-csv-output.patch
new file mode 100644
index 000..e44125b0e46
--- /dev/null
+++ b/sys-apps/dstat/files/fix-csv-output.patch
@@ -0,0 +1,21 @@
+https://serverfault.com/questions/996996/dstat-fails-to-start-trying-to-load-python3s-csv
+
+diff --git a/dstat b/dstat
+index 9359965..1682fb5 100755
+--- a/dstat
 b/dstat
+@@ -541,12 +541,12 @@ class dstat:
+ 
+ line = ''
+ for i, name in enumerate(self.vars):
+-if isinstance(self.val[name], types.ListType) or 
isinstance(self.val[name], types.TupleType):
++if isinstance(self.val[name], (tuple, list)):
+ for j, val in enumerate(self.val[name]):
+ line = line + printcsv(val)
+ if j + 1 != len(self.val[name]):
+ line = line + char['sep']
+-elif isinstance(self.val[name], types.StringType):
++elif isinstance(self.val[name], str):
+ line = line + self.val[name]
+ else:
+ line = line + printcsv(self.val[name])



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/files/, sys-apps/dstat/

2020-07-16 Thread Joonas Niilola
commit: 372d3bc3dbb073de22a7ef44e399d5e218b92348
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Jul 16 13:45:58 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jul 16 14:38:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=372d3bc3

sys-apps/dstat: rename csv-output.patch better

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-apps/dstat/dstat-0.7.4-r2.ebuild| 2 +-
 .../files/{fix-csv-output.patch => dstat-0.7.4-fix-csv-output.patch}| 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4-r2.ebuild 
b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
index ef9a1a736ea..6116fd50161 100644
--- a/sys-apps/dstat/dstat-0.7.4-r2.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4-r2.ebuild
@@ -24,7 +24,7 @@ DEPEND="${RDEPEND}"
 PATCHES=(
"${FILESDIR}/dstat-${PV}-skip-non-sandbox-tests.patch"
"${FILESDIR}/fix-collections-deprecation-warning.patch"
-   "${FILESDIR}/fix-csv-output.patch"
+   "${FILESDIR}/dstat-0.7.4-fix-csv-output.patch"
 )
 
 src_prepare() {

diff --git a/sys-apps/dstat/files/fix-csv-output.patch 
b/sys-apps/dstat/files/dstat-0.7.4-fix-csv-output.patch
similarity index 100%
rename from sys-apps/dstat/files/fix-csv-output.patch
rename to sys-apps/dstat/files/dstat-0.7.4-fix-csv-output.patch



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2020-05-07 Thread Michał Górny
commit: 7a9cf57072d9ad8325cec7a7dc6163c0366c0f2a
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May  7 15:18:05 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May  7 17:58:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a9cf570

sys-apps/dstat: Remove py2.7

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/dstat/dstat-0.7.4-r1.ebuild | 2 +-
 sys-apps/dstat/dstat-0.7.4.ebuild| 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/dstat/dstat-0.7.4-r1.ebuild 
b/sys-apps/dstat/dstat-0.7.4-r1.ebuild
index b2f209299e7..a5d6db02953 100644
--- a/sys-apps/dstat/dstat-0.7.4-r1.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit python-r1
 

diff --git a/sys-apps/dstat/dstat-0.7.4.ebuild 
b/sys-apps/dstat/dstat-0.7.4.ebuild
index 205434328b2..43f33c42343 100644
--- a/sys-apps/dstat/dstat-0.7.4.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit python-r1
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2019-12-10 Thread Agostino Sarubbo
commit: ee8915e1bf88b27f10801476fc990138d4e1a2e9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec 10 09:19:36 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec 10 09:19:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee8915e1

sys-apps/dstat: ppc stable wrt bug #700862

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/dstat/dstat-0.7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4.ebuild 
b/sys-apps/dstat/dstat-0.7.4.ebuild
index 2ec701f78d1..205434328b2 100644
--- a/sys-apps/dstat/dstat-0.7.4.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4.ebuild
@@ -13,7 +13,7 @@ 
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 ~ia64 ~mips ~ppc ppc64 sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc examples wifi"
 REQUIRED_USE="wifi? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2019-12-08 Thread Sergei Trofimovich
commit: 098f81306d6007918b5d98331cdb5abc2736a5ee
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Dec  8 09:20:57 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec  8 10:58:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=098f8130

sys-apps/dstat: stable 0.7.4 for hppa, bug #700862

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/dstat/dstat-0.7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4.ebuild 
b/sys-apps/dstat/dstat-0.7.4.ebuild
index 3d6cebb3953..2ec701f78d1 100644
--- a/sys-apps/dstat/dstat-0.7.4.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4.ebuild
@@ -13,7 +13,7 @@ 
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 ~ia64 ~mips ~ppc ppc64 sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm64 hppa ~ia64 ~mips ~ppc ppc64 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc examples wifi"
 REQUIRED_USE="wifi? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2019-12-03 Thread Agostino Sarubbo
commit: 25ede6c0dc3404a8d562339359c589dddec684aa
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec  3 11:57:55 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec  3 11:57:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25ede6c0

sys-apps/dstat: ppc64 stable wrt bug #700862

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/dstat/dstat-0.7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4.ebuild 
b/sys-apps/dstat/dstat-0.7.4.ebuild
index 50592404a60..3d6cebb3953 100644
--- a/sys-apps/dstat/dstat-0.7.4.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4.ebuild
@@ -13,7 +13,7 @@ 
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 ~ia64 ~mips ~ppc ~ppc64 sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc examples wifi"
 REQUIRED_USE="wifi? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2019-12-03 Thread Agostino Sarubbo
commit: f3d6e3e79299b57230939e84f2e323e7789d74c7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec  3 10:07:34 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec  3 10:07:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3d6e3e7

sys-apps/dstat: sparc stable wrt bug #700862

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/dstat/dstat-0.7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4.ebuild 
b/sys-apps/dstat/dstat-0.7.4.ebuild
index 4a2b421669d..50592404a60 100644
--- a/sys-apps/dstat/dstat-0.7.4.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4.ebuild
@@ -13,7 +13,7 @@ 
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 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc examples wifi"
 REQUIRED_USE="wifi? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2019-12-02 Thread Agostino Sarubbo
commit: beeb3d7f639dfd4d8424da26319a8c82c44f38ac
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Dec  2 10:45:58 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Dec  2 10:45:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beeb3d7f

sys-apps/dstat: x86 stable wrt bug #700862

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/dstat/dstat-0.7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4.ebuild 
b/sys-apps/dstat/dstat-0.7.4.ebuild
index 43c8622ccaf..4a2b421669d 100644
--- a/sys-apps/dstat/dstat-0.7.4.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4.ebuild
@@ -13,7 +13,7 @@ 
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 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc examples wifi"
 REQUIRED_USE="wifi? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2019-12-01 Thread Piotr Karbowski
commit: 6f9b05912cba130f23f2d74ff14eeab3749beec9
Author: Piotr Karbowski  gentoo  org>
AuthorDate: Sun Dec  1 23:48:57 2019 +
Commit: Piotr Karbowski  gentoo  org>
CommitDate: Sun Dec  1 23:48:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f9b0591

sys-apps/dstat-0.7.4: amd64 stable (Bug 700862)

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Piotr Karbowski  gentoo.org>

 sys-apps/dstat/dstat-0.7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4.ebuild 
b/sys-apps/dstat/dstat-0.7.4.ebuild
index 3c7300ff8da..43c8622ccaf 100644
--- a/sys-apps/dstat/dstat-0.7.4.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4.ebuild
@@ -13,7 +13,7 @@ 
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 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="doc examples wifi"
 REQUIRED_USE="wifi? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2019-10-24 Thread Piotr Karbowski
commit: c4a088199cd63467f2d0e607735fbecbec761229
Author: Piotr Karbowski  gentoo  org>
AuthorDate: Thu Oct 24 19:51:52 2019 +
Commit: Piotr Karbowski  gentoo  org>
CommitDate: Thu Oct 24 19:52:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4a08819

sys-apps/dstat: 0.7.4: add missing install target.

Fixes broken src_install() introduced in commit
33d249d4b12616985c6b3b67d484e989827de983.

Closes: https://bugs.gentoo.org/698456
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Piotr Karbowski  gentoo.org>

 sys-apps/dstat/dstat-0.7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4.ebuild 
b/sys-apps/dstat/dstat-0.7.4.ebuild
index 491efbdb32a..3c7300ff8da 100644
--- a/sys-apps/dstat/dstat-0.7.4.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4.ebuild
@@ -40,7 +40,7 @@ src_prepare() {
 }
 
 src_install() {
-   emake DESTDIR="${ED}"
+   emake DESTDIR="${ED}" install
einstalldocs
 
if use examples; then



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2019-10-22 Thread Guilherme Amadio
commit: 33d249d4b12616985c6b3b67d484e989827de983
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Oct 22 08:18:33 2019 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Oct 22 08:24:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33d249d4

sys-apps/dstat: fix src_install() for prefix

Using 'default' as done in the version bump made files get
installed outside the prefix, directly into /usr.

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Guilherme Amadio  gentoo.org>

 sys-apps/dstat/dstat-0.7.4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.4.ebuild 
b/sys-apps/dstat/dstat-0.7.4.ebuild
index 66bbf59ec4a..491efbdb32a 100644
--- a/sys-apps/dstat/dstat-0.7.4.ebuild
+++ b/sys-apps/dstat/dstat-0.7.4.ebuild
@@ -40,7 +40,8 @@ src_prepare() {
 }
 
 src_install() {
-   default
+   emake DESTDIR="${ED}"
+   einstalldocs
 
if use examples; then
dodoc examples/{mstat,read}.py



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/files/, sys-apps/dstat/

2019-10-21 Thread Joonas Niilola
commit: 3b58c3821d247318956da534ca95b838d1ed26f2
Author: Paul Healy  gmail  com>
AuthorDate: Tue Oct  8 20:21:11 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 21 14:08:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b58c382

sys-apps/dstat: version bump to 0.7.4

Adds support for python 3
Now uses EAPI 7
backport fix from: https://github.com/dagwieers/dstat/pull/167/files
added missing six dep
avoid deprecation warning for importing collections with python 3.7

Closes: https://bugs.gentoo.org/696442

Signed-off-by: Paul Healy  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-apps/dstat/Manifest|  1 +
 sys-apps/dstat/dstat-0.7.4.ebuild  | 51 ++
 .../files/dstat-0.7.4-skip-non-sandbox-tests.patch | 18 
 .../fix-collections-deprecation-warning.patch  | 25 +++
 4 files changed, 95 insertions(+)

diff --git a/sys-apps/dstat/Manifest b/sys-apps/dstat/Manifest
index bd2c9a4da63..ad77287898f 100644
--- a/sys-apps/dstat/Manifest
+++ b/sys-apps/dstat/Manifest
@@ -1 +1,2 @@
 DIST dstat-0.7.3.tar.gz 135583 BLAKE2B 
c846a06b6039e49944d43cc36178fed74fd4e0e3a1a4418dbe0e5987763995eb36dff0245cfa7107d446b8ac2ea500e13980f87e97aa8e5b8d566ee188be1639
 SHA512 
db37cc8bb7afd235ae9088e76c4defaa4d76651b111fbfdcd0980bc96376de20d57964912799a413397a79651730503bdeb8fea5cb97ab4d6d81632f528aefd2
+DIST dstat-0.7.4.tar.gz 139992 BLAKE2B 
c8226358956687a4f64e248ef539b431b9e394e87986366f9941df2e86f0dac3032261ec2ca9c816d3bc89afabc352bc8bc80f9ad3eaa6118fd16bd7b0f1e68e
 SHA512 
d100223887ebd83d0fd1259436f39419a85df9002556abcfc8e4195aa63be73d85707dcd5c4fb56a979b29131485dce6e97c177fbfca08dc50bd0f92b15cc6f5

diff --git a/sys-apps/dstat/dstat-0.7.4.ebuild 
b/sys-apps/dstat/dstat-0.7.4.ebuild
new file mode 100644
index 000..66bbf59ec4a
--- /dev/null
+++ b/sys-apps/dstat/dstat-0.7.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+
+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 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="doc examples wifi"
+REQUIRED_USE="wifi? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+   dev-python/six[${PYTHON_USEDEP}]
+   wifi? (
+   ${PYTHON_DEPS}
+   net-wireless/python-wifi
+   )"
+DEPEND=""
+
+PATCHES=( \
+   "${FILESDIR}/dstat-${PV}-skip-non-sandbox-tests.patch" \
+   "${FILESDIR}/fix-collections-deprecation-warning.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() {
+   default
+
+   if use examples; then
+   dodoc examples/{mstat,read}.py
+   fi
+   if use doc; then
+   dodoc docs/*.html
+   fi
+}

diff --git a/sys-apps/dstat/files/dstat-0.7.4-skip-non-sandbox-tests.patch 
b/sys-apps/dstat/files/dstat-0.7.4-skip-non-sandbox-tests.patch
new file mode 100644
index 000..38457cdc95d
--- /dev/null
+++ b/sys-apps/dstat/files/dstat-0.7.4-skip-non-sandbox-tests.patch
@@ -0,0 +1,18 @@
+diff --git a/Makefile b/Makefile
+index c371f62..42ef84d 100644
+--- a/Makefile
 b/Makefile
+@@ -32,10 +32,12 @@ clean:
+   rm -f examples/*.pyc plugins/*.pyc
+   $(MAKE) -C docs clean
+ 
++TEST_PLUGINS=--cpufreq --disk-tps --dstat-cpu --dstat-ctxt --dstat-mem 
--dstat --helloworld --md-status --net-packets --proc-count --snooze --test 
--top-bio-adv --top-bio --top-childwait --top-cpu-adv --top-cpu 
--top-cputime-avg --top-cputime --top-int --top-io-adv --top-io 
--top-latency-avg --top-latency --top-mem --top-oom
++
+ test:
+   ./dstat --version
+   ./dstat -taf 1 5
+-  ./dstat -t --all-plugins 1 5
++  ./dstat -t $(TEST_PLUGINS) 1 5
+ 
+ dist: clean
+   $(MAKE) -C docs dist

diff --git a/sys-apps/dstat/files/fix-collections-deprecation-warning.patch 
b/sys-apps/dstat/files/fix-collections-deprecation-warning.patch
new file mode 100644
index 000..e505c98d89f
--- /dev/null
+++ b/sys-apps/dstat/files/fix-collections-deprecation-warning.patch
@@ -0,0 +1,25 @@
+diff --git a/dstat b/dstat
+index 9359965..777242f 100755
+--- a/dstat
 b/dstat
+@@ -19,6 +19,11 @@
+ from __future__ import absolute_import, division, generators, print_function
+ __metaclass__ = type
+ 
++try:
++from collections.abc import Sequence
++except ImportError:
++from collections import Sequence
++
+ import collections
+ import fnmatch
+ import getopt
+@@ -512,7 +517,7 @@ class 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2019-08-11 Thread Michał Górny
commit: d6b1bc039f21638fc9271649a6a03126d004c164
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug 11 08:43:47 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug 11 08:45:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6b1bc03

sys-apps/dstat: Remove duplicated global flag desc

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/dstat/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys-apps/dstat/metadata.xml b/sys-apps/dstat/metadata.xml
index 97a18fb59d1..4ae294d3be2 100644
--- a/sys-apps/dstat/metadata.xml
+++ b/sys-apps/dstat/metadata.xml
@@ -18,9 +18,6 @@ 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).

-   
-   Enable wireless network functions
-   

dagwieers/dstat




[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2018-10-07 Thread Andreas Sturmlechner
commit: 30b1df6839f44c7ea39fc162f0d64edfacecb638
Author: Paul Healy  gmail  com>
AuthorDate: Tue Oct  2 17:59:57 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct  7 21:06:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30b1df68

sys-apps/dstat: add proxy maintainer to metadata.xml

I would like to maintain this package, and have added
myself to metadata.xml

Signed-off-by: Paul Healy  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-apps/dstat/metadata.xml | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/sys-apps/dstat/metadata.xml b/sys-apps/dstat/metadata.xml
index 4fb9befed7d..97a18fb59d1 100644
--- a/sys-apps/dstat/metadata.xml
+++ b/sys-apps/dstat/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   lmip...@gmail.com
+   Paul Healy
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

 Dstat is a versatile replacement for vmstat, iostat and ifstat. Dstat overcomes
 some of the limitations and adds some extra features.



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/files/, sys-apps/dstat/

2018-10-07 Thread Andreas Sturmlechner
commit: 3f9649777c14a331b3f29c0bc77f223656eec5a0
Author: Paul Healy  gmail  com>
AuthorDate: Tue Oct  2 17:52:58 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct  7 21:06:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f964977

sys-apps/dstat: avoid running network... etc tests

This fixes the test target to only load a restricted
number of the shipped plugins - network, db,
virtualisation... etc will fail in different ways
unless the environment or explicit dependencies are
met.

Closes: https://bugs.gentoo.org/638728
Closes: https://bugs.gentoo.org/656514

Signed-off-by: Paul Healy  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10046
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-apps/dstat/dstat-0.7.3.ebuild |  2 ++
 .../dstat/files/dstat-0.7.3-skip-non-sandbox-tests.patch  | 15 +++
 2 files changed, 17 insertions(+)

diff --git a/sys-apps/dstat/dstat-0.7.3.ebuild 
b/sys-apps/dstat/dstat-0.7.3.ebuild
index cbdd1df1a54..372d70a1fd0 100644
--- a/sys-apps/dstat/dstat-0.7.3.ebuild
+++ b/sys-apps/dstat/dstat-0.7.3.ebuild
@@ -24,6 +24,8 @@ RDEPEND="
)"
 DEPEND=""
 
+PATCHES=( "${FILESDIR}/dstat-${PV}-skip-non-sandbox-tests.patch" )
+
 src_install() {
emake DESTDIR="${ED}" install
einstalldocs

diff --git a/sys-apps/dstat/files/dstat-0.7.3-skip-non-sandbox-tests.patch 
b/sys-apps/dstat/files/dstat-0.7.3-skip-non-sandbox-tests.patch
new file mode 100644
index 000..48eb542ed19
--- /dev/null
+++ b/sys-apps/dstat/files/dstat-0.7.3-skip-non-sandbox-tests.patch
@@ -0,0 +1,15 @@
+--- a/Makefile 2016-03-18 13:03:22.0 +
 b/Makefile 2018-10-02 11:11:00.344942941 +0100
+@@ -32,9 +32,11 @@
+   rm -f examples/*.pyc plugins/*.pyc
+   $(MAKE) -C docs clean
+ 
++TEST_PLUGINS=--cpufreq --disk-avgqu --disk-avgrq --disk-svctm --disk-tps 
--disk-util --disk-wait --dstat-cpu --dstat-ctxt --dstat-mem --dstat 
--helloworld --md-status --net-packets --proc-count --snooze --test 
--top-bio-adv --top-bio --top-childwait --top-cpu-adv --top-cpu 
--top-cputime-avg --top-cputime --top-int --top-io-adv --top-io 
--top-latency-avg --top-latency --top-mem --top-oom
++
+ test:
+   ./dstat -taf 1 5
+-  ./dstat -t --all-plugins 1 5
++  ./dstat -t $(TEST_PLUGINS) 1 5
+ 
+ dist: clean
+   $(MAKE) -C docs dist



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2018-03-31 Thread Sebastian Pipping
commit: e21b8a80de67e41c1d766b87c534292d445e0093
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Sat Mar 31 17:04:14 2018 +
Commit: Sebastian Pipping  gentoo  org>
CommitDate: Sat Mar 31 17:42:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e21b8a80

sys-apps/dstat: keyword ~arm64

Closes: https://github.com/gentoo/gentoo/pull/7739

 sys-apps/dstat/dstat-0.7.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.3.ebuild 
b/sys-apps/dstat/dstat-0.7.3.ebuild
index 04847b0ef79..cbdd1df1a54 100644
--- a/sys-apps/dstat/dstat-0.7.3.ebuild
+++ b/sys-apps/dstat/dstat-0.7.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/dagwieers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="wifi doc examples"
 REQUIRED_USE="wifi? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2018-02-06 Thread Benda XU
commit: 543b5ea6264543d34e8ea5ebc553e79012fa3c7e
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Feb  6 19:27:49 2018 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Feb  6 19:42:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=543b5ea6

sys-apps/dstat: support Prefix again.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/dstat/dstat-0.7.3.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-apps/dstat/dstat-0.7.3.ebuild 
b/sys-apps/dstat/dstat-0.7.3.ebuild
index 38eec6ece2d..04847b0ef79 100644
--- a/sys-apps/dstat/dstat-0.7.3.ebuild
+++ b/sys-apps/dstat/dstat-0.7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -25,7 +25,9 @@ RDEPEND="
 DEPEND=""
 
 src_install() {
-   default
+   emake DESTDIR="${ED}" install
+   einstalldocs
+
if use examples; then
dodoc examples/{mstat,read}.py
fi



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2017-04-20 Thread David Seifert
commit: 0540baaa4bf8b47f8892a488fd9063cf106efb8a
Author: David Seifert  gentoo  org>
AuthorDate: Thu Apr 20 16:10:11 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Apr 20 16:40:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0540baaa

sys-apps/dstat: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-apps/dstat/dstat-0.7.3.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.3.ebuild 
b/sys-apps/dstat/dstat-0.7.3.ebuild
index 265f4c12121..38eec6ece2d 100644
--- a/sys-apps/dstat/dstat-0.7.3.ebuild
+++ b/sys-apps/dstat/dstat-0.7.3.ebuild
@@ -15,8 +15,13 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="wifi doc examples"
+REQUIRED_USE="wifi? ( ${PYTHON_REQUIRED_USE} )"
 
-RDEPEND="wifi? ( net-wireless/python-wifi )"
+RDEPEND="
+   wifi? (
+   ${PYTHON_DEPS}
+   net-wireless/python-wifi
+   )"
 DEPEND=""
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/, sys-apps/dstat/files/

2017-01-15 Thread Pacho Ramos
commit: eeba0b01cdd645e0396ceb8aed3eaf3f8f10b635
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jan 15 11:05:53 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jan 15 11:20:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeba0b01

sys-apps/dstat: Drop old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-apps/dstat/Manifest|  2 -
 sys-apps/dstat/dstat-0.6.9-r1.ebuild   | 44 
 sys-apps/dstat/dstat-0.7.2-r1.ebuild   | 48 --
 .../dstat/files/dstat-0.6.9-CVE-2009-3894.patch| 15 ---
 4 files changed, 109 deletions(-)

diff --git a/sys-apps/dstat/Manifest b/sys-apps/dstat/Manifest
index 8da150f..01d1ba7 100644
--- a/sys-apps/dstat/Manifest
+++ b/sys-apps/dstat/Manifest
@@ -1,3 +1 @@
-DIST dstat-0.6.9.tar.bz2 74060 SHA256 
edb2c17d081ee2b0b4fc2c57c2ed6dc36628853abd76c838026e99b3d1ea897c SHA512 
59c7df7c0e1ea592591fecd66e96953c981a9b05dabbb33207f84b566b3fddda8ab5bc0bf9d8322ec64814a604dc34bedc53232c1e6dc2951906cbaf6a94a542
 WHIRLPOOL 
8caa06fb33daba80a4b9df99e53a874b9fe33b58c68c0c7a81a60f86ab29c170453137ae4a77dff806b2b7b187c0550efec6af56b44c5d05affb5aee20a18179
-DIST dstat-0.7.2.tar.bz2 85870 SHA256 
34a986d9d7c028bd9dcb6b2ef1c740f7220de5c9cf976870a2b62aca23b33bae SHA512 
276447c0f5492e4d2ac78f9f5b1d08e3565d26d02a7e6a22ef70f77b20f84d2b9ba806212860886139d401e4dfc2453c0dbc9ed82398ddec0ee75f5999080624
 WHIRLPOOL 
1f263026b137ac3f6bfb70d8840a52769505a6c55301607a4a6afae36fd084326922bf3f8edf5399df004a3d8f7dce165b5613e6729dc2944e8e6bf1674d2cb4
 DIST dstat-0.7.3.tar.gz 135583 SHA256 
46e63821857b69fbc60cb2c7d893ccdd6f31cd9ef24b8bb0b68951e1c7374898 SHA512 
db37cc8bb7afd235ae9088e76c4defaa4d76651b111fbfdcd0980bc96376de20d57964912799a413397a79651730503bdeb8fea5cb97ab4d6d81632f528aefd2
 WHIRLPOOL 
ad1b2c9647aae6f5002dd7474909c29ae7ca9bdb6efd10b42ce95b9b58f49406e9b13ed3863e4946166da34c597613751b314d5915886d349f916f2159559a6a

diff --git a/sys-apps/dstat/dstat-0.6.9-r1.ebuild 
b/sys-apps/dstat/dstat-0.6.9-r1.ebuild
deleted file mode 100644
index 5f129b4..
--- a/sys-apps/dstat/dstat-0.6.9-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-PYTHON_DEPEND="2"
-
-inherit python eutils
-
-DESCRIPTION="Versatile replacement for vmstat, iostat and ifstat"
-HOMEPAGE="http://dag.wieers.com/home-made/dstat/;
-SRC_URI="http://dag.wieers.com/home-made/${PN}/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86"
-IUSE=""
-
-pkg_setup() {
-   python_set_active_version 2
-   python_pkg_setup
-}
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-CVE-2009-3894.patch # 293497
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   dodoc \
-   AUTHORS ChangeLog README TODO \
-   examples/{mstat,read}.py docs/*.txt
-   dohtml docs/*.html
-}
-
-pkg_postinst() {
-   python_mod_optimize /usr/share/dstat
-}
-
-pkg_postrm() {
-   python_mod_cleanup /usr/share/dstat
-}

diff --git a/sys-apps/dstat/dstat-0.7.2-r1.ebuild 
b/sys-apps/dstat/dstat-0.7.2-r1.ebuild
deleted file mode 100644
index 3f93d84..
--- a/sys-apps/dstat/dstat-0.7.2-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-PYTHON_DEPEND="2"
-
-inherit python eutils
-
-DESCRIPTION="Versatile replacement for vmstat, iostat and ifstat"
-HOMEPAGE="http://dag.wieers.com/home-made/dstat/;
-SRC_URI="http://dag.wieers.com/home-made/${PN}/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux"
-IUSE="wifi"
-
-RDEPEND="wifi? ( net-wireless/python-wifi )"
-DEPEND=""
-
-pkg_setup() {
-   python_set_active_version 2
-   python_pkg_setup
-}
-
-src_compile() {
-   true
-}
-
-src_install() {
-   emake DESTDIR="${ED}" install
-   python_convert_shebangs 2 "${ED}usr/bin/dstat"
-
-   dodoc \
-   AUTHORS ChangeLog README TODO \
-   examples/{mstat,read}.py docs/*.txt
-   dohtml docs/*.html
-}
-
-pkg_postinst() {
-   python_mod_optimize /usr/share/dstat
-}
-
-pkg_postrm() {
-   python_mod_cleanup /usr/share/dstat
-}

diff --git a/sys-apps/dstat/files/dstat-0.6.9-CVE-2009-3894.patch 
b/sys-apps/dstat/files/dstat-0.6.9-CVE-2009-3894.patch
deleted file mode 100644
index 042552b..
--- a/sys-apps/dstat/files/dstat-0.6.9-CVE-2009-3894.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=293497
-
-Index: dstat-0.6.9/dstat
-===
 dstat-0.6.9.orig/dstat
-+++ dstat-0.6.9/dstat
-@@ -28,8 +28,6 @@ try:
- inspath('/usr/local/share/dstat/')
- inspath('/usr/share/dstat/')
-   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2016-12-17 Thread Aaron Bauman
commit: 995bb408afabd1cd83a71795d29e5a43972510e5
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Dec 18 01:43:25 2016 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Dec 18 01:43:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=995bb408

sys-apps/dstat: amd64 stable wrt bug #593570

 sys-apps/dstat/dstat-0.7.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.3.ebuild 
b/sys-apps/dstat/dstat-0.7.3.ebuild
index 6a84316..38ee976 100644
--- a/sys-apps/dstat/dstat-0.7.3.ebuild
+++ b/sys-apps/dstat/dstat-0.7.3.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/dagwieers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 hppa ~ia64 ~mips ~ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ~ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="wifi doc examples"
 
 RDEPEND="wifi? ( net-wireless/python-wifi )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2016-10-20 Thread Jeroen Roovers
commit: edec119618c33d7d445db16c7ae5d92d1686142f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Oct 21 03:29:34 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Oct 21 03:29:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edec1196

sys-apps/dstat: Stable for HPPA PPC64 (bug #593570).

Package-Manager: portage-2.3.2
RepoMan-Options: --ignore-arches

 sys-apps/dstat/dstat-0.7.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/dstat/dstat-0.7.3.ebuild 
b/sys-apps/dstat/dstat-0.7.3.ebuild
index 48d9b66..6a84316 100644
--- a/sys-apps/dstat/dstat-0.7.3.ebuild
+++ b/sys-apps/dstat/dstat-0.7.3.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/dagwieers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha ~amd64 hppa ~ia64 ~mips ~ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="wifi doc examples"
 
 RDEPEND="wifi? ( net-wireless/python-wifi )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/dstat/

2016-08-08 Thread Patrice Clement
commit: 07f990e84c31b0a68d6fc9fae331da07af14a77a
Author: Henning Schild  hennsch  de>
AuthorDate: Tue Aug  2 19:43:11 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Aug  8 08:02:13 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07f990e8

sys-apps/dstat: version bump to 0.7.3.

Signed-off-by: Henning Schild  hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/2003
Signed-off-by: Patrice Clement  gentoo.org>

 sys-apps/dstat/Manifest   |  1 +
 sys-apps/dstat/dstat-0.7.3.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/sys-apps/dstat/Manifest b/sys-apps/dstat/Manifest
index 76b8928..8da150f 100644
--- a/sys-apps/dstat/Manifest
+++ b/sys-apps/dstat/Manifest
@@ -1,2 +1,3 @@
 DIST dstat-0.6.9.tar.bz2 74060 SHA256 
edb2c17d081ee2b0b4fc2c57c2ed6dc36628853abd76c838026e99b3d1ea897c SHA512 
59c7df7c0e1ea592591fecd66e96953c981a9b05dabbb33207f84b566b3fddda8ab5bc0bf9d8322ec64814a604dc34bedc53232c1e6dc2951906cbaf6a94a542
 WHIRLPOOL 
8caa06fb33daba80a4b9df99e53a874b9fe33b58c68c0c7a81a60f86ab29c170453137ae4a77dff806b2b7b187c0550efec6af56b44c5d05affb5aee20a18179
 DIST dstat-0.7.2.tar.bz2 85870 SHA256 
34a986d9d7c028bd9dcb6b2ef1c740f7220de5c9cf976870a2b62aca23b33bae SHA512 
276447c0f5492e4d2ac78f9f5b1d08e3565d26d02a7e6a22ef70f77b20f84d2b9ba806212860886139d401e4dfc2453c0dbc9ed82398ddec0ee75f5999080624
 WHIRLPOOL 
1f263026b137ac3f6bfb70d8840a52769505a6c55301607a4a6afae36fd084326922bf3f8edf5399df004a3d8f7dce165b5613e6729dc2944e8e6bf1674d2cb4
+DIST dstat-0.7.3.tar.gz 135583 SHA256 
46e63821857b69fbc60cb2c7d893ccdd6f31cd9ef24b8bb0b68951e1c7374898 SHA512 
db37cc8bb7afd235ae9088e76c4defaa4d76651b111fbfdcd0980bc96376de20d57964912799a413397a79651730503bdeb8fea5cb97ab4d6d81632f528aefd2
 WHIRLPOOL 
ad1b2c9647aae6f5002dd7474909c29ae7ca9bdb6efd10b42ce95b9b58f49406e9b13ed3863e4946166da34c597613751b314d5915886d349f916f2159559a6a

diff --git a/sys-apps/dstat/dstat-0.7.3.ebuild 
b/sys-apps/dstat/dstat-0.7.3.ebuild
new file mode 100644
index 000..48d9b66
--- /dev/null
+++ b/sys-apps/dstat/dstat-0.7.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+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/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+IUSE="wifi doc examples"
+
+RDEPEND="wifi? ( net-wireless/python-wifi )"
+DEPEND=""
+
+src_install() {
+   default
+   if use examples; then
+   dodoc examples/{mstat,read}.py
+   fi
+   if use doc; then
+   dodoc docs/*.html
+   fi
+}