diff options
Diffstat (limited to 'dev-ruby/i18n')
-rw-r--r-- | dev-ruby/i18n/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/i18n/i18n-1.14.1.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest index 659e653e2fbc..fb59dd92b6a6 100644 --- a/dev-ruby/i18n/Manifest +++ b/dev-ruby/i18n/Manifest @@ -1,5 +1,7 @@ DIST i18n-1.12.0.tar.gz 72883 BLAKE2B 6818e5bdea156e9b6f7b33e319e5b5a5c3c9e7a799b56ded87ab2e27efa4effe730e23a8736b7374b8072c7ba4237a92619aeaad3a16c0bfe10fe73bf9c588d6 SHA512 616db5b15febc7a8716ceafef6c51a24e2d050f8e27e389ef96d94cdc95f9704942079d1e6b502666a015a99deee169342482c9a808164700401c47f96da8f0d DIST i18n-1.13.0.tar.gz 74591 BLAKE2B e8b2a624c6ea02f030eacbbdf1ca9722d23785e51f31f5dd4a640f8ab74dfafc99131773619a5e2af724c7bcdbc0e63989b1552c148137bf15cf436f340c3c96 SHA512 4c2dc75ccb09ace90a5845f4c1325f0cb144c69b06b72a35728674deea5d869ed94fa5b18cf6b56d434cbad7e528150dedbb10ed91a6d15b7e05758117cf427e +DIST i18n-1.14.1.tar.gz 74855 BLAKE2B b01b5fefd5033352455110e4fda3d567a5033c6bb732dd11519a3859a3cc4d57bd4229ea3346f2e680575f6ac4d7038d4bcbfd0ea314d2e8b08f26858ffd22f6 SHA512 89a293c00c7e62e802823d8011142a0786268b4c8341a9e389182988f1372655b4c5410ee10d6632af2fee645fbbf2feda2ccc4669d59d44640d3fa2c34b9e86 EBUILD i18n-1.12.0.ebuild 1606 BLAKE2B 4b7ea7b50b9f57a22ae504a8427ab99df209fb866b1be50dd51dbc66295d4215948765cebb558d88da1fa3ed64c2395266b91a5247c41b84fa054df29963b771 SHA512 34c19c581fafcbc146150b3b9adb2e7509a863c7f27115c0361861bc4e529ba03de5dee59128fbc5098f0db09260639510996bd4cd088bcf53fd70a0e97b45ca EBUILD i18n-1.13.0.ebuild 1598 BLAKE2B 63c958a791692445d291c9e5d3f1ba871b51f82476abe0784d0ec581dc7a1f1ce92b7af58b94598a92b5d98e3f1d5cb54f725ce24b6f9284d5200151f3afff15 SHA512 39b0689dac4186e07baa0951d2bf7717db00e147da725f544eb4f70fa190d3bb092ea3770f503ecdbf9ea5940e077265f0d6d748f9b8836990a3424125af2ef2 +EBUILD i18n-1.14.1.ebuild 1597 BLAKE2B fb9784fc2515e3ccfcdbbe72b9350d7c29a765fd22246aa85344e3db90d93157c2d5974f9304354c8434d9cf7218642b1706d93d0a47784f5a8d4d754b5fe131 SHA512 7d4c7dbbcda9ab34a54897b9459d255dce2431beed580d70dd51d63edf9a1a2a17412d0c1db64d0b700e4592f517f3ae32ec7aba22b727c821f5eba47b4829ec MISC metadata.xml 341 BLAKE2B 71b36ea4e85348d38b1eafe8a235485a9dd9cac8a62961f041a98f4ac94d1a67ad33997aa796baabbfcc4cdbed8a66aa401b96d0d3b61dcb0546ca3d75f66e18 SHA512 819e827fb7d63f46970810acbb8a94f40cd3d72563a1b2e013d34041b78bee73e74634b3c6b2ef791da624a091af0ebdeb4d816b8697914b72c70fb087775d63 diff --git a/dev-ruby/i18n/i18n-1.14.1.ebuild b/dev-ruby/i18n/i18n-1.14.1.ebuild new file mode 100644 index 000000000000..6b5139a1bf29 --- /dev/null +++ b/dev-ruby/i18n/i18n-1.14.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Add Internationalization support to your Ruby application" +HOMEPAGE="http://rails-i18n.org/" +SRC_URI="https://github.com/ruby-i18n/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" + +# We need mocha:1.0 which corresponds to the Gemfiles used in each_ruby_test +ruby_add_bdepend " + test? ( + >=dev-ruby/activesupport-5.1 + dev-ruby/bundler + >=dev-ruby/minitest-5.14:5 + >=dev-ruby/mocha-1.7.0:1.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 '/rake/ s/~>/>=/' -e 's/1.7.0/1.7/' -e '3igem "json"' gemfiles/* || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby32) + versions="6.1 7.0" + ;; + *ruby31) + versions="6.1 7.0" + ;; + *ruby30) + versions="6.0 6.1 7.0" + ;; + 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 +} |