diff options
Diffstat (limited to 'dev-ruby/gettext_i18n_rails')
-rw-r--r-- | dev-ruby/gettext_i18n_rails/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.13.0.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/gettext_i18n_rails/Manifest b/dev-ruby/gettext_i18n_rails/Manifest index a832500e4777..18f84564f55e 100644 --- a/dev-ruby/gettext_i18n_rails/Manifest +++ b/dev-ruby/gettext_i18n_rails/Manifest @@ -1,3 +1,5 @@ DIST gettext_i18n_rails-1.12.0.tar.gz 21003 BLAKE2B 7bd7d290296ebc789fed23cb8c278a734273f5cae1e6958b29d825a1a088a845483d838e59148154c17e3dd25ba7696ed6b88e395d04057315b3953c716c293c SHA512 2934bb458df164881d3d8dbad44d98b34a6f4346331084dc03e47c0db79e2b4378b6f22d31686c6f4800805691ad95af9eac9773f7cb3b8abba2b665d3078670 +DIST gettext_i18n_rails-1.13.0.tar.gz 21147 BLAKE2B 43ba0e408a274283280634a775bddef0bdc4b203e683db3f926c02fed24b413b052dddf08876f81b0b7976b934b1f8845c5278f9c9d10da8013f9062da68ac2f SHA512 58ae4b12ee75e7892d451fedd89375393341e258cf3a859534998dc2582eb6ed6eaeb579e001325e775e639caddc52f9e71ed7f5b7023dce4cdbbfa8f653f3eb EBUILD gettext_i18n_rails-1.12.0.ebuild 1138 BLAKE2B 06b872cd7b9260d15b0bdaf60cd8690df2d545e660c75bd2b98967679d653f65c69735261353f5e9fcc89ed95be924cff38229e56642d7cb4a930040b8c4091e SHA512 fa93a46cb47714e0b526c90d782f1a5d307dfc999bbcd10f7b0955a676b10b00b59f4a6b248056d2e5ffa947ade80bd1637725d8c912d718fc23dce879ad23a2 +EBUILD gettext_i18n_rails-1.13.0.ebuild 1135 BLAKE2B 2d165ebad7373db19f777a22518d1a30996e025434ecc75dcdf62371d7ec567a4c57fefdf82929cc8ffbc94f48033214be8c95ccf0a5314211274f5fa3d93238 SHA512 4fedfdb5f07f493aa0522359f21a3c63650210838c1fcd97f1a643423baff990a6e316b4e42b6f040a7379c529fdca6d469a60d8a008eba6d38d4d1f5a1b5604 MISC metadata.xml 353 BLAKE2B cfdd814918fa7d75f7e209c0efff8c8ecba9154a8977cab4d64412c2cd09a52553d5b25050c25535fc59c3dfc11255ab9fbff703536da85a7b0b7d29390cb7af SHA512 12b6cbce3229f093d824a6d1036a44ee7cbb7399dc29db9eeaac72797440d222f65bd1efafe097efb2aee9ddb2881df54bb93bb336d0c03441b2a396405d1967 diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.13.0.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.13.0.ebuild new file mode 100644 index 000000000000..b59e2668da8f --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.13.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="gettext_i18n_rails.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="FastGettext / Rails integration" +HOMEPAGE="https://github.com/grosser/gettext_i18n_rails" +SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( + dev-ruby/rails:7.0 + dev-ruby/activerecord:7.0[sqlite] + dev-ruby/temple + dev-ruby/ruby-gettext + dev-ruby/haml + dev-ruby/slim +)" + +ruby_add_rdepend ">=dev-ruby/fast_gettext-0.9.0:*" + +all_ruby_prepare() { + rm Gemfile Gemfile.lock || die + + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove specs for slim and hamlet, template engines we don't package. + rm spec/gettext_i18n_rails/slim_parser_spec.rb spec/gettext_i18n_rails/haml_parser_spec.rb || die + + # Test against specific Rails version + sed -e '1igem "rails", "~>7.0.0"' -i spec/spec_helper.rb || die +} |