mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user