diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-04-28 08:03:08 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-04-28 10:49:15 +0200 |
commit | a002a1dd0c3146ead1ee550e0f64af3f9a80fbc1 (patch) | |
tree | 914cd187e24265d10a7799d0fa57dce9689d51df /dev-ruby/gettext_i18n_rails | |
parent | www-apps/rutorrent: update maintainers (diff) | |
download | gentoo-a002a1dd0c3146ead1ee550e0f64af3f9a80fbc1.tar.gz gentoo-a002a1dd0c3146ead1ee550e0f64af3f9a80fbc1.tar.bz2 gentoo-a002a1dd0c3146ead1ee550e0f64af3f9a80fbc1.zip |
dev-ruby/gettext_i18n_rails: add 1.10.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/gettext_i18n_rails')
-rw-r--r-- | dev-ruby/gettext_i18n_rails/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.10.1.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 ab08b00a81da..f966d0f3ed76 100644 --- a/dev-ruby/gettext_i18n_rails/Manifest +++ b/dev-ruby/gettext_i18n_rails/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.10.1.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.10.1.ebuild new file mode 100644 index 000000000000..0573377d24ec --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.10.1.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 +} |