summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-05-07 11:33:02 +0200
committerHans de Graaff <graaff@gentoo.org>2017-05-07 11:44:24 +0200
commit6d109769fe4fae24108c063eba598bebfa5d85cb (patch)
tree372001993724041794a3e7c79a8ab29980d94041
parentdev-ruby/public_suffix: cleanup (diff)
downloadgentoo-6d109769fe4fae24108c063eba598bebfa5d85cb.tar.gz
gentoo-6d109769fe4fae24108c063eba598bebfa5d85cb.tar.bz2
gentoo-6d109769fe4fae24108c063eba598bebfa5d85cb.zip
dev-ruby/public_suffix: add ruby24
Package-Manager: Portage-2.3.5, Repoman-2.3.1
-rw-r--r--dev-ruby/public_suffix/public_suffix-2.0.5.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-ruby/public_suffix/public_suffix-2.0.5.ebuild b/dev-ruby/public_suffix/public_suffix-2.0.5.ebuild
index 5825f2335a98..9d686aff32cd 100644
--- a/dev-ruby/public_suffix/public_suffix-2.0.5.ebuild
+++ b/dev-ruby/public_suffix/public_suffix-2.0.5.ebuild
@@ -3,7 +3,7 @@
EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRAINSTALL="data"
@@ -18,9 +18,10 @@ LICENSE="MIT"
SLOT="2"
IUSE=""
-ruby_add_bdepend "test? ( dev-ruby/mocha dev-ruby/yard )"
+ruby_add_bdepend "test? ( dev-ruby/mocha )"
all_ruby_prepare() {
- sed -i -e '/rubocop/I s:^:#:' Rakefile || die
+ sed -i -e '/rubocop/I s:^:#:' \
+ -e '/yardoc/,/end/ s:^:#:' Rakefile || die
sed -i -e '/reporters/I s:^:#:' test/test_helper.rb || die
}