From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1068086-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D5EE7138334 for <garchives@archives.gentoo.org>; Mon, 21 Jan 2019 18:17:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C86A2E0B48; Mon, 21 Jan 2019 18:17:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A0B88E0B48 for <gentoo-commits@lists.gentoo.org>; Mon, 21 Jan 2019 18:17:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF358335CE9 for <gentoo-commits@lists.gentoo.org>; Mon, 21 Jan 2019 18:17:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3615844B for <gentoo-commits@lists.gentoo.org>; Mon, 21 Jan 2019 18:17:04 +0000 (UTC) From: "Hans de Graaff" <graaff@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" <graaff@gentoo.org> Message-ID: <1548094621.c44aba5158944dab72e154b8c7d08b54560e53e1.graaff@gentoo> Subject: [gentoo-commits] proj/ruby-scripts:master commit in: ruby-stats/ X-VCS-Repository: proj/ruby-scripts X-VCS-Files: ruby-stats/plot ruby-stats/ruby_stats.py X-VCS-Directories: ruby-stats/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: c44aba5158944dab72e154b8c7d08b54560e53e1 X-VCS-Branch: master Date: Mon, 21 Jan 2019 18:17:04 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e440fc24-c560-4923-9ea9-f0fc7ead724e X-Archives-Hash: 8a3b94f0ac96b6a7e2386b821129197c commit: c44aba5158944dab72e154b8c7d08b54560e53e1 Author: Hans de Graaff <hans <AT> degraaff <DOT> org> AuthorDate: Mon Jan 21 18:16:31 2019 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon Jan 21 18:17:01 2019 +0000 URL: https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=c44aba51 Add ruby26 to the stats scripts Signed-off-by: Hans de Graaff <hans <AT> degraaff.org> ruby-stats/plot | 4 +--- 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: