diff options
author | 2019-01-21 19:16:31 +0100 | |
---|---|---|
committer | 2019-01-21 19:17:01 +0100 | |
commit | c44aba5158944dab72e154b8c7d08b54560e53e1 (patch) | |
tree | 99482889ac4c246073eb267c0167cfbfb2fce675 | |
parent | eselect-ruby: support ruby 2.6 (diff) | |
download | ruby-scripts-c44aba5158944dab72e154b8c7d08b54560e53e1.tar.gz ruby-scripts-c44aba5158944dab72e154b8c7d08b54560e53e1.tar.bz2 ruby-scripts-c44aba5158944dab72e154b8c7d08b54560e53e1.zip |
Add ruby26 to the stats scripts
Signed-off-by: Hans de Graaff <hans@degraaff.org>
-rw-r--r-- | ruby-stats/plot | 4 | ||||
-rwxr-xr-x | ruby-stats/ruby_stats.py | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/ruby-stats/plot b/ruby-stats/plot index 07e0905..e588ec0 100644 --- a/ruby-stats/plot +++ b/ruby-stats/plot @@ -24,6 +24,4 @@ plot "data.txt" using 1:3 with lines lt 2 title "total", \ "data.txt" using 1:12 with lines lt 1 lc 9 title "ruby23", \ "data.txt" using 1:13 with lines lt 1 lc 10 title "ruby24", \ "data.txt" using 1:14 with lines lt 1 lc 11 title "ruby25", \ - "data.txt" using 1:7 with lines lt 1 lc 4 title "jruby", \ - "data.txt" using 1:8 with lines lt 1 lc 5 title "ree18", \ - "data.txt" using 1:9 with lines lt 1 lc 6 title "rbx" + "data.txt" using 1:15 with lines lt 1 lc 12 title "ruby26" diff --git a/ruby-stats/ruby_stats.py b/ruby-stats/ruby_stats.py index 6ca294c..d8f7a9d 100755 --- a/ruby-stats/ruby_stats.py +++ b/ruby-stats/ruby_stats.py @@ -4,13 +4,18 @@ # 2010-01-21 180 144 142 68 52 date_fmt = "%Y-%m-%d" -bins = ('ruby', 'ruby-ng', 'ruby_targets_ruby18', 'ruby_targets_ruby19', 'ruby_targets_ruby20', 'ruby_targets_jruby', 'ruby_targets_ree18', 'ruby_targets_rbx', 'ruby_targets_ruby21', 'ruby_targets_ruby22', 'ruby_targets_ruby23', 'ruby_targets_ruby24', 'ruby_targets_ruby25') +bins = ('ruby', 'ruby-ng', 'ruby_targets_ruby18', 'ruby_targets_ruby19', + 'ruby_targets_ruby20', 'ruby_targets_jruby', 'ruby_targets_ree18', + 'ruby_targets_rbx', 'ruby_targets_ruby21', 'ruby_targets_ruby22', + 'ruby_targets_ruby23', 'ruby_targets_ruby24', 'ruby_targets_ruby25', + 'ruby_targets_ruby26') import sys import time import os import portage + def main(): stats = {} for k in bins: @@ -49,6 +54,8 @@ def main(): stats['ruby_targets_ruby24'].add(cpv) if 'ruby_targets_ruby25' in iuse: stats['ruby_targets_ruby25'].add(cpv) + if 'ruby_targets_ruby26' in iuse: + stats['ruby_targets_ruby26'].add(cpv) if 'ruby_targets_jruby' in iuse: stats['ruby_targets_jruby'].add(cpv) if 'ruby_targets_ree18' in iuse: |