summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-12-25 09:43:34 +0000
committerHans de Graaff <graaff@gentoo.org>2013-12-25 09:43:34 +0000
commit73b92ab6f6a4bdc8c3083599106ff63b70fd806c (patch)
tree0bd5518281b7e4d9890d0440a2cd4d0a667a14c6 /dev-ruby/i18n
parentarm stable, bug #494692 (diff)
downloadgentoo-2-73b92ab6f6a4bdc8c3083599106ff63b70fd806c.tar.gz
gentoo-2-73b92ab6f6a4bdc8c3083599106ff63b70fd806c.tar.bz2
gentoo-2-73b92ab6f6a4bdc8c3083599106ff63b70fd806c.zip
Add a new revision for ruby20 with Rails 4.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/i18n')
-rw-r--r--dev-ruby/i18n/ChangeLog7
-rw-r--r--dev-ruby/i18n/i18n-0.6.9-r1.ebuild36
2 files changed, 42 insertions, 1 deletions
diff --git a/dev-ruby/i18n/ChangeLog b/dev-ruby/i18n/ChangeLog
index 1279be4f20ee..f280348cb204 100644
--- a/dev-ruby/i18n/ChangeLog
+++ b/dev-ruby/i18n/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/i18n
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v 1.57 2013/12/04 07:19:15 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v 1.58 2013/12/25 09:43:34 graaff Exp $
+
+*i18n-0.6.9-r1 (25 Dec 2013)
+
+ 25 Dec 2013; Hans de Graaff <graaff@gentoo.org> +i18n-0.6.9-r1.ebuild:
+ Add a new revision for ruby20 with Rails 4.
*i18n-0.6.9 (04 Dec 2013)
diff --git a/dev-ruby/i18n/i18n-0.6.9-r1.ebuild b/dev-ruby/i18n/i18n-0.6.9-r1.ebuild
new file mode 100644
index 000000000000..3a7b1f043487
--- /dev/null
+++ b/dev-ruby/i18n/i18n-0.6.9-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/i18n-0.6.9-r1.ebuild,v 1.1 2013/12/25 09:43:34 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 jruby ruby19 ruby20"
+
+RUBY_FAKEGEM_RECIPE_TEST="test"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.textile"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Add Internationalization support to your Ruby application."
+HOMEPAGE="http://rails-i18n.org/"
+
+LICENSE="MIT"
+SLOT="0.6"
+KEYWORDS="~amd64 ~arm"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/activesupport
+ dev-ruby/mocha:0.12
+ dev-ruby/test_declarative )"
+
+each_ruby_test() {
+ ${RUBY} -w -Ilib -Itest test/all.rb || die
+}
+
+all_ruby_prepare() {
+ #Bundler isn't really necessary here, and it doesn't work with jruby
+ #Tests fail for ruby18 with >=mocha-0.13
+ sed -i -e "15s/require 'bundler\/setup'//"\
+ -e "/require 'mocha'/i gem 'mocha', '~>0.12.0'" test/test_helper.rb || die
+}