diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-08-12 06:48:37 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-08-12 06:48:37 +0200 |
commit | ef5fb4b198ff667ca1b3667e114edd7e9e952ca7 (patch) | |
tree | 5f6ecdf283d1d86e78c5053ff4307fbbb1894a3d /dev-ruby/gettext_i18n_rails | |
parent | dev-ruby/rubytest: cleanup (diff) | |
download | gentoo-ef5fb4b198ff667ca1b3667e114edd7e9e952ca7.tar.gz gentoo-ef5fb4b198ff667ca1b3667e114edd7e9e952ca7.tar.bz2 gentoo-ef5fb4b198ff667ca1b3667e114edd7e9e952ca7.zip |
dev-ruby/gettext_i18n_rails: add 1.8.0
Package-Manager: portage-2.2.28
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.8.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/gettext_i18n_rails/Manifest b/dev-ruby/gettext_i18n_rails/Manifest index 7f96c08d819c..cac426f126a0 100644 --- a/dev-ruby/gettext_i18n_rails/Manifest +++ b/dev-ruby/gettext_i18n_rails/Manifest @@ -1,2 +1,3 @@ DIST gettext_i18n_rails-1.5.0.tar.gz 21841 SHA256 7797598d06b2cee4dc12db4ca0f7c11f966d58b8bdd4337caff0a6ddc5813317 SHA512 ce962315b912c0978d4637aa451644186c5159aa529a4e12e7906e3d7cf1d5e9ff81bda33effd2947a22eff53d1bc51560ca682b95b98782f8d6d180d8d633c9 WHIRLPOOL 77e501274e0aceb1b2ee219623b17cd1868c9099c30760c840df04b492c3adc335042a1a717ed34e2ec44d418d928bb3574a7c508d2d940f6e148ccf82ad7f56 DIST gettext_i18n_rails-1.7.2.tar.gz 22133 SHA256 ba29437c92946191db695d8cb64ccc23834252aea17758e6e6277e083d55eead SHA512 5c9dc7932810bd96be0da2282d72ea87d9fcdfab1f33fce7736dddc04784586d79d64dd9e9d828c5fd07b8eb3d466e29bdee08ad02d64973bef1e69599c9325b WHIRLPOOL 255a1eae16b9cc7b3b59077d9407251286cce369ece1435a97f98fd173780b057e1dc4429e51dae1f5676565103310e84e0a2834a6ddeae5923a960d7a3153cb +DIST gettext_i18n_rails-1.8.0.tar.gz 21702 SHA256 8cf8230e64a63adf83e21fff26006683996de3d55efc660bd191deab4ac73584 SHA512 9005526dd14e5e36f5ffdd207af824ad110f5e0c8dcf34175b6a68caad257d45a7b9ee048c6d0f38ffb399fbeff689b5e64b7c26f00263001efeababfa85aa7e WHIRLPOOL e730a47072d3901ab78fe809a5bc4ae49578c49d9da299d23d7358944c66944c18252556dfee43e665d1a265c958f13a62db7d6579fbd33f820cb72842f4b9b0 diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.8.0.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.8.0.ebuild new file mode 100644 index 000000000000..5dbff7be8662 --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.8.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +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:4.2 dev-ruby/activerecord:4.2[sqlite] dev-ruby/temple )" +ruby_add_rdepend ">=dev-ruby/fast_gettext-0.9.0" + +all_ruby_prepare() { + rm Gemfile Gemfile.lock || 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 Rails 4.2.0 + sed -e '1igem "rails", "~>4.2.0"' -i spec/spec_helper.rb || die +} |