diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-07-10 07:55:08 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-07-10 08:02:43 +0200 |
commit | a849a7a79fa61b195f276758178c2cd8d7b8b62b (patch) | |
tree | 4819f2746d7fc46f9b0f419661369b8cf6b9b46d /dev-ruby | |
parent | dev-ruby/hipchat: add 1.6.0 (diff) | |
download | gentoo-a849a7a79fa61b195f276758178c2cd8d7b8b62b.tar.gz gentoo-a849a7a79fa61b195f276758178c2cd8d7b8b62b.tar.bz2 gentoo-a849a7a79fa61b195f276758178c2cd8d7b8b62b.zip |
dev-ruby/i18n: add 0.8.5
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/i18n/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/i18n/i18n-0.8.5.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest index 422296ba81f5..6ebf852d2426 100644 --- a/dev-ruby/i18n/Manifest +++ b/dev-ruby/i18n/Manifest @@ -2,3 +2,4 @@ DIST i18n-0.6.11.gem 61440 SHA256 b37dda25b30484f2674a851e24ae098a38564a61c976fa DIST i18n-0.7.0.tar.gz 57647 SHA256 8a9ea123661e5da978ecffadc8d1b7ea50ba2d8e9de1455d61e7848cc6c2c855 SHA512 8824feb3fb99bba759963d2ae34555f27b85dbac3d3001168471a27e47fc805e5ffe5c3b4e10d6ca4b2e2524ec16c98260b981ef504f274aab93f912a57d2e14 WHIRLPOOL 0f16ab5f06ae7ec75eefbec985d183dac5a2cd572d6c70fc3de8616bec8834e210a5660a74657ae3397017962253350e6bd926c0d2c9509400ceadc5b365fa9d DIST i18n-0.8.1.tar.gz 59341 SHA256 b9eca76e143fea1f427f59471b6f3b018af1291bf8c488e5d937a2cc988f2a0d SHA512 de8ba662ebf6daa255fadd88cec44b0c9a9c54ac912ed85dd9cd180fa08c59b793930a867938a698c9fe306d3b0cf64f7a17dd0aeb0547d8d3ac6a28ebd50dab WHIRLPOOL e1847791193a636fbddabc4f0b483d90771c195e9d7b4b45942e03f311a3b50c8a21aaa2b9d14ab2f303c98d8a0d47da4fa74e3adecc2cddaa78c6543037422e DIST i18n-0.8.4.tar.gz 60340 SHA256 1a6f78b39a5604207b9dbba62a79036c24daec2a15bf6526d829efc2f9f73c31 SHA512 f93c648fe62dbf6b6d158a0ecbcbe266d20a9ddc75ab6d81772beb656e4784f9ebc0b81107193acb2576bf9d0282f6a2f1638c7978bbc4d3acdc03f83864fe6e WHIRLPOOL a748dd1aef99170d6c3be5fd835f0fc00d785093745917b45610967fde62e98d446f19640669195f38e706fc62c595fb7bbd463f95e509c0cd6e3560f58fab33 +DIST i18n-0.8.5.tar.gz 59645 SHA256 b33dc1ab057593b819630040235c9a73a4785720d3c618ed59a5802ba4f16caa SHA512 199fef73be60c5e2dc7a2cbd632d87cb9c020b7879df656b2c1267cb8a8f0bcc1b9b1c3bd8c610bffb64796aa8f7c0a77c85f7cc8ad39c4b6ea1626929742683 WHIRLPOOL 13129a0e81afe54c9c1db72d3b963b8e4c335fdcf85b20814fbd123676427ccb2200cc1f39cde2c590683496f3d9e18b6029898c8d7de01d11e0a96125e1d6ff diff --git a/dev-ruby/i18n/i18n-0.8.5.ebuild b/dev-ruby/i18n/i18n-0.8.5.ebuild new file mode 100644 index 000000000000..6487e0644887 --- /dev/null +++ b/dev-ruby/i18n/i18n-0.8.5.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +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 versionator + +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="$(get_version_component_range 1-2)" +KEYWORDS="~alpha ~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_bdepend "test? ( + >=dev-ruby/activesupport-4.2 + dev-ruby/bundler + >=dev-ruby/mocha-0.13 + dev-ruby/test_declarative )" + +all_ruby_prepare() { + rm -f gemfiles/*.lock || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby22|*ruby23|*ruby24) + versions="4.2 5.0" + ;; + *) + versions="4.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 +} |