summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ruby-stats')
-rw-r--r--ruby-stats/plot4
-rwxr-xr-xruby-stats/ruby_stats.py9
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: