diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-04-10 07:01:25 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-04-10 07:01:25 +0200 |
commit | 9627468045891d33ed8d57141a0a7cd4f2513797 (patch) | |
tree | a5fcffb800ec1cef5af5d426aa9b500d123d215e /dev-ruby/i18n | |
parent | dev-python/sepolgen: remove package (diff) | |
download | gentoo-9627468045891d33ed8d57141a0a7cd4f2513797.tar.gz gentoo-9627468045891d33ed8d57141a0a7cd4f2513797.tar.bz2 gentoo-9627468045891d33ed8d57141a0a7cd4f2513797.zip |
dev-ruby/i18n: add 0.9.5
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/i18n')
-rw-r--r-- | dev-ruby/i18n/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/i18n/i18n-0.9.5.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest index e462ad89f027..a4df3d9b4d31 100644 --- a/dev-ruby/i18n/Manifest +++ b/dev-ruby/i18n/Manifest @@ -2,3 +2,4 @@ DIST i18n-0.6.11.gem 61440 BLAKE2B 3cfee519dd006578a328ec80d216ddae56433e1cb633e DIST i18n-0.7.0.tar.gz 57647 BLAKE2B 50ea36ec616b90a261151cce47c98250e85b25ae75f90eb52ea01e8bb7e0c6288abb9055a4f80a199deb93c9ca66efd1ad568950d3f505206e0ba9ee9cdb8bc6 SHA512 8824feb3fb99bba759963d2ae34555f27b85dbac3d3001168471a27e47fc805e5ffe5c3b4e10d6ca4b2e2524ec16c98260b981ef504f274aab93f912a57d2e14 DIST i18n-0.8.6.tar.gz 59657 BLAKE2B f0ddbee202daa4ac75f00113aa8bcac44797e782072a9626125497c9eca0545dccb2228c2d634bf0b9daab0339196c9d0cdd2df07285bd3792c9300353a60e53 SHA512 fe55729b5d9d2af7112d030c020257a98e7504aa554f691a759f5abe48058949442296ec154060d4a3243cefe0d6d420417f3aa8c857e3616de9bc996decc8cb DIST i18n-0.9.1.tar.gz 60359 BLAKE2B 98201124b557dd7e77ea56c491a99274f90853eabbdfd8217cd3a27888ddaf976f76c14fc2236609283546117b0c9837e272fc44aae0ff498ab7c557d6f036f3 SHA512 9726dea0b5aff12e6ddf499ddd5dea0853d345241b1ff19d6f97106a3f5f592b3336d2afddcd0717d15ed04c8098a8f9ea2870f1388353e073f78add2f0a77a5 +DIST i18n-0.9.5.tar.gz 61494 BLAKE2B 2a7bb401d5e75022ba6c40c6ee08809bc8728fe9aa22f308c4d532e6c042df57970b7fbfa574494072d8e5d0e125a01498c1964780d2ad9588b0a57da299a520 SHA512 356ce1290b207ce1b3dbed4d0ae542d027e74c43f453359ebf401755a5a55fd1fd815a2f046a634246e41f54c5360174dac1076be9cb7bf82f893f0dafdbd4bb diff --git a/dev-ruby/i18n/i18n-0.9.5.ebuild b/dev-ruby/i18n/i18n-0.9.5.ebuild new file mode 100644 index 000000000000..9434c73e5da9 --- /dev/null +++ b/dev-ruby/i18n/i18n-0.9.5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 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 + + # Remove optional unpackaged oj gem + sed -i -e '/oj/ s:^:#:' gemfiles/* || 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 +} |