From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8790059CA3 for ; Sun, 14 Feb 2016 19:43:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18CB121C007; Sun, 14 Feb 2016 19:43:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9DBED21C007 for ; Sun, 14 Feb 2016 19:43:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D06B1340B9F for ; Sun, 14 Feb 2016 19:43:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 19280150 for ; Sun, 14 Feb 2016 19:43:14 +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: <1455478990.9e6bb51191179ede39e174e3007b077818a47ec3.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-progressbar/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/ruby-progressbar/Manifest dev-ruby/ruby-progressbar/ruby-progressbar-1.7.5.ebuild X-VCS-Directories: dev-ruby/ruby-progressbar/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 9e6bb51191179ede39e174e3007b077818a47ec3 X-VCS-Branch: master Date: Sun, 14 Feb 2016 19:43:14 +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: e8cbe5be-12b5-4e49-a7cf-cbc7c22b4588 X-Archives-Hash: b212a94a5a1ee8647974d8717dae6b5a commit: 9e6bb51191179ede39e174e3007b077818a47ec3 Author: Hans de Graaff gentoo org> AuthorDate: Sun Feb 14 19:42:42 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Feb 14 19:43:10 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e6bb511 dev-ruby/ruby-progressbar: add 1.7.5 Drop hppa, ppc, ppc64, x86, prefix keywords due to new dev-ruby/rspectacular test dependency, bug 574738 Package-Manager: portage-2.2.26 dev-ruby/ruby-progressbar/Manifest | 1 + .../ruby-progressbar/ruby-progressbar-1.7.5.ebuild | 42 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-ruby/ruby-progressbar/Manifest b/dev-ruby/ruby-progressbar/Manifest index 35545e2..0d64539 100644 --- a/dev-ruby/ruby-progressbar/Manifest +++ b/dev-ruby/ruby-progressbar/Manifest @@ -1 +1,2 @@ DIST ruby-progressbar-1.4.2.gem 24064 SHA256 1285524b097446471bc60c4b756f9f8c4b527dd870eaf318e7d83380cde99fa7 SHA512 443fc015b2dcabc76c685f1529a39ffba289cb00c3cee3992ef240fb9822729f9049db4d85c58ee1ab6cc17927cb325044ea45a968c755a9b5ad93f7b9999fbd WHIRLPOOL 50bcbefce6fe3e1b05ad20476f67f9e610e5e91e5d9bc92a8ecc0ef5ab79233c16237c04f3782878855fae8115e556d53a0c6624d151fcd49bd58792aeb370f7 +DIST ruby-progressbar-1.7.5.gem 21504 SHA256 71c754e2e3f26b87f307e360dee8f2267800b88327a7def0098d7e6cb752d643 SHA512 1a5cb4b8ca9a9669bdaa60fcf3f01bec347b4ac1aefe737a7c6014bf40166c72d74ab0f489638c12ffd5245cc2b0a19186f7ab440bd7629579bf00d5155a8741 WHIRLPOOL 13e05a761c10c6fbb87cfb11f83f18acae93daeec1e11306b432ee751427e0d95a56d63cd7528590242b3e5241d4de6eaef2ea1b9190a1c1196430f4828f5580 diff --git a/dev-ruby/ruby-progressbar/ruby-progressbar-1.7.5.ebuild b/dev-ruby/ruby-progressbar/ruby-progressbar-1.7.5.ebuild new file mode 100644 index 0000000..95e83ef --- /dev/null +++ b/dev-ruby/ruby-progressbar/ruby-progressbar-1.7.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Text Progress Bar Library for Ruby" +HOMEPAGE="https://github.com/jfelchner/ruby-progressbar" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/rspectacular )" + +all_ruby_prepare() { + sed -i -e '/warning_filter/ s:^:#:' \ + spec/spec_helper.rb || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby20) + # Skip specs since rspectacular doesn't work with ruby 2.0: + # https://github.com/thekompanee/rspectacular/issues/4 + ;; + *) + RSPEC_VERSION=3 ruby-ng_rspec spec || die + ;; + esac +}