1 |
commit: 4d7a1929bfe7dd36a4ed1ca603f8537948d25708 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 18 04:59:26 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 18 05:03:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d7a1929 |
7 |
|
8 |
dev-ruby/ruby-progressbar: add 1.10.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-ruby/ruby-progressbar/Manifest | 1 + |
13 |
.../ruby-progressbar-1.10.0.ebuild | 35 ++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/ruby-progressbar/Manifest b/dev-ruby/ruby-progressbar/Manifest |
17 |
index 574141e11e1..180501ebe0d 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.10.0.tar.gz 51483 BLAKE2B 24b92718fe933caa29460939a816b14a492d3144e9a891839ec3b5dbac103849bc0aa3becfb47e507a001ce6b0d0bbf2e0b207fe8d7cb51443924e81c9395b0a SHA512 ec645858d619a95081304905661918eef6d5bd19c0f8d00beac48df3f202d18ac85811d51028d71ab144a5a56649feb2409eca59b3db26733c00a1a54a7ef55d |
22 |
DIST ruby-progressbar-1.4.2.gem 24064 BLAKE2B 4c26f5c281129a7333c8a7a1f7738a094ec02d769293252c8fbc6df0bea99971cd0d235b6bbeba7e2e4fac10409028f7cdb15870484878c26d9ea9f709f0135b SHA512 443fc015b2dcabc76c685f1529a39ffba289cb00c3cee3992ef240fb9822729f9049db4d85c58ee1ab6cc17927cb325044ea45a968c755a9b5ad93f7b9999fbd |
23 |
DIST ruby-progressbar-1.9.0.tar.gz 47888 BLAKE2B 26707f4f931e378da18a29d20da47963c06bde537155d0e9bd3a623b9b3edd9d653a50ca106dcb29ffb53668a869815818398ae514ef3302465cf5a5504b2cda SHA512 d2b01c205dec3bad6989a1ea466070fdc0c3fc5bc0c8685a21094c52d2f2c6a11849b42d88d3ec70df1475ad47c9f84a4c4b603948344643310e2180122d9b67 |
24 |
|
25 |
diff --git a/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.0.ebuild b/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..033082b7ba8 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.0.ebuild |
30 |
@@ -0,0 +1,35 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+USE_RUBY="ruby23 ruby24 ruby25" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
39 |
+RUBY_FAKEGEM_TASK_DOC="" |
40 |
+ |
41 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
42 |
+ |
43 |
+RUBY_FAKEGEM_BINWRAP="" |
44 |
+ |
45 |
+inherit ruby-fakegem |
46 |
+ |
47 |
+DESCRIPTION="A Text Progress Bar Library for Ruby" |
48 |
+HOMEPAGE="https://github.com/jfelchner/ruby-progressbar" |
49 |
+SRC_URI="https://github.com/jfelchner/ruby-progressbar/archive/releases/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+RUBY_S="ruby-progressbar-releases-v${PV}" |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
55 |
+ |
56 |
+IUSE="test" |
57 |
+ |
58 |
+ruby_add_bdepend "test? ( dev-ruby/rspectacular dev-ruby/timecop )" |
59 |
+ |
60 |
+all_ruby_prepare() { |
61 |
+ sed -i -e '/warning_filter/ s:^:#:' \ |
62 |
+ spec/spec_helper.rb || die |
63 |
+ # Avoid ruby24 syntax for an unneeded check |
64 |
+ sed -i -e '/^return/ s:^:#:' spec/ruby-progressbar/refinements/enumerator_spec.rb || die |
65 |
+} |