mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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 <lmiphay@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
19 lines
661 B
Diff
19 lines
661 B
Diff
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
|