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 66D671396DB for ; Mon, 16 Oct 2017 05:11:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64AB6E0E9B; Mon, 16 Oct 2017 05:11:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2CB48E0EA0 for ; Mon, 16 Oct 2017 05:11:31 +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 99CF233BEAC for ; Mon, 16 Oct 2017 05:11:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0C5BB31F for ; Mon, 16 Oct 2017 05:11:29 +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: <1508130156.39bfef4861292c7437c0698df5433f9662529165.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.9.0.ebuild X-VCS-Directories: dev-ruby/i18n/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 39bfef4861292c7437c0698df5433f9662529165 X-VCS-Branch: master Date: Mon, 16 Oct 2017 05:11:29 +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: 420e28d1-7cb0-4ff7-b14c-4a2641ecb1ef X-Archives-Hash: 7cf03581a3d2541c258ff7ec41d22a06 commit: 39bfef4861292c7437c0698df5433f9662529165 Author: Hans de Graaff gentoo org> AuthorDate: Mon Oct 16 05:02:36 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Oct 16 05:02:36 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39bfef48 dev-ruby/i18n: add 0.9.0 Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-ruby/i18n/Manifest | 1 + dev-ruby/i18n/i18n-0.9.0.ebuild | 53 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest index d03c7acd7a7..06a859fd7a7 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.6.tar.gz 59657 SHA256 cf032a810f5320b7f518ca2fe6fc778a5a59360049e0b150513d5af681ac410e SHA512 fe55729b5d9d2af7112d030c020257a98e7504aa554f691a759f5abe48058949442296ec154060d4a3243cefe0d6d420417f3aa8c857e3616de9bc996decc8cb WHIRLPOOL b113c1b3c47c900ff0a490994033c2dc40d7f2046f102dde6e10d980fd00de4c9dee9f65279e64fcc9f7d0b5746897122719f68e27e28c3cc93177c69268e30a +DIST i18n-0.9.0.tar.gz 60524 SHA256 9136723a1479e30625b0197319cbf0c2386ec4cbc43676eebeb93d35aa6d092e SHA512 9be199e3cf78879bafa11f80425e5ede710b5df180a81b89aafa56fe74dc9adc209ef021d5e8d4cae8d03478dc19388279316fbcfac366c0d682d41c5727e978 WHIRLPOOL e816e8af9e7b2ba033d20a3f621246371031c7d661a888770f961b5d086eb96a421681e380b2a354ec436e980331279236f1c782c7060d9dbfddf87ef534ec8a diff --git a/dev-ruby/i18n/i18n-0.9.0.ebuild b/dev-ruby/i18n/i18n-0.9.0.ebuild new file mode 100644 index 00000000000..fd42d43ee0c --- /dev/null +++ b/dev-ruby/i18n/i18n-0.9.0.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 +}