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