diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-07-13 06:34:44 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-07-13 06:34:44 +0200 |
commit | b052463791d9b53f758eecf418ee35e988cd5f9e (patch) | |
tree | 0708e44fdb121a59649dd400be110dd165248351 /dev-ruby/i18n | |
parent | dev-ruby/hashie: add 3.5.6 (diff) | |
download | gentoo-b052463791d9b53f758eecf418ee35e988cd5f9e.tar.gz gentoo-b052463791d9b53f758eecf418ee35e988cd5f9e.tar.bz2 gentoo-b052463791d9b53f758eecf418ee35e988cd5f9e.zip |
dev-ruby/i18n: add 0.8.6
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/i18n')
-rw-r--r-- | dev-ruby/i18n/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/i18n/i18n-0.8.6.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest index 6ebf852d2426..29ce92e9da53 100644 --- a/dev-ruby/i18n/Manifest +++ b/dev-ruby/i18n/Manifest @@ -3,3 +3,4 @@ DIST i18n-0.7.0.tar.gz 57647 SHA256 8a9ea123661e5da978ecffadc8d1b7ea50ba2d8e9de1 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 +DIST i18n-0.8.6.tar.gz 59657 SHA256 cf032a810f5320b7f518ca2fe6fc778a5a59360049e0b150513d5af681ac410e SHA512 fe55729b5d9d2af7112d030c020257a98e7504aa554f691a759f5abe48058949442296ec154060d4a3243cefe0d6d420417f3aa8c857e3616de9bc996decc8cb WHIRLPOOL b113c1b3c47c900ff0a490994033c2dc40d7f2046f102dde6e10d980fd00de4c9dee9f65279e64fcc9f7d0b5746897122719f68e27e28c3cc93177c69268e30a diff --git a/dev-ruby/i18n/i18n-0.8.6.ebuild b/dev-ruby/i18n/i18n-0.8.6.ebuild new file mode 100644 index 000000000000..6487e0644887 --- /dev/null +++ b/dev-ruby/i18n/i18n-0.8.6.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 +} |