summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-06-25 20:11:22 +0200
committerHans de Graaff <graaff@gentoo.org>2018-06-25 20:20:28 +0200
commitc232335b5577eb67035ac19c5833b640a5c34898 (patch)
tree09dfde44daf7b811a88f142022e5c36d49b4514f /dev-ruby/gettext-setup
parentapp-admin/puppet: add 4.10.12 (diff)
downloadgentoo-c232335b5577eb67035ac19c5833b640a5c34898.tar.gz
gentoo-c232335b5577eb67035ac19c5833b640a5c34898.tar.bz2
gentoo-c232335b5577eb67035ac19c5833b640a5c34898.zip
dev-ruby/gettext-setup: add ruby25
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/gettext-setup')
-rw-r--r--dev-ruby/gettext-setup/gettext-setup-0.30.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-ruby/gettext-setup/gettext-setup-0.30.ebuild b/dev-ruby/gettext-setup/gettext-setup-0.30.ebuild
index 8c7fbd5c3f8b..40e499ee5d61 100644
--- a/dev-ruby/gettext-setup/gettext-setup-0.30.ebuild
+++ b/dev-ruby/gettext-setup/gettext-setup-0.30.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-USE_RUBY="ruby22 ruby23 ruby24"
+USE_RUBY="ruby23 ruby24 ruby25"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
@@ -33,7 +33,7 @@ all_ruby_prepare() {
sed -i -e 's/1.1.0/1.1/' \
-e "s/spec.version.*$/spec.version = '${PV}'/" ${RUBY_FAKEGEM_GEMSPEC} || die
- sed -i -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die
+ sed -i -e '/simplecov/,/^end/ s:^:#: ; 1irequire "date"' spec/spec_helper.rb || die
# Avoid spec with specific locale requirements
sed -i -e '/can clear the locale/,/^ end/ s:^:#:' spec/lib/gettext-setup/gettext_setup_spec.rb || die