diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-11-03 07:15:42 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-11-03 07:15:42 +0100 |
commit | 0b33dcdfed2dcd8dddee6fd60835515e596b41c4 (patch) | |
tree | c27823d7a374452f292d6795382d7c508f95f4d5 /dev-ruby | |
parent | media-radio/flrig: Version bump (diff) | |
download | gentoo-0b33dcdfed2dcd8dddee6fd60835515e596b41c4.tar.gz gentoo-0b33dcdfed2dcd8dddee6fd60835515e596b41c4.tar.bz2 gentoo-0b33dcdfed2dcd8dddee6fd60835515e596b41c4.zip |
dev-ruby/i18n: add 0.9.1
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/i18n/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/i18n/i18n-0.9.1.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest index 06a859fd7a77..2d15a578beed 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.6.tar.gz 59657 SHA256 cf032a810f5320b7f518ca2fe6fc778a5a59360049e0b150513d5af681ac410e SHA512 fe55729b5d9d2af7112d030c020257a98e7504aa554f691a759f5abe48058949442296ec154060d4a3243cefe0d6d420417f3aa8c857e3616de9bc996decc8cb WHIRLPOOL b113c1b3c47c900ff0a490994033c2dc40d7f2046f102dde6e10d980fd00de4c9dee9f65279e64fcc9f7d0b5746897122719f68e27e28c3cc93177c69268e30a DIST i18n-0.9.0.tar.gz 60524 SHA256 9136723a1479e30625b0197319cbf0c2386ec4cbc43676eebeb93d35aa6d092e SHA512 9be199e3cf78879bafa11f80425e5ede710b5df180a81b89aafa56fe74dc9adc209ef021d5e8d4cae8d03478dc19388279316fbcfac366c0d682d41c5727e978 WHIRLPOOL e816e8af9e7b2ba033d20a3f621246371031c7d661a888770f961b5d086eb96a421681e380b2a354ec436e980331279236f1c782c7060d9dbfddf87ef534ec8a +DIST i18n-0.9.1.tar.gz 60359 SHA256 c38cb998df3add22af0c1647ef3ead4f2d71d72a2275109efc8c62663f09bb22 SHA512 9726dea0b5aff12e6ddf499ddd5dea0853d345241b1ff19d6f97106a3f5f592b3336d2afddcd0717d15ed04c8098a8f9ea2870f1388353e073f78add2f0a77a5 WHIRLPOOL a7362faa0a6fce99b0e96baf5e6ddbe8c107ed7278a572912d86686d5b1930ede0b6b4357911fbd1383c0b54657b88999c51cfab5c6dd636290908acee7f87dd diff --git a/dev-ruby/i18n/i18n-0.9.1.ebuild b/dev-ruby/i18n/i18n-0.9.1.ebuild new file mode 100644 index 000000000000..fd42d43ee0c1 --- /dev/null +++ b/dev-ruby/i18n/i18n-0.9.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="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_rdepend "dev-ruby/concurrent-ruby:1" + +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 5.1" + ;; + *) + 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 +} |