diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-05-16 15:05:57 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-05-16 15:41:59 +0200 |
commit | d60faac15c7e0650584ed14c6a849a244cb796aa (patch) | |
tree | f4ee08ce9a6312237528c2a9ae7754a2f3326865 /dev-ruby/gettext_i18n_rails | |
parent | profiles: mask dev-ml/parmap version requiring ocaml 4.03 (diff) | |
download | gentoo-d60faac15c7e0650584ed14c6a849a244cb796aa.tar.gz gentoo-d60faac15c7e0650584ed14c6a849a244cb796aa.tar.bz2 gentoo-d60faac15c7e0650584ed14c6a849a244cb796aa.zip |
dev-ruby/gettext_i18n_rails: add 1.7.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.7.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 b89f54b9d61f..9cde7b90039d 100644 --- a/dev-ruby/gettext_i18n_rails/Manifest +++ b/dev-ruby/gettext_i18n_rails/Manifest @@ -1,2 +1,3 @@ DIST gettext_i18n_rails-1.4.0.tar.gz 21787 SHA256 456f80d679437347cd2a9c516b442302dc93d8776d6503512dff03bdbceda54e SHA512 c6455acafbc498ba33703b028b54c30c15ee8454274677eb5dbe402354e178a880d53840d7c7b8f0e1a5a3212184f93043f7df2ab743955c8a869c79a16d4679 WHIRLPOOL ffa186594756a51dadd834e83788e630090bd1a9563e27accf86e5c187908a999d77188963b2b5b2cf9874c2fecf8add7a21b97b453023329d99b3acc529f973 DIST gettext_i18n_rails-1.5.0.tar.gz 21841 SHA256 7797598d06b2cee4dc12db4ca0f7c11f966d58b8bdd4337caff0a6ddc5813317 SHA512 ce962315b912c0978d4637aa451644186c5159aa529a4e12e7906e3d7cf1d5e9ff81bda33effd2947a22eff53d1bc51560ca682b95b98782f8d6d180d8d633c9 WHIRLPOOL 77e501274e0aceb1b2ee219623b17cd1868c9099c30760c840df04b492c3adc335042a1a717ed34e2ec44d418d928bb3574a7c508d2d940f6e148ccf82ad7f56 +DIST gettext_i18n_rails-1.7.0.tar.gz 22110 SHA256 2892d9095d43a1921cfefa46d3fdb67da80ef8aab7f81ca0bbd0fd7789db3a2b SHA512 a9e5d12c95eef69cf8637c52f9100ff05f97c18a01657e0000069b804dee269ebd48ebf433443045d1f2705d399a4a50412ea501a21c0d2d1cbd1550c7602ce1 WHIRLPOOL 5e30fef6e011406a22d01c54245c1cfe48f1475deb57c32dd492b49d0301e66079fdc354bc7f55242019ba306755130c3a3e8a8979141504b025418b753e4292 diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.7.0.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.7.0.ebuild new file mode 100644 index 000000000000..f1c8887545ce --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.7.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" + +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 ~x86" +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 +} |