commit:     db6254c7524e259b056b23dc10a0fb0a11b2b7b4
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 18:15:51 2019 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue May 28 18:15:51 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db6254c7

dev-ruby/ruby-progressbar: add 1.10.1

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 dev-ruby/ruby-progressbar/Manifest                 |  1 +
 .../ruby-progressbar-1.10.1.ebuild                 | 35 ++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-ruby/ruby-progressbar/Manifest 
b/dev-ruby/ruby-progressbar/Manifest
index c68e26b67f5..cee7ccd88d9 100644
--- a/dev-ruby/ruby-progressbar/Manifest
+++ b/dev-ruby/ruby-progressbar/Manifest
@@ -1,2 +1,3 @@
 DIST ruby-progressbar-1.10.0.tar.gz 51483 BLAKE2B 
24b92718fe933caa29460939a816b14a492d3144e9a891839ec3b5dbac103849bc0aa3becfb47e507a001ce6b0d0bbf2e0b207fe8d7cb51443924e81c9395b0a
 SHA512 
ec645858d619a95081304905661918eef6d5bd19c0f8d00beac48df3f202d18ac85811d51028d71ab144a5a56649feb2409eca59b3db26733c00a1a54a7ef55d
+DIST ruby-progressbar-1.10.1.tar.gz 53416 BLAKE2B 
ee435291cd55558843ab05254c01a6148711aee54a5ce80d7b03902e32fd8735fda2e3686794f3f2c8a62c7ca26d90df4d63b48c8d947a471279c35131c49898
 SHA512 
6cbd791833a1638949c7283b5c475164b44ec8a5d4c7eb417d741da5c9cda9e777481a785f112be7fd1c3714668ad58cbf9aa39eecb61d1022fb3bb35ddb6203
 DIST ruby-progressbar-1.4.2.gem 24064 BLAKE2B 
4c26f5c281129a7333c8a7a1f7738a094ec02d769293252c8fbc6df0bea99971cd0d235b6bbeba7e2e4fac10409028f7cdb15870484878c26d9ea9f709f0135b
 SHA512 
443fc015b2dcabc76c685f1529a39ffba289cb00c3cee3992ef240fb9822729f9049db4d85c58ee1ab6cc17927cb325044ea45a968c755a9b5ad93f7b9999fbd

diff --git a/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.1.ebuild 
b/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.1.ebuild
new file mode 100644
index 00000000000..0910ef551af
--- /dev/null
+++ b/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Text Progress Bar Library for Ruby"
+HOMEPAGE="https://github.com/jfelchner/ruby-progressbar";
+SRC_URI="https://github.com/jfelchner/ruby-progressbar/archive/releases/v${PV}.tar.gz
 -> ${P}.tar.gz"
+RUBY_S="ruby-progressbar-releases-v${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+IUSE="test"
+
+ruby_add_bdepend "test? ( dev-ruby/rspectacular dev-ruby/timecop )"
+
+all_ruby_prepare() {
+       sed -i -e '/warning_filter/ s:^:#:' \
+               spec/spec_helper.rb || die
+       # Avoid ruby24 syntax for an unneeded check
+       sed -i -e '/^return/ s:^:#:' 
spec/ruby-progressbar/refinements/enumerator_spec.rb || die
+}

Reply via email to