diff options
Diffstat (limited to 'dev-ruby/i18n')
-rw-r--r-- | dev-ruby/i18n/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/i18n/i18n-1.8.11.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest index 01c7f4a34f15..e805c434d2f7 100644 --- a/dev-ruby/i18n/Manifest +++ b/dev-ruby/i18n/Manifest @@ -1,5 +1,7 @@ DIST i18n-1.8.10.tar.gz 67943 BLAKE2B 58e8041f8cf652627a305e3d987ff2450913d3dc919ea7aae641cb484524d17312ebd3e0ee68cde1c01091e42713ea229ccb41ed3998c6bbf772d32f855ca107 SHA512 e8b10bf380241d1e6b19250cd63e727366215b4ad7e63479a02cb81a5b46a48e06db827d9df9969c2052895646ee30c237fd17c3352a2bbfed97615bb9b6cfca +DIST i18n-1.8.11.tar.gz 67964 BLAKE2B e603077c6eb02f6fd89bafd6c06f85c72528d5eb4388854f060f05a4b49a3782a3830366a1f11bd95b191048f29fae251002a34d55cb185ecefb3afc06bb2f36 SHA512 af8fcc307de9959b5a01a79ac3c99d3a3573630f8cdf91c21208e07d35d1a0db60f4995f1b77921c5374a1a19ad66770a107cc41fb29cf480d02be00bf90634a DIST i18n-1.8.9.tar.gz 67899 BLAKE2B 56113d0879cb644a49ef79aea892e4452b65df0769a9532af44083852ed85c5afc8ac68cd6ae4f42d4b68a5aa548f7d92cf69371685c65e4cb5e3b3a0e29445a SHA512 0dfe43bcb341c63b10ace733246c2005f1261bbed23f8f38298b0712aab5047a3ddd61aa8f42c9e0cf3dee6564b67c04595234a6dfcf95db30d9a0d044483505 EBUILD i18n-1.8.10.ebuild 1580 BLAKE2B d282f7c3fe160de710586e1bf454807e4c9c5c80b25ced3c31d41b863164e917a753b2a7cbcf02621126d749f9832e92fab00323792af7bd46b1c2b199999e2f SHA512 1f90a5e3587a6da2b16679f14608d1b39d62403bd2fd1bf819e6ba07fd6e47214b17805ae557f77884a9fec67a3a4c0e01a3f0e68330e05d9768be69a53cdfb3 +EBUILD i18n-1.8.11.ebuild 1507 BLAKE2B 25c549ec71d9ab2cfb3b50c2aa8bc264fd30e6ae79d2c6b397b45d8a8b19511d6fc9305d35c62ba04f4d6a0291afcf0304e24a0e976b0ca830f0f5aabd1ed442 SHA512 f0be173922bc84b078c6bb8a3ebdacb81d18cdd38468c58da19b4df029fd1e55bfadafa52675aed4cb6badcbaf0d3c7e99c656fec0aacd19db481e2ed2c5d02e EBUILD i18n-1.8.9.ebuild 1571 BLAKE2B a12efebaa78afc758b65b6bd82dd0a3a9909ae9f7f11bee834f5a22bb4691ce69f671b597a9abbfc439e785a89d966be38b6f4c901d3f98c5f89af8085f5b161 SHA512 a4ae786b0b6b2bda3585285f4209044a2a8584b9ee55279fb36cb5f108988f172c81de57bb066ddf8d497e7ef489b51cf6166cc190b427bd5a7856cd3a5da4f7 MISC metadata.xml 341 BLAKE2B 88504d4f80239252fd3d4d82c5636bd4656f1063e337fbdf37baf23bd109abe7aa74090b07f90e27d9350c8eee2c342b4d1bdd38feb438ce2236c9c9b094d606 SHA512 86b7231bcadd93247b82ef706ad9ba12f77306d7c6f08065ed3f95bc46c2662a8e1535364fa25419612359d11cd84d26da818e2d9be5e931fa6203b6e63f2f73 diff --git a/dev-ruby/i18n/i18n-1.8.11.ebuild b/dev-ruby/i18n/i18n-1.8.11.ebuild new file mode 100644 index 000000000000..ad5e996d6a74 --- /dev/null +++ b/dev-ruby/i18n/i18n-1.8.11.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="test" +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/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~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" + +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 '/rake/ s/~>/>=/' -e 's/1.7.0/1.7/' -e '3igem "json"' gemfiles/* || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby27) + versions="6.0 6.1" + ;; + *ruby26) + versions="5.2 6.0 6.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 +} |