diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-21 06:42:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-21 06:42:16 +0000 |
commit | 30c47f3c341cb37e4808aaa3842b679d0ca420e8 (patch) | |
tree | 30eb5383b9ae93fec49d9a5660b34201e6190933 /dev-ruby/i18n | |
parent | cd57012a0ef40d302cf7d5a92dd2f3dfae285d2f (diff) |
gentoo auto-resync : 21:01:2025 - 06:42:16edge
Diffstat (limited to 'dev-ruby/i18n')
-rw-r--r-- | dev-ruby/i18n/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/i18n/i18n-1.14.7.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest index 9c323521c140..a2f6b1d2120d 100644 --- a/dev-ruby/i18n/Manifest +++ b/dev-ruby/i18n/Manifest @@ -1,5 +1,7 @@ DIST i18n-1.14.5.tar.gz 75739 BLAKE2B 10af6c88e5ab4d50dee156b944795525f4d79035f3c2369b379f70d7fa48b84cc26fe0855017b378b7c94f8b4ecdc37dd122f536d2b54c595d70c5c731ba5c64 SHA512 b6c6e333fff38228136ce55a75f466b4885542973e96eea0cbfb5c2ea1dd4780847e59b10090f8ecbc4aeb0de67258dcdbfc1812369b8d9f1d7597468f756677 DIST i18n-1.14.6.tar.gz 75978 BLAKE2B e2c56a8600b94b91a32481c4f24bd8b47aee118aee87da0012ddd95e9d01a6c0db489fa0528ca0a9a37ec49124d41f4322eb09f0828f0a53c268d02da1c3b7d5 SHA512 5713e6e2576c16698333058bae3f1758ab71bc040c7feab2d3b51dfc6faa7a76539c6916dd3807e429e53b1a3bf22064cea7eb7b9dd731ddb9a04f06615803a6 +DIST i18n-1.14.7.tar.gz 76045 BLAKE2B 2261dfcd9ef68e42ae7a2cf4314a5ff7d9030172bb68b8e10ff1fb6399912054f87ec9f48177a1ae155819edd6a4f89042b62a713cb3d969ecc3cac3d7e22e0d SHA512 e647c5a454a3929f62feb9464fe6a44c0cded23eaf48fc827d084a98bca5ca8f312c6f51d5c1241a709263ee6cd47b314c69a8f95db1393136dafd6287586a76 EBUILD i18n-1.14.5.ebuild 1498 BLAKE2B d29f95a062e3018e3f9e5dadb8deb872440b8b73d309e2ae47a10ea1dfddb75b3d2216f80b9db9faf8e90f9c68c52f8be17cf255fa321d78844affc57c41ba68 SHA512 9d0113a3af057f92c4e0565f0819951aae1884d9b912249c976da6ac3a5d5c20958d724844d56be6e6c29b1d29b6f486155c5d609f2398c0fc00ec387c1ba3d3 EBUILD i18n-1.14.6.ebuild 1498 BLAKE2B d29f95a062e3018e3f9e5dadb8deb872440b8b73d309e2ae47a10ea1dfddb75b3d2216f80b9db9faf8e90f9c68c52f8be17cf255fa321d78844affc57c41ba68 SHA512 9d0113a3af057f92c4e0565f0819951aae1884d9b912249c976da6ac3a5d5c20958d724844d56be6e6c29b1d29b6f486155c5d609f2398c0fc00ec387c1ba3d3 +EBUILD i18n-1.14.7.ebuild 1525 BLAKE2B 200c042f3b3578e486b507f8010835be0c5b2b2d9c43244c1ffa9fdda02acfabb702af372a9197ebc35524a2879f0228d2bed2eec4cc21acd5fa33105269a80b SHA512 5a3e120e1a2127831d698f4968ae5730b24a83a67f6691e0c10d461dbd84f02190c0db99043283786a3a1bb39125ae06679adf46af169ce6449d3e0dd9de89dd MISC metadata.xml 341 BLAKE2B 71b36ea4e85348d38b1eafe8a235485a9dd9cac8a62961f041a98f4ac94d1a67ad33997aa796baabbfcc4cdbed8a66aa401b96d0d3b61dcb0546ca3d75f66e18 SHA512 819e827fb7d63f46970810acbb8a94f40cd3d72563a1b2e013d34041b78bee73e74634b3c6b2ef791da624a091af0ebdeb4d816b8697914b72c70fb087775d63 diff --git a/dev-ruby/i18n/i18n-1.14.7.ebuild b/dev-ruby/i18n/i18n-1.14.7.ebuild new file mode 100644 index 000000000000..7e4018609c38 --- /dev/null +++ b/dev-ruby/i18n/i18n-1.14.7.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" +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="~alpha ~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 + >=dev-ruby/racc-1.7:0 +" + +ruby_add_bdepend " + test? ( + >=dev-ruby/activesupport-5.1 + dev-ruby/bundler + >=dev-ruby/minitest-5.14:5 + dev-ruby/mocha:2 + dev-ruby/test_declarative + ) +" + +all_ruby_prepare() { + rm -f gemfiles/*.lock || die + + # Remove optional unpackaged oj gem. + # Make mocha dependency more lenient. + sed -e '/oj/ s:^:#:' \ + -e '/mocha/ s/2.1.0/2.1/' \ + -i gemfiles/* || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby33) + versions="7.0 7.1 7.2 8.0" + ;; + *ruby32) + versions="6.1 7.0 7.1 7.2 8.0" + ;; + *ruby31) + versions="6.1 7.0 7.1 7.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 +} |