diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-27 12:17:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-27 12:17:07 +0100 |
commit | c8e8719ce75120aeba1784b5edbe919b2e5e3dc3 (patch) | |
tree | 7945df945695274ce144a17413a1560dd350a60c /dev-ruby/i18n | |
parent | 4936e2350e0b4aae482b12c7ce02aaa3c7e64842 (diff) |
gentoo auto-resync : 27:04:2023 - 12:17:07
Diffstat (limited to 'dev-ruby/i18n')
-rw-r--r-- | dev-ruby/i18n/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/i18n/i18n-1.13.0.ebuild | 62 | ||||
-rw-r--r-- | dev-ruby/i18n/metadata.xml | 2 |
3 files changed, 66 insertions, 2 deletions
diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest index 9a7084303261..7cea3abc7693 100644 --- a/dev-ruby/i18n/Manifest +++ b/dev-ruby/i18n/Manifest @@ -1,3 +1,5 @@ DIST i18n-1.12.0.tar.gz 72883 BLAKE2B 6818e5bdea156e9b6f7b33e319e5b5a5c3c9e7a799b56ded87ab2e27efa4effe730e23a8736b7374b8072c7ba4237a92619aeaad3a16c0bfe10fe73bf9c588d6 SHA512 616db5b15febc7a8716ceafef6c51a24e2d050f8e27e389ef96d94cdc95f9704942079d1e6b502666a015a99deee169342482c9a808164700401c47f96da8f0d +DIST i18n-1.13.0.tar.gz 74591 BLAKE2B e8b2a624c6ea02f030eacbbdf1ca9722d23785e51f31f5dd4a640f8ab74dfafc99131773619a5e2af724c7bcdbc0e63989b1552c148137bf15cf436f340c3c96 SHA512 4c2dc75ccb09ace90a5845f4c1325f0cb144c69b06b72a35728674deea5d869ed94fa5b18cf6b56d434cbad7e528150dedbb10ed91a6d15b7e05758117cf427e EBUILD i18n-1.12.0.ebuild 1651 BLAKE2B 0bf128a78306fa591c315ed71e92004c20147b53ce0c0c700840454e70da04132a0489f3f142667a01b12a85256faede745177b013f24f7b69f42fb038c4372b SHA512 306c211987e3c929c007a0f0594f024265a17a155c380c249a4f2584b70da91a947668670c1b4197043f3bec198fc4c60b467c6c1c3bdcc644aa771e51cad925 -MISC metadata.xml 341 BLAKE2B 88504d4f80239252fd3d4d82c5636bd4656f1063e337fbdf37baf23bd109abe7aa74090b07f90e27d9350c8eee2c342b4d1bdd38feb438ce2236c9c9b094d606 SHA512 86b7231bcadd93247b82ef706ad9ba12f77306d7c6f08065ed3f95bc46c2662a8e1535364fa25419612359d11cd84d26da818e2d9be5e931fa6203b6e63f2f73 +EBUILD i18n-1.13.0.ebuild 1643 BLAKE2B 77d18b506d0092c2fa3e93b2e347c477de4b9f827d566405eef2f36fbfc72da2a6ba108bf9452fc912006b796c8d687801efdf30f6196bf407e641dfca1a1f2c SHA512 989ddbdb091efda19576a311fc1ca9e21100fa73299928c5f4790449cd9492885785853fe06df49af91038f62b802cbd9cb61a5d77d13ecc2e2e506eca7f735c +MISC metadata.xml 341 BLAKE2B 71b36ea4e85348d38b1eafe8a235485a9dd9cac8a62961f041a98f4ac94d1a67ad33997aa796baabbfcc4cdbed8a66aa401b96d0d3b61dcb0546ca3d75f66e18 SHA512 819e827fb7d63f46970810acbb8a94f40cd3d72563a1b2e013d34041b78bee73e74634b3c6b2ef791da624a091af0ebdeb4d816b8697914b72c70fb087775d63 diff --git a/dev-ruby/i18n/i18n-1.13.0.ebuild b/dev-ruby/i18n/i18n-1.13.0.ebuild new file mode 100644 index 000000000000..adaed616d7e2 --- /dev/null +++ b/dev-ruby/i18n/i18n-1.13.0.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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +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 +} diff --git a/dev-ruby/i18n/metadata.xml b/dev-ruby/i18n/metadata.xml index dfd527c89211..3df4becf0365 100644 --- a/dev-ruby/i18n/metadata.xml +++ b/dev-ruby/i18n/metadata.xml @@ -6,6 +6,6 @@ <name>Gentoo Ruby Project</name> </maintainer> <upstream> - <remote-id type="github">svenfuchs/i18n</remote-id> + <remote-id type="github">ruby-i18n/i18n</remote-id> </upstream> </pkgmetadata> |