dev-ruby/sprockets-rails: add ruby27

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2021-02-20 09:29:58 +01:00
parent c8197e8214
commit 761d4493f1

View File

@@ -1,8 +1,8 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby25 ruby26"
USE_RUBY="ruby25 ruby26 ruby27"
RUBY_FAKEGEM_TASK_DOC=""
@@ -21,14 +21,13 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux"
IUSE="test"
ruby_add_rdepend "
>=dev-ruby/actionpack-4.0:*
>=dev-ruby/activesupport-4.0:*
>=dev-ruby/actionpack-5.2:*
>=dev-ruby/activesupport-5.2:*
>=dev-ruby/sprockets-3.0.0:*"
ruby_add_bdepend "
test? (
>=dev-ruby/actionpack-4
>=dev-ruby/railties-4
<dev-ruby/railties-6.1
dev-ruby/test-unit:2
)"
@@ -36,5 +35,5 @@ all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile || die
# Help load correct rack version consistently
sed -i -e "3irequire 'action_controller'" test/test_helper.rb || die
sed -i -e "1igem 'railties', '< 6.1'" test/test_helper.rb || die
}