dev-ruby/ruby-progressbar: drop ruby20

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Hans de Graaff
2017-03-02 07:15:47 +01:00
parent 22b29f97cf
commit c058f4ad4a

View 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
}