summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-07-12 20:52:40 +0200
committerHans de Graaff <graaff@gentoo.org>2023-07-12 20:53:08 +0200
commit22c09dfe0c5f51388a5422f324064c0d06afaddd (patch)
treed16b846223a99c939296bc2b715ef014e508b352 /dev-ruby/ammeter
parentdev-util/aruba: enable ruby32 (diff)
downloadgentoo-22c09dfe0c5f51388a5422f324064c0d06afaddd.tar.gz
gentoo-22c09dfe0c5f51388a5422f324064c0d06afaddd.tar.bz2
gentoo-22c09dfe0c5f51388a5422f324064c0d06afaddd.zip
dev-ruby/ammeter: enable ruby32
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ammeter')
-rw-r--r--dev-ruby/ammeter/ammeter-1.1.5-r1.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-ruby/ammeter/ammeter-1.1.5-r1.ebuild b/dev-ruby/ammeter/ammeter-1.1.5-r1.ebuild
index dfe1f090e843..f3703c32800b 100644
--- a/dev-ruby/ammeter/ammeter-1.1.5-r1.ebuild
+++ b/dev-ruby/ammeter/ammeter-1.1.5-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31"
+USE_RUBY="ruby30 ruby31 ruby32"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
@@ -32,8 +32,6 @@ ruby_add_bdepend "
>=dev-ruby/rails-4.0
>=dev-ruby/uglifier-1.3
>=dev-ruby/rake-0.10
- >=dev-ruby/coffee-rails-4.0
- >=dev-ruby/sass-rails-4.0
>=dev-ruby/jquery-rails-3.0
dev-util/cucumber
dev-util/aruba
@@ -51,8 +49,8 @@ all_ruby_prepare() {
-e '/\(cucumber\|aruba\)/s:,.*$::' \
${RUBY_FAKEGEM_GEMSPEC} || die
- # haml-rails is not packaged
- sed -i -e '/haml-rails/d' ${RUBY_FAKEGEM_GEMSPEC} Gemfile || die
+ # haml-rails is not packaged, coffee-rails and sass-rails are no longer maintained
+ sed -i -e '/\(coffee\|haml\|sass\)-rails/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} Gemfile || die
rm -f spec/ammeter/rspec/generator/matchers/have_correct_syntax_spec.rb || die
}