From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4557B139694 for ; Wed, 31 May 2017 03:34:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B30221C075; Wed, 31 May 2017 03:34:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 067F521C075 for ; Wed, 31 May 2017 03:34:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7115B341728 for ; Wed, 31 May 2017 03:34:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 17F347466 for ; Wed, 31 May 2017 03:34:46 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1496201016.e50bbe9ff681255e3b9601ce61ad457649392b44.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/i18n/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/i18n/Manifest dev-ruby/i18n/i18n-0.8.4.ebuild X-VCS-Directories: dev-ruby/i18n/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: e50bbe9ff681255e3b9601ce61ad457649392b44 X-VCS-Branch: master Date: Wed, 31 May 2017 03:34:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e0f06136-4277-403d-82a5-774940c9650b X-Archives-Hash: 3dd355cc3bf5d252b911a174dac6c15a commit: e50bbe9ff681255e3b9601ce61ad457649392b44 Author: Hans de Graaff gentoo org> AuthorDate: Wed May 31 03:23:36 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed May 31 03:23:36 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e50bbe9f dev-ruby/i18n: add 0.8.4 Package-Manager: Portage-2.3.5, Repoman-2.3.1 dev-ruby/i18n/Manifest | 1 + dev-ruby/i18n/i18n-0.8.4.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest index 6a41f12020a..422296ba81f 100644 --- a/dev-ruby/i18n/Manifest +++ b/dev-ruby/i18n/Manifest @@ -1,3 +1,4 @@ DIST i18n-0.6.11.gem 61440 SHA256 b37dda25b30484f2674a851e24ae098a38564a61c976fa91a34bf8fceaa3923b SHA512 f3c26c13b333daed69dc044985816d79a27a489c860caaa03cd64b3ff31e3ea65aa850dd581162a264d0b0bb6bc383b12cb96c1a97d5d1d04bee45517a48b721 WHIRLPOOL 67b702b94e3d56331845d8088bce37b7e34ed1a0a035e32ee986054850f205680703f472f3a5f494cda7608bd2db15426e3dcb672f0e8863c5b3b31292f9057c 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 diff --git a/dev-ruby/i18n/i18n-0.8.4.ebuild b/dev-ruby/i18n/i18n-0.8.4.ebuild new file mode 100644 index 00000000000..61995ac13ee --- /dev/null +++ b/dev-ruby/i18n/i18n-0.8.4.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" + +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 ~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) + 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 +}