diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-10-13 06:59:21 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-10-13 06:59:21 +0200 |
commit | 839b8e2ed3cf7987cc1527f192482fe0e89d1a17 (patch) | |
tree | 5e3650d16ab4e7a6d58e512b1d72280ade5b4650 /dev-ruby/gettext_i18n_rails | |
parent | dev-python/cheroot: Use test-rust flag (diff) | |
download | gentoo-839b8e2ed3cf7987cc1527f192482fe0e89d1a17.tar.gz gentoo-839b8e2ed3cf7987cc1527f192482fe0e89d1a17.tar.bz2 gentoo-839b8e2ed3cf7987cc1527f192482fe0e89d1a17.zip |
dev-ruby/gettext_i18n_rails: add 1.9.0
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.9.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 df3429f2b4ca..7505a39333c9 100644 --- a/dev-ruby/gettext_i18n_rails/Manifest +++ b/dev-ruby/gettext_i18n_rails/Manifest @@ -1 +1,2 @@ DIST gettext_i18n_rails-1.8.1.tar.gz 21942 BLAKE2B 7925bfad0e1033fd363ca2c376594ba8ca6a7f5c1da940c680acae53e4b3902d7c07828b6023ed208f559af1b9ded7933ffae6b7385e066c0494aa16cc728256 SHA512 711c15620a23c070f47d4846f48b74564bfc23d27e9757936b432c1b3c534121d4cf58101fe533bc58b7d3e33e899134b92cd119e2cd2cd3eb39f54e93e394e0 +DIST gettext_i18n_rails-1.9.0.tar.gz 21389 BLAKE2B 12c98c76f6e782d35957a168d71ba0ac6cbfa492954716366fc9c41cef1ee7cd733f4e352bff0c28c9ae873445729a30c572053eca423cfc272b4639e474a36d SHA512 dd271828120a4f430adf2d2f63d3c7c294d4b236d665b1e64599ba0c3e40114afcab0cd485fd2388e5747c4edb40d12de69e08464b36b160e216326bd112c232 diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.9.0.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.9.0.ebuild new file mode 100644 index 000000000000..e05449df8411 --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.9.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30" + +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 +} |