diff options
Diffstat (limited to 'dev-ruby/i18n')
-rw-r--r-- | dev-ruby/i18n/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/i18n/i18n-1.5.3.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest index 9ac610a58ed6..b7de1e19671e 100644 --- a/dev-ruby/i18n/Manifest +++ b/dev-ruby/i18n/Manifest @@ -8,6 +8,7 @@ DIST i18n-1.1.1.tar.gz 61797 BLAKE2B 3ba842d195075f02fd46be4e9b69250c93007da0528 DIST i18n-1.2.0.tar.gz 64271 BLAKE2B 9d8dc9a8187fb69317af6835ac2ee98219f662f6542be5bb96d678ebc63d5a57b33988d1cd435213c9d79cb6886be491c54e8624c481d56a2de91e8ac094a082 SHA512 9952fba2f923ecb76c736356599c9f205ed754283d07ac371ee2016633621187124a102b84d3f9431d8b074e9042377237846c512df431a02e86bd9c50c09c57 DIST i18n-1.3.0.tar.gz 64414 BLAKE2B 8ef3da9b2513ec7c0c10e04e3096361fac4b874f2591ba6354be09999fe3fe924867a1741eacaf967fbfa263588abbe4bf2daece1635797f3dd8bc489e19e2b5 SHA512 08884f4e415e71794969a87f326edc1bce5d7cba9a43413f8c24a375fd7378dd40e15a7d161021ea4af8d5c6e692595b86da9793e910f99dbe51e166d404491e DIST i18n-1.5.2.tar.gz 64086 BLAKE2B 8c50fd40a5d8f103e218bc47d15b1c6a51336c1b9340f474a35c178d84e9d0198151c5643cd6416b4e007c33c02de4d011acb40b1b02d6a238563a0a669c1044 SHA512 438145abed34b27af26dc513d0dc30e32412ace3a057cf14a8bc8cb64734ac531bb0a8b7512372faed995fff8bce7a8dd4e44ee29560704646ab35d46d58db3c +DIST i18n-1.5.3.tar.gz 64156 BLAKE2B ba8c0806d38677229c87956e771ea646205a44553d5e09ec876f5eac35446f43e61c27f7d2b69aff429891551609b23eb169ee95623f75502a9d3bc1fdbe8b50 SHA512 c10f2fed363d390c4fb8a2792e1d8d6f56b72fd96a36b0a6ab837acbcb10ba313b7bdc6f4887d7096d396d25d8ae306091ead84cc95c94d2da9791c2debb30ac EBUILD i18n-0.6.11-r1.ebuild 1318 BLAKE2B 9605562c9b7fb27b4ff15735bd96eef555caa62127010a0e1862e5a9d1831945e0dd42b3ccc410e067a2fbe1c33a8d8d8128696a26401505f27a8c91712b6417 SHA512 335e3acd5278556bad1b0b2a0f6da24a13588b5b54fe27323220d2ae3472791e00fc91e003cea2dfe1548c21c0912ea771a722fac8efb21ec682628d3b2f3815 EBUILD i18n-0.7.0-r3.ebuild 1625 BLAKE2B 047cb266a12b698343260e0ff2d2448a95005493672a1e2bad7423c8c69b08c02b596d633864db0fe301c8afb1e82031feee602765bf1c97ee7472e60c72c0f1 SHA512 6427eac2d7f85ebd7d1060d565899a976da63229cf3567b01fdf0357e22b5cc185c6e200b0d2fe219589b031c5377706136dbec7d64c1ba8f5559014f687c91a EBUILD i18n-0.8.6.ebuild 1343 BLAKE2B bda6c25dd4c968b7cee743e661beaf23e09b11ac07733e612bb605e90f12ab15e997293757772b9c501977544b65641820a93d6f5696b1be21c440a20fc72b51 SHA512 0e698ab7581aa26cc12c1701c8bade99c61c49301a22d2430a2f259c9c0e2253efd0c0d12ae47985bf3caf09dbe997f74cb518b03dc4586cb72c96c6dd9f7261 @@ -17,4 +18,5 @@ EBUILD i18n-1.1.1.ebuild 1439 BLAKE2B 4d045839b7f25f38878b3b5c98d45f8c1e37b2b2fb EBUILD i18n-1.2.0.ebuild 1443 BLAKE2B e6aa3a95957deedb623e02be35b0d4904cef29561472602f1b0f85a7e7b383319889c7f387100b0eca19b7556da86fe2c8d071960a7b5e2fe45d6a437c20d13a SHA512 b05679b5da8b8a2bdd08a6b75c432cd5b6fb9be0b4d63f091b1368133e5cd615cb9025c0a81f21736b91614849e31c3ce8ba3fa2b43ffb4b20fa99fdeb596c76 EBUILD i18n-1.3.0.ebuild 1443 BLAKE2B e6aa3a95957deedb623e02be35b0d4904cef29561472602f1b0f85a7e7b383319889c7f387100b0eca19b7556da86fe2c8d071960a7b5e2fe45d6a437c20d13a SHA512 b05679b5da8b8a2bdd08a6b75c432cd5b6fb9be0b4d63f091b1368133e5cd615cb9025c0a81f21736b91614849e31c3ce8ba3fa2b43ffb4b20fa99fdeb596c76 EBUILD i18n-1.5.2.ebuild 1539 BLAKE2B 207a9bec8f7a74103a01350c43a359d5f5127b74723e74466bb35a2682b8aeaac2b0e9cf0d86013a98dbb1639e949c1471daa92f7a4f3e63e2802ff7ebd3aade SHA512 17a25261a24841589c83f1dab871816ef9b572fd50ab923dcebfced55295817b235ab6bf592264c002b19e2794cca4b973d4a3afb9c489a006d3c0ee9783a847 +EBUILD i18n-1.5.3.ebuild 1539 BLAKE2B 207a9bec8f7a74103a01350c43a359d5f5127b74723e74466bb35a2682b8aeaac2b0e9cf0d86013a98dbb1639e949c1471daa92f7a4f3e63e2802ff7ebd3aade SHA512 17a25261a24841589c83f1dab871816ef9b572fd50ab923dcebfced55295817b235ab6bf592264c002b19e2794cca4b973d4a3afb9c489a006d3c0ee9783a847 MISC metadata.xml 340 BLAKE2B fd50e1569f22c70ba423cfd181cdfbad5348aed4ffc751ff04d38db0e3c64ec0e3d7501fd134401337337549509f7501a23e36b8a9bdd99a18a374885f8c8596 SHA512 09bf74eefe2371ac635fe302efe1b928e37cf0e1da0979f629085f357bc3e93ea87407781ad172139166f21cb979dbbc7e1bec013f8fe0a760cbbe94ab23ac64 diff --git a/dev-ruby/i18n/i18n-1.5.3.ebuild b/dev-ruby/i18n/i18n-1.5.3.ebuild new file mode 100644 index 000000000000..c6aacbabf2a5 --- /dev/null +++ b/dev-ruby/i18n/i18n-1.5.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2019 Gentoo Authors +# 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 eapi7-ver + +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="$(ver_cut 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-5.1 + dev-ruby/bundler + >=dev-ruby/mocha-1.7.0 + dev-ruby/test_declarative )" + +all_ruby_prepare() { + rm -f gemfiles/*.lock || die + + # Remove optional unpackaged oj gem + sed -i -e '/oj/ s:^:#:' gemfiles/* || die + + # Update old test dependencies + sed -i -e 's/12.2.1/12/' -e 's/1.7.0/1.7/' gemfiles/* || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby26) + versions="5.2" + ;; + *ruby23|*ruby24|*ruby25) + versions="5.1 5.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 +} |