dev-ruby/ruby-progressbar: drop ruby20
authorHans de Graaff <graaff@gentoo.org>
Thu, 2 Mar 2017 06:15:47 +0000 (07:15 +0100)
committerHans de Graaff <graaff@gentoo.org>
Thu, 2 Mar 2017 06:15:47 +0000 (07:15 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-ruby/ruby-progressbar/ruby-progressbar-1.8.1.ebuild

index e3af4e89c226ba36629c506208e76e2e32e613dc..dc9bee8d5d7125d37c457c13555393a4d8182290 100644 (file)
@@ -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
-}