2020-07-27 13:14:50 +03:00
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
2017-07-30 11:02:16 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=6
|
2020-07-27 13:14:50 +03:00
|
|
|
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
2017-07-30 11:02:16 +03:00
|
|
|
|
|
|
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
|
|
|
inherit ruby-fakegem
|
|
|
|
|
|
|
|
DESCRIPTION="Ruby implementation of the GNU readline C library"
|
2018-03-30 19:29:27 +03:00
|
|
|
HOMEPAGE="https://rubygems.org/gems/rb-readline"
|
2017-07-30 11:02:16 +03:00
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
ruby_add_bdepend "dev-ruby/rake
|
|
|
|
>=dev-ruby/minitest-5.2"
|
|
|
|
|
|
|
|
all_ruby_prepare() {
|
|
|
|
sed -i -e '/bundler/ s:^:#:' Rakefile || die
|
|
|
|
|
|
|
|
# Skip a test that fails when run in the ebuild environment.
|
|
|
|
sed -i -e '/test_readline_with_default_parameters_does_not_error/,/end/ s:^:#:' test/test_readline.rb || die
|
|
|
|
}
|