diff options
Diffstat (limited to 'dev-ruby/gettext-setup')
-rw-r--r-- | dev-ruby/gettext-setup/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/gettext-setup/gettext-setup-0.30.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/gettext-setup/Manifest b/dev-ruby/gettext-setup/Manifest index 7c513bee20f7..2008b575892e 100644 --- a/dev-ruby/gettext-setup/Manifest +++ b/dev-ruby/gettext-setup/Manifest @@ -1,3 +1,4 @@ DIST gettext-setup-0.26.tar.gz 14158 BLAKE2B d5efd85e736f2bac5b9a5ae4947a5353f83378444e64d2d999d95c765352c16147254d069faac87b6d8d65d44e52af850dddc0e11e1cb6ea77627f2768bf19b7 SHA512 c421a06b11a09ab68a1c784b355bdf0a1aeb468f0af8b2dc8e14dabad091a3f5ffb56eee2f39885dcd271cbe504c4c97a220c560da6b7dd5552b537be6455c2e DIST gettext-setup-0.28.tar.gz 15594 BLAKE2B 5cda2bd48cba44f38a27020febcbe6e9ee653d5399d17e942272fb4e3b7e5e54ee9612c2c3367dc6a41544363947cff8051af6fcb0f037dfa0a9bbd13274b20c SHA512 92526b21968a3357c5b86a953b83b28ce640be1eb3245122e89d701c3c3b9d72fb58c0c1f43a81f0fd0dd317dad69eb9f06abca818a394b9f14240d729949ab8 DIST gettext-setup-0.29.tar.gz 15811 BLAKE2B fab356f79e9a84433df583d122a391240ec9c412b062d6aecd13116bba483b3e9f71f8364e82cabc1f695ada416c99fcc8fafb2c8a7b99dc9f21881b4c045069 SHA512 b6bad9c38481880f1086ad9edca86ee46d5afb915213591d7b30526ee3428c91325f59f977ab21395fdc73df702f05666a3e00116ac5765b9bf66ce6bfa90575 +DIST gettext-setup-0.30.tar.gz 15952 BLAKE2B d224e0fee34b0735fdf22abe2efe81b45c6494fc48ca509daf076cda9d3b83dc6dcd3e44c20ae9776d98b7d6128e5b9a93fa49ba1f2daa4b00929714e8d7365c SHA512 6ee398a131098f46dcc2951d166081a90872330b6ba5637292eb326b1bd6f40f46350f6be7b2b9ebee0c62442609700e06d25befcbcbf6510f3d96e656855124 diff --git a/dev-ruby/gettext-setup/gettext-setup-0.30.ebuild b/dev-ruby/gettext-setup/gettext-setup-0.30.ebuild new file mode 100644 index 000000000000..756bded96c7f --- /dev/null +++ b/dev-ruby/gettext-setup/gettext-setup-0.30.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A gem to ease i18n" +HOMEPAGE="https://github.com/puppetlabs/gettext-setup-gem" +SRC_URI="https://github.com/puppetlabs/gettext-setup-gem/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-gem-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/fast_gettext-1.1.0 + >=dev-ruby/ruby-gettext-3.0.2 + dev-ruby/locale +" + +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 + + # Avoid spec with specific locale requirements + sed -i -e '/can clear the locale/,/^ end/ s:^:#:' spec/lib/gettext-setup/gettext_setup_spec.rb || die +} |