summaryrefslogtreecommitdiff
path: root/dev-ruby/i18n
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/i18n
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/i18n')
-rw-r--r--dev-ruby/i18n/Manifest19
-rw-r--r--dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch31
-rw-r--r--dev-ruby/i18n/i18n-0.6.11-r1.ebuild41
-rw-r--r--dev-ruby/i18n/i18n-0.7.0-r2.ebuild55
-rw-r--r--dev-ruby/i18n/i18n-0.7.0-r3.ebuild61
-rw-r--r--dev-ruby/i18n/i18n-0.8.6.ebuild51
-rw-r--r--dev-ruby/i18n/i18n-0.9.1.ebuild53
-rw-r--r--dev-ruby/i18n/i18n-0.9.5-r1.ebuild56
-rw-r--r--dev-ruby/i18n/i18n-0.9.5.ebuild56
-rw-r--r--dev-ruby/i18n/i18n-1.0.0.ebuild56
-rw-r--r--dev-ruby/i18n/i18n-1.0.1-r1.ebuild59
-rw-r--r--dev-ruby/i18n/i18n-1.0.1.ebuild56
-rw-r--r--dev-ruby/i18n/metadata.xml11
13 files changed, 605 insertions, 0 deletions
diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest
new file mode 100644
index 000000000000..6e2b72d3e3b2
--- /dev/null
+++ b/dev-ruby/i18n/Manifest
@@ -0,0 +1,19 @@
+AUX i18n-0.7.0-frozen-classes.patch 1126 BLAKE2B 4cfaca964ed676d4b35b7e2aadeec36160541843a48f8e71866ca3b79467bb057502dd102944540045a156c55c97ff7c455d75de8484e2b5f3bb2173696931c6 SHA512 11e1777e991f6273c47a860bc0f4b390052231c9d14fa0f6c51e06b70b09d223e4fdb1e7e76df51abbfe0a957858d086ef58be0e14b09744eb9642697c2caa56
+DIST i18n-0.6.11.gem 61440 BLAKE2B 3cfee519dd006578a328ec80d216ddae56433e1cb633e773826a2425df5ba6c518290438180af7c11c8eee4a69d1f38cd6666819d5d4b401efd026038492d853 SHA512 f3c26c13b333daed69dc044985816d79a27a489c860caaa03cd64b3ff31e3ea65aa850dd581162a264d0b0bb6bc383b12cb96c1a97d5d1d04bee45517a48b721
+DIST i18n-0.7.0.tar.gz 57647 BLAKE2B 50ea36ec616b90a261151cce47c98250e85b25ae75f90eb52ea01e8bb7e0c6288abb9055a4f80a199deb93c9ca66efd1ad568950d3f505206e0ba9ee9cdb8bc6 SHA512 8824feb3fb99bba759963d2ae34555f27b85dbac3d3001168471a27e47fc805e5ffe5c3b4e10d6ca4b2e2524ec16c98260b981ef504f274aab93f912a57d2e14
+DIST i18n-0.8.6.tar.gz 59657 BLAKE2B f0ddbee202daa4ac75f00113aa8bcac44797e782072a9626125497c9eca0545dccb2228c2d634bf0b9daab0339196c9d0cdd2df07285bd3792c9300353a60e53 SHA512 fe55729b5d9d2af7112d030c020257a98e7504aa554f691a759f5abe48058949442296ec154060d4a3243cefe0d6d420417f3aa8c857e3616de9bc996decc8cb
+DIST i18n-0.9.1.tar.gz 60359 BLAKE2B 98201124b557dd7e77ea56c491a99274f90853eabbdfd8217cd3a27888ddaf976f76c14fc2236609283546117b0c9837e272fc44aae0ff498ab7c557d6f036f3 SHA512 9726dea0b5aff12e6ddf499ddd5dea0853d345241b1ff19d6f97106a3f5f592b3336d2afddcd0717d15ed04c8098a8f9ea2870f1388353e073f78add2f0a77a5
+DIST i18n-0.9.5.tar.gz 61494 BLAKE2B 2a7bb401d5e75022ba6c40c6ee08809bc8728fe9aa22f308c4d532e6c042df57970b7fbfa574494072d8e5d0e125a01498c1964780d2ad9588b0a57da299a520 SHA512 356ce1290b207ce1b3dbed4d0ae542d027e74c43f453359ebf401755a5a55fd1fd815a2f046a634246e41f54c5360174dac1076be9cb7bf82f893f0dafdbd4bb
+DIST i18n-1.0.0.tar.gz 61451 BLAKE2B d054c69725b3eadf68a885b0d153a808e853ed9bd7e7edc032f2373ca45f56a6c61ff56005d4efe2a0fa531205bdbfd6f4631b014476c70b4c9da63a036e3730 SHA512 c00fc7a28886e7a3fad5432b0d06975ef42864fa8083d8f31bb111b93e27af07554c9dbe3288d5af648ef6a2d99e8ccadd27bf2e5a94ac09d6e50ec4c1a35e69
+DIST i18n-1.0.1.tar.gz 61536 BLAKE2B d439410004511f90e010beb7ab90029367e9ddb876c2215e101fa9a3385c0420a774586ec626136957dedd66c8c7b3b9ddcc6570e3a7075bbd5a90e3508ddea3 SHA512 1d0e05e04318e31d35d19c1af3b6d3aaef3d45df9b2868b65fef9aa3628c9502c6f8fca4beb52aa8c7c914c46ff159da489bc2ccac69013808459e709358b4ca
+EBUILD i18n-0.6.11-r1.ebuild 1325 BLAKE2B 6f0fdfe1af9f5c11e36f6f4d5090854f9b61752059053b143f58f63dde4eb160d79b36c71900b83cde941ae69bb2d777af999fedbe1d48b39846c11681aca5ce SHA512 0497dbca374d5afd9e7064335457fca6fdc8daf2d20bc550bc04603748f3818e9d44799ac510004afc304ecfc1774053d8928d9352da62e5d4197081791010fc
+EBUILD i18n-0.7.0-r2.ebuild 1514 BLAKE2B a027548d166ca6bd176d3cf2c7728fb0b6a22445ac22cf9e6e628a1d77f65d6c5f7262149cfdf6f22b83aa2c7a0fdfbc30d948466adc5885a2eeb58c1cce7360 SHA512 fe0eaaeda79550bd120e08fc6adf0a17d6e437e2682578dbd7dad08145e4188b37ea7f0a590d27a3548fc6b2e2989210957e39b94fe2f570234f5d7c06bfeff8
+EBUILD i18n-0.7.0-r3.ebuild 1626 BLAKE2B 7fcab35adf06965fe66b4201ca797a5774f6ca33f099bc8c50ce3f0358c25c2c04ede379a9acb9159b89c594c55a076d942929a0034787a9e0eb0b8bc35af89a SHA512 78e35f21ff8ff6c22eafc250dd685ad74c5974820018546327f9f85006c5e20c0bbb24054a0de1b67f34d190a77f59fa7ebf79b40518d2926ead38ddb989e799
+EBUILD i18n-0.8.6.ebuild 1350 BLAKE2B ccc38b18a766f850c3dbc7bc092b805ac15d9b7505e8443d5e39269d4f6e800d75dc09921ecd8123644b43f377573431e87aa58f5ba3624a177efddbefd6a2ba SHA512 6466ad5af282db56c980b065378ce87ad3a6495079d2f0436cdfaf1e77bfb3fc8ed120bc0eefec55d27dbeced6ac1ccb687b53fd02aebe107cb131e8a9f1ae37
+EBUILD i18n-0.9.1.ebuild 1393 BLAKE2B bfd42402e4c243c86285c6ee40019454595a17b38a338b1f7bf5794e23aa275c3b6ce7a5109f878490b6ac9690852a58977644f9b2f14b81f368df3d381495d5 SHA512 ed277f52680d78f7f790c2008bdd1a65c7c326c2d3ca265348c492f89275c1e90880605af61c641aef02e12cb50d971bd8bf3694bedd395929405115675a559b
+EBUILD i18n-0.9.5-r1.ebuild 1466 BLAKE2B 4fa4e7bd038ec1edb85e3c8fa5d97c29e263727fb0f2a89c68858bf8e8e1d0903a883f29e1eddf26f2444cba486a9fe761d96740bf64a52ea47e0c23760be844 SHA512 03e9185d1ba538e167f11805935f4e17ff0f381a81ccfa289d19fd37bcd38d8892db89ebe99699031d957b275ebe7a02fd6e89bc21f9a08f2ab2c2fb3ef43bf5
+EBUILD i18n-0.9.5.ebuild 1475 BLAKE2B 177aa41b3e8af750c7eaa59f3c1f8bbf0b8cbcff0b2797ba68ad11d0153339faea0e6fc70f6883d4ad084a3d68f3d07814701b303aa0b56126d9819b3621d9ad SHA512 ea69750d22d11bd6acf125dce3677bf5550d1ec5b421e449f8dcbdc3c16a883e54abf09ecd62f952fdc695744318fe7214ed502094b7d9ff3ce102a8ff31687e
+EBUILD i18n-1.0.0.ebuild 1473 BLAKE2B db2fdf21648ff851b12ce06b91a49dc23bbc1b9c2030a0cab4eefc14dcfbdf81e94c13b8155cb0b4e1e924753f5834e2786d68550961aa74d64d9602880cb2bd SHA512 663274fcf31d82f478ddcd5e4eadf84f3cb9b59b891ad42d851d493b673e06a919a638db2abe16688688fab986c921e3f75deddd74a7a01677ae793933c894c4
+EBUILD i18n-1.0.1-r1.ebuild 1500 BLAKE2B ae1e7006df7e28a816aea7265deb8df0789832a216ef0ae9250ecad4820b77ec6d9a3685973365661373c4dd62d37a0e6a8c2e74b3c92918e97441ff60dfc0ea SHA512 3940e1b90a6f389655942b982857371bfa63d32fd8aeef999b7b83dd90e76ad65b1aee86924d678522957dfa17ebf820f71633e883171b6e2beb74c044cb2d35
+EBUILD i18n-1.0.1.ebuild 1473 BLAKE2B db2fdf21648ff851b12ce06b91a49dc23bbc1b9c2030a0cab4eefc14dcfbdf81e94c13b8155cb0b4e1e924753f5834e2786d68550961aa74d64d9602880cb2bd SHA512 663274fcf31d82f478ddcd5e4eadf84f3cb9b59b891ad42d851d493b673e06a919a638db2abe16688688fab986c921e3f75deddd74a7a01677ae793933c894c4
+MISC metadata.xml 340 BLAKE2B fd50e1569f22c70ba423cfd181cdfbad5348aed4ffc751ff04d38db0e3c64ec0e3d7501fd134401337337549509f7501a23e36b8a9bdd99a18a374885f8c8596 SHA512 09bf74eefe2371ac635fe302efe1b928e37cf0e1da0979f629085f357bc3e93ea87407781ad172139166f21cb979dbbc7e1bec013f8fe0a760cbbe94ab23ac64
diff --git a/dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch b/dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch
new file mode 100644
index 000000000000..ff6019498fc5
--- /dev/null
+++ b/dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch
@@ -0,0 +1,31 @@
+From bbbdedc0c78ec941a84d161d5c610a358310cf99 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
+Date: Tue, 20 Jan 2015 14:34:44 +0100
+Subject: [PATCH] Ignore metadata for frozen classes.
+
+---
+ lib/i18n/backend/metadata.rb | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/lib/i18n/backend/metadata.rb b/lib/i18n/backend/metadata.rb
+index 52c0a29..a8d922a 100644
+--- a/lib/i18n/backend/metadata.rb
++++ b/lib/i18n/backend/metadata.rb
+@@ -21,11 +21,15 @@ class << self
+ def included(base)
+ Object.class_eval do
+ def translation_metadata
+- @translation_metadata ||= {}
++ unless self.frozen?
++ @translation_metadata ||= {}
++ else
++ {}
++ end
+ end
+
+ def translation_metadata=(translation_metadata)
+- @translation_metadata = translation_metadata
++ @translation_metadata = translation_metadata unless self.frozen?
+ end
+ end unless Object.method_defined?(:translation_metadata)
+ end
diff --git a/dev-ruby/i18n/i18n-0.6.11-r1.ebuild b/dev-ruby/i18n/i18n-0.6.11-r1.ebuild
new file mode 100644
index 000000000000..272989780040
--- /dev/null
+++ b/dev-ruby/i18n/i18n-0.6.11-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="test"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Add Internationalization support to your Ruby application"
+HOMEPAGE="http://rails-i18n.org/"
+
+LICENSE="MIT"
+SLOT="0.6"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RUBY_PATCHES=( ${PN}-0.7.0-frozen-classes.patch )
+
+ruby_add_bdepend "test? ( dev-ruby/activesupport
+ dev-ruby/mocha:1.0
+ dev-ruby/test_declarative
+ dev-ruby/minitest:0 )"
+
+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 jruby with >=mocha-0.13 unless we also include the
+ #test-unit gem. jruby also requires an explicit require of 'set'.
+ #Tests are cannot be run in random order, so use a minitest version that does not do this.
+ sed -i -e "/require 'bundler\/setup'/ s:^:#:" \
+ -e '1irequire "set"; gem "minitest", "~> 4.0"' \
+ -e "/require 'test\\/unit'/i gem 'test-unit'" test/test_helper.rb || die
+}
diff --git a/dev-ruby/i18n/i18n-0.7.0-r2.ebuild b/dev-ruby/i18n/i18n-0.7.0-r2.ebuild
new file mode 100644
index 000000000000..64a421eaf98c
--- /dev/null
+++ b/dev-ruby/i18n/i18n-0.7.0-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="test"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Add Internationalization support to your Ruby application"
+HOMEPAGE="http://rails-i18n.org/"
+SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RUBY_PATCHES=( ${P}-frozen-classes.patch )
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/activesupport-3.2 <dev-ruby/activesupport-4.3
+ dev-ruby/bundler
+ >=dev-ruby/mocha-0.13
+ dev-ruby/test_declarative )"
+
+all_ruby_prepare() {
+ # Remove bundler lock files since we cannot depend on specific
+ # versions in Gentoo.
+ rm gemfiles/*.lock || die
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby22|*ruby23|*ruby24)
+ versions="4.2"
+ ;;
+ *)
+ versions="3.2 4.0 4.1 4.2"
+ ;;
+ esac
+
+ for version in ${versions} ; do
+ if has_version "dev-ruby/activesupport:${version}" ; then
+ einfo "Running tests with activesupport ${version}"
+ BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die
+ fi
+ done
+}
diff --git a/dev-ruby/i18n/i18n-0.7.0-r3.ebuild b/dev-ruby/i18n/i18n-0.7.0-r3.ebuild
new file mode 100644
index 000000000000..2ae419ff1097
--- /dev/null
+++ b/dev-ruby/i18n/i18n-0.7.0-r3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_TEST="test"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Add Internationalization support to your Ruby application"
+HOMEPAGE="http://rails-i18n.org/"
+SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RUBY_PATCHES=( ${P}-frozen-classes.patch )
+
+ruby_add_bdepend "test? (
+ dev-ruby/activesupport
+ dev-ruby/bundler
+ >=dev-ruby/mocha-0.13
+ dev-ruby/test_declarative )"
+
+all_ruby_prepare() {
+ # Remove bundler lock files since we cannot depend on specific
+ # versions in Gentoo.
+ rm gemfiles/*.lock || die
+
+ # Also test activesupport 5.2.
+ sed -e 's/4.2.0/5.2.0/' < gemfiles/Gemfile.rails-4.2.x > gemfiles/Gemfile.rails-5.2.x || die
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby25)
+ versions="5.2"
+ ;;
+ *ruby23|*ruby24)
+ versions="4.2 5.2"
+ ;;
+ *)
+ die "Unexpected ruby target"
+ ;;
+ esac
+
+ for version in ${versions} ; do
+ if has_version "dev-ruby/activesupport:${version}" ; then
+ einfo "Running tests with activesupport ${version}"
+ BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die
+ fi
+ done
+}
diff --git a/dev-ruby/i18n/i18n-0.8.6.ebuild b/dev-ruby/i18n/i18n-0.8.6.ebuild
new file mode 100644
index 000000000000..6487e0644887
--- /dev/null
+++ b/dev-ruby/i18n/i18n-0.8.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="test"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Add Internationalization support to your Ruby application"
+HOMEPAGE="http://rails-i18n.org/"
+SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/activesupport-4.2
+ dev-ruby/bundler
+ >=dev-ruby/mocha-0.13
+ dev-ruby/test_declarative )"
+
+all_ruby_prepare() {
+ rm -f gemfiles/*.lock || die
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby22|*ruby23|*ruby24)
+ versions="4.2 5.0"
+ ;;
+ *)
+ versions="4.2"
+ ;;
+ esac
+
+ for version in ${versions} ; do
+ if has_version "dev-ruby/activesupport:${version}" ; then
+ einfo "Running tests with activesupport ${version}"
+ BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die
+ fi
+ done
+}
diff --git a/dev-ruby/i18n/i18n-0.9.1.ebuild b/dev-ruby/i18n/i18n-0.9.1.ebuild
new file mode 100644
index 000000000000..97946c9477ba
--- /dev/null
+++ b/dev-ruby/i18n/i18n-0.9.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="test"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Add Internationalization support to your Ruby application"
+HOMEPAGE="http://rails-i18n.org/"
+SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/concurrent-ruby:1"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/activesupport-4.2
+ dev-ruby/bundler
+ >=dev-ruby/mocha-0.13
+ dev-ruby/test_declarative )"
+
+all_ruby_prepare() {
+ rm -f gemfiles/*.lock || die
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby22|*ruby23|*ruby24)
+ versions="4.2 5.0 5.1"
+ ;;
+ *)
+ versions="4.2"
+ ;;
+ esac
+
+ for version in ${versions} ; do
+ if has_version "dev-ruby/activesupport:${version}" ; then
+ einfo "Running tests with activesupport ${version}"
+ BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die
+ fi
+ done
+}
diff --git a/dev-ruby/i18n/i18n-0.9.5-r1.ebuild b/dev-ruby/i18n/i18n-0.9.5-r1.ebuild
new file mode 100644
index 000000000000..360a808b58d6
--- /dev/null
+++ b/dev-ruby/i18n/i18n-0.9.5-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_TEST="test"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Add Internationalization support to your Ruby application"
+HOMEPAGE="http://rails-i18n.org/"
+SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/concurrent-ruby:1"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/activesupport-4.2
+ dev-ruby/bundler
+ >=dev-ruby/mocha-0.13
+ dev-ruby/test_declarative )"
+
+all_ruby_prepare() {
+ rm -f gemfiles/*.lock || die
+
+ # Remove optional unpackaged oj gem
+ sed -i -e '/oj/ s:^:#:' gemfiles/* || die
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby25)
+ versions="5.1"
+ ;;
+ *ruby23|*ruby24)
+ versions="4.2 5.0 5.1"
+ ;;
+ esac
+
+ for version in ${versions} ; do
+ if has_version "dev-ruby/activesupport:${version}" ; then
+ einfo "Running tests with activesupport ${version}"
+ BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die
+ fi
+ done
+}
diff --git a/dev-ruby/i18n/i18n-0.9.5.ebuild b/dev-ruby/i18n/i18n-0.9.5.ebuild
new file mode 100644
index 000000000000..9434c73e5da9
--- /dev/null
+++ b/dev-ruby/i18n/i18n-0.9.5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="test"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Add Internationalization support to your Ruby application"
+HOMEPAGE="http://rails-i18n.org/"
+SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/concurrent-ruby:1"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/activesupport-4.2
+ dev-ruby/bundler
+ >=dev-ruby/mocha-0.13
+ dev-ruby/test_declarative )"
+
+all_ruby_prepare() {
+ rm -f gemfiles/*.lock || die
+
+ # Remove optional unpackaged oj gem
+ sed -i -e '/oj/ s:^:#:' gemfiles/* || die
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby22|*ruby23|*ruby24)
+ versions="4.2 5.0 5.1"
+ ;;
+ *)
+ versions="4.2"
+ ;;
+ esac
+
+ for version in ${versions} ; do
+ if has_version "dev-ruby/activesupport:${version}" ; then
+ einfo "Running tests with activesupport ${version}"
+ BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die
+ fi
+ done
+}
diff --git a/dev-ruby/i18n/i18n-1.0.0.ebuild b/dev-ruby/i18n/i18n-1.0.0.ebuild
new file mode 100644
index 000000000000..b3c68adf43a6
--- /dev/null
+++ b/dev-ruby/i18n/i18n-1.0.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="test"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Add Internationalization support to your Ruby application"
+HOMEPAGE="http://rails-i18n.org/"
+SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/concurrent-ruby:1"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/activesupport-4.2
+ dev-ruby/bundler
+ >=dev-ruby/mocha-0.13
+ dev-ruby/test_declarative )"
+
+all_ruby_prepare() {
+ rm -f gemfiles/*.lock || die
+
+ # Remove optional unpackaged oj gem
+ sed -i -e '/oj/ s:^:#:' gemfiles/* || die
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby22|*ruby23|*ruby24)
+ versions="4.2 5.0 5.1"
+ ;;
+ *)
+ versions="4.2"
+ ;;
+ esac
+
+ for version in ${versions} ; do
+ if has_version "dev-ruby/activesupport:${version}" ; then
+ einfo "Running tests with activesupport ${version}"
+ BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die
+ fi
+ done
+}
diff --git a/dev-ruby/i18n/i18n-1.0.1-r1.ebuild b/dev-ruby/i18n/i18n-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..c1a630808f44
--- /dev/null
+++ b/dev-ruby/i18n/i18n-1.0.1-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_TEST="test"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Add Internationalization support to your Ruby application"
+HOMEPAGE="http://rails-i18n.org/"
+SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1)"
+KEYWORDS="~amd64 ~arm ~arm64 hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/concurrent-ruby:1"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/activesupport-4.2
+ dev-ruby/bundler
+ >=dev-ruby/mocha-0.13
+ dev-ruby/test_declarative )"
+
+all_ruby_prepare() {
+ rm -f gemfiles/*.lock || die
+
+ # Remove optional unpackaged oj gem
+ sed -i -e '/oj/ s:^:#:' gemfiles/* || die
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby25)
+ versions="5.1"
+ ;;
+ *ruby22|*ruby23|*ruby24)
+ versions="4.2 5.0 5.1"
+ ;;
+ *)
+ versions="4.2"
+ ;;
+ esac
+
+ for version in ${versions} ; do
+ if has_version "dev-ruby/activesupport:${version}" ; then
+ einfo "Running tests with activesupport ${version}"
+ BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die
+ fi
+ done
+}
diff --git a/dev-ruby/i18n/i18n-1.0.1.ebuild b/dev-ruby/i18n/i18n-1.0.1.ebuild
new file mode 100644
index 000000000000..b3c68adf43a6
--- /dev/null
+++ b/dev-ruby/i18n/i18n-1.0.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="test"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Add Internationalization support to your Ruby application"
+HOMEPAGE="http://rails-i18n.org/"
+SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/concurrent-ruby:1"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/activesupport-4.2
+ dev-ruby/bundler
+ >=dev-ruby/mocha-0.13
+ dev-ruby/test_declarative )"
+
+all_ruby_prepare() {
+ rm -f gemfiles/*.lock || die
+
+ # Remove optional unpackaged oj gem
+ sed -i -e '/oj/ s:^:#:' gemfiles/* || die
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby22|*ruby23|*ruby24)
+ versions="4.2 5.0 5.1"
+ ;;
+ *)
+ versions="4.2"
+ ;;
+ esac
+
+ for version in ${versions} ; do
+ if has_version "dev-ruby/activesupport:${version}" ; then
+ einfo "Running tests with activesupport ${version}"
+ BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die
+ fi
+ done
+}
diff --git a/dev-ruby/i18n/metadata.xml b/dev-ruby/i18n/metadata.xml
new file mode 100644
index 000000000000..d83e13ed4ad7
--- /dev/null
+++ b/dev-ruby/i18n/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">svenfuchs/i18n</remote-id>
+ </upstream>
+</pkgmetadata>