diff options
Diffstat (limited to 'dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.9.4.ebuild')
-rw-r--r-- | dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.9.4.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.9.4.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.9.4.ebuild new file mode 100644 index 000000000000..c45380b14fd9 --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.9.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.9.4.ebuild,v 1.1 2013/05/04 05:41:39 graaff Exp $ + +EAPI=5 + +# jruby support requires sqlite3 support for jruby. +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="FastGettext / Rails integration." +HOMEPAGE="https://github.com/grosser/gettext_i18n_rails" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/activerecord[sqlite3] dev-ruby/temple )" +ruby_add_rdepend ">=dev-ruby/fast_gettext-0.4.8" + +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 +} |