From c058f4ad4aa5ac6e6cb1d20debd0c098268f8b57 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Thu, 2 Mar 2017 07:15:47 +0100 Subject: [PATCH] dev-ruby/ruby-progressbar: drop ruby20 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- .../ruby-progressbar-1.8.1.ebuild | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/dev-ruby/ruby-progressbar/ruby-progressbar-1.8.1.ebuild b/dev-ruby/ruby-progressbar/ruby-progressbar-1.8.1.ebuild index e3af4e89c226..dc9bee8d5d71 100644 --- a/dev-ruby/ruby-progressbar/ruby-progressbar-1.8.1.ebuild +++ b/dev-ruby/ruby-progressbar/ruby-progressbar-1.8.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -USE_RUBY="ruby20 ruby21 ruby22 ruby23" +USE_RUBY="ruby21 ruby22 ruby23" RUBY_FAKEGEM_RECIPE_TEST="rspec3" RUBY_FAKEGEM_TASK_DOC="" @@ -27,15 +27,3 @@ all_ruby_prepare() { sed -i -e '/warning_filter/ s:^:#:' \ spec/spec_helper.rb || die } - -each_ruby_test() { - case ${RUBY} in - *ruby20) - # Skip specs since rspectacular doesn't work with ruby 2.0: - # https://github.com/thekompanee/rspectacular/issues/4 - ;; - *) - RSPEC_VERSION=3 ruby-ng_rspec spec || die - ;; - esac -} -- 2.26.2