diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-02-14 20:42:42 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-02-14 20:43:10 +0100 |
commit | 9e6bb51191179ede39e174e3007b077818a47ec3 (patch) | |
tree | 46173a386233cfe22383b5b5cc8ead4c0926fb21 | |
parent | www-client/firefox - bump esr and latest testing for security bug (diff) | |
download | gentoo-9e6bb51191179ede39e174e3007b077818a47ec3.tar.gz gentoo-9e6bb51191179ede39e174e3007b077818a47ec3.tar.bz2 gentoo-9e6bb51191179ede39e174e3007b077818a47ec3.zip |
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
-rw-r--r-- | dev-ruby/ruby-progressbar/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ruby-progressbar/ruby-progressbar-1.7.5.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/ruby-progressbar/Manifest b/dev-ruby/ruby-progressbar/Manifest index 35545e278714..0d645390a219 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 000000000000..95e83ef060fb --- /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 +} |