diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-06-06 15:07:39 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-06-06 15:07:39 +0200 |
commit | 8f1535d50214f913a574482eb04f586571bf8159 (patch) | |
tree | 89fec74c38847a30a4e5f89b3c3db4dfb93b10f2 | |
parent | www-client/links: fix lzip dependency (diff) | |
download | gentoo-8f1535d50214f913a574482eb04f586571bf8159.tar.gz gentoo-8f1535d50214f913a574482eb04f586571bf8159.tar.bz2 gentoo-8f1535d50214f913a574482eb04f586571bf8159.zip |
dev-ruby/gettext_i18n_rails: add 1.11.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | dev-ruby/gettext_i18n_rails/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.11.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/gettext_i18n_rails/Manifest b/dev-ruby/gettext_i18n_rails/Manifest index f966d0f3ed76..65c1a9d779b0 100644 --- a/dev-ruby/gettext_i18n_rails/Manifest +++ b/dev-ruby/gettext_i18n_rails/Manifest @@ -1,2 +1,3 @@ DIST gettext_i18n_rails-1.10.0.tar.gz 21434 BLAKE2B 7b754b482c527593589f43b2547b5ed418db09bce255ba8e65523c7bf46c5402953990dc5941b06af8745a25c7840358e4beabaf1a2aec295a7763484bce8818 SHA512 0016dee43253fbf1fb712d74a1fb85c28d9d23b62af2ab16dfd4837f38749e4be8901b578b6a1e6ecbcf7476114e15873b4c073c5c0bdd7417e1d78515a3e4ff DIST gettext_i18n_rails-1.10.1.tar.gz 21451 BLAKE2B 493307ff0c786aa54ec64140e8f2b0b3b4763f985959123f104a720718ff2bd64786a0d4c081e31a872573467f3183dade2259970b9f04cb68abb51d1cd27f8a SHA512 30aedac2d178c44d5fc5f6501d721ded23b6e3964783c3862aa8dae7902e973338d4a8415146c579270cc900bb1394a92b0a53ebbf9a7437dbe4f1c87a6173ca +DIST gettext_i18n_rails-1.11.0.tar.gz 21644 BLAKE2B 291ad5882cb3a5faa596752b02a5f2c26f5c748dad91d7eb444ca03d65e07920be1a74ac80d40a444a929d807f2b65785ffe644b386a9f8efeefbfdb015eba56 SHA512 6eb8e34690042dd7b9680012bec91181080eb65e1b85cd7de838a30899f4ecc55a3c7a9e5afa27f37ee53180a8ef29878ee996bf0a3c193196f41db8f8e57af1 diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.11.0.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.11.0.ebuild new file mode 100644 index 000000000000..0573377d24ec --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.11.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31" + +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="" + +ruby_add_bdepend "test? ( dev-ruby/rails:6.1 dev-ruby/activerecord:6.1[sqlite] dev-ruby/temple )" +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", "~>6.1.0"' -i spec/spec_helper.rb || die +} |