dev-ruby/thor: amd64 stable

This also requires dropping tests due to a long chain of circular
dependencies.

Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
Hans de Graaff
2018-01-13 09:08:14 +01:00
parent 6a6f1f2440
commit ca6f9ee642

View File

@@ -1,11 +1,11 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby21 ruby22 ruby23 ruby24"
USE_RUBY="ruby22 ruby23 ruby24"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_RECIPE_TEST="none"
RUBY_FAKEGEM_DOCDIR="rdoc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_BINWRAP="thor"
@@ -19,15 +19,9 @@ SRC_URI="https://github.com/erikhuda/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~amd64-linux"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~amd64-linux"
IUSE="doc"
USE_RUBY="ruby21 ruby22 ruby23" ruby_add_bdepend "
test? (
dev-ruby/childlabor
dev-ruby/webmock:0
)"
all_ruby_prepare() {
# Remove rspec default options (as we might not have the last
# rspec).
@@ -45,14 +39,3 @@ all_ruby_prepare() {
# bug 430402
sed -i -e '/uses maximum terminal width/,/end/ s:^:#:' spec/shell/basic_spec.rb || die
}
each_ruby_test() {
case ${RUBY} in
*ruby24)
einfo "Skipping tests due to circular dependencies"
;;
*)
RSPEC_VERSION=3 ruby-ng_rspec spec || die
;;
esac
}