1 |
commit: b3bf87e26130ca78ff280d591d86ceb7400a36e9 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 28 05:21:02 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 28 05:21:02 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3bf87e2 |
7 |
|
8 |
dev-ruby/ruby-progressbar: add 1.8.1 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-ruby/ruby-progressbar/Manifest | 1 + |
13 |
.../ruby-progressbar/ruby-progressbar-1.8.1.ebuild | 42 ++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/ruby-progressbar/Manifest b/dev-ruby/ruby-progressbar/Manifest |
17 |
index 0d64539..7cfe293 100644 |
18 |
--- a/dev-ruby/ruby-progressbar/Manifest |
19 |
+++ b/dev-ruby/ruby-progressbar/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST ruby-progressbar-1.4.2.gem 24064 SHA256 1285524b097446471bc60c4b756f9f8c4b527dd870eaf318e7d83380cde99fa7 SHA512 443fc015b2dcabc76c685f1529a39ffba289cb00c3cee3992ef240fb9822729f9049db4d85c58ee1ab6cc17927cb325044ea45a968c755a9b5ad93f7b9999fbd WHIRLPOOL 50bcbefce6fe3e1b05ad20476f67f9e610e5e91e5d9bc92a8ecc0ef5ab79233c16237c04f3782878855fae8115e556d53a0c6624d151fcd49bd58792aeb370f7 |
22 |
DIST ruby-progressbar-1.7.5.gem 21504 SHA256 71c754e2e3f26b87f307e360dee8f2267800b88327a7def0098d7e6cb752d643 SHA512 1a5cb4b8ca9a9669bdaa60fcf3f01bec347b4ac1aefe737a7c6014bf40166c72d74ab0f489638c12ffd5245cc2b0a19186f7ab440bd7629579bf00d5155a8741 WHIRLPOOL 13e05a761c10c6fbb87cfb11f83f18acae93daeec1e11306b432ee751427e0d95a56d63cd7528590242b3e5241d4de6eaef2ea1b9190a1c1196430f4828f5580 |
23 |
+DIST ruby-progressbar-1.8.1.gem 26112 SHA256 95ded755295440de814704970d7ccaf3cb259854534f03a03a6d05918f3eece3 SHA512 bded41f29ed3386b83b0c4fe208813de330cb6be527c4b91cbf436f44d0efe58cb717a783d104f32b697fe1d9b71eeec500c8a72a9a5b34fc416c86e7565bc01 WHIRLPOOL 3e2c00c55734819fab7eaf9e0b1666cc1ff7a733edf2d14260f4f5baf77d2d608db1473c76c45759a5d055ee5c59ef7fdbd7869964e00b4ef6ea23882bce2150 |
24 |
|
25 |
diff --git a/dev-ruby/ruby-progressbar/ruby-progressbar-1.8.1.ebuild b/dev-ruby/ruby-progressbar/ruby-progressbar-1.8.1.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..48eaf0f |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/ruby-progressbar/ruby-progressbar-1.8.1.ebuild |
30 |
@@ -0,0 +1,42 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+USE_RUBY="ruby20 ruby21 ruby22" |
38 |
+ |
39 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
40 |
+RUBY_FAKEGEM_TASK_DOC="" |
41 |
+ |
42 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
43 |
+ |
44 |
+inherit ruby-fakegem |
45 |
+ |
46 |
+DESCRIPTION="A Text Progress Bar Library for Ruby" |
47 |
+HOMEPAGE="https://github.com/jfelchner/ruby-progressbar" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
52 |
+ |
53 |
+IUSE="test" |
54 |
+ |
55 |
+ruby_add_bdepend "test? ( dev-ruby/rspectacular )" |
56 |
+ |
57 |
+all_ruby_prepare() { |
58 |
+ sed -i -e '/warning_filter/ s:^:#:' \ |
59 |
+ spec/spec_helper.rb || die |
60 |
+} |
61 |
+ |
62 |
+each_ruby_test() { |
63 |
+ case ${RUBY} in |
64 |
+ *ruby20) |
65 |
+ # Skip specs since rspectacular doesn't work with ruby 2.0: |
66 |
+ # https://github.com/thekompanee/rspectacular/issues/4 |
67 |
+ ;; |
68 |
+ *) |
69 |
+ RSPEC_VERSION=3 ruby-ng_rspec spec || die |
70 |
+ ;; |
71 |
+ esac |
72 |
+} |