Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-progressbar/
Date: Wed, 07 Feb 2018 19:19:08
Message-Id: 1518031136.7d7c72c5576beb63ee66f6976184956c0bbcce7e.graaff@gentoo
1 commit: 7d7c72c5576beb63ee66f6976184956c0bbcce7e
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 7 19:18:31 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 7 19:18:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d7c72c5
7
8 dev-ruby/ruby-progressbar: add 1.9.0
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-ruby/ruby-progressbar/Manifest | 1 +
13 .../ruby-progressbar/ruby-progressbar-1.9.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 f332707b3f7..79da0a0e594 100644
18 --- a/dev-ruby/ruby-progressbar/Manifest
19 +++ b/dev-ruby/ruby-progressbar/Manifest
20 @@ -1,3 +1,4 @@
21 DIST ruby-progressbar-1.4.2.gem 24064 BLAKE2B 4c26f5c281129a7333c8a7a1f7738a094ec02d769293252c8fbc6df0bea99971cd0d235b6bbeba7e2e4fac10409028f7cdb15870484878c26d9ea9f709f0135b SHA512 443fc015b2dcabc76c685f1529a39ffba289cb00c3cee3992ef240fb9822729f9049db4d85c58ee1ab6cc17927cb325044ea45a968c755a9b5ad93f7b9999fbd
22 DIST ruby-progressbar-1.8.1.gem 26112 BLAKE2B 2e4a8406328f07b2be0b59b5d08e8f56e17d4e5ae43325b4fadd563427aabde1e354fb05e6e67403c9f00c17e0f8e3239cdc3d0cb40d4c8cc6520306214289b3 SHA512 bded41f29ed3386b83b0c4fe208813de330cb6be527c4b91cbf436f44d0efe58cb717a783d104f32b697fe1d9b71eeec500c8a72a9a5b34fc416c86e7565bc01
23 DIST ruby-progressbar-1.8.3.tar.gz 44706 BLAKE2B ef0b7bc2647da5af777e4ee88b85632ad47d7bee3a1b5f3ade57108362b663a66a78b023080039a94bb452694b41be3e6d52da1e322d1e6d86a2f28ff8aa7fc3 SHA512 c8394c9be76e00692e3e51b27be92b0aac9baede288ae514a2656a7880df61fde44f07cf16395c69a5215c3cdeb6474cce106af054be9c6ecdfd5887150c111b
24 +DIST ruby-progressbar-1.9.0.tar.gz 47888 BLAKE2B 26707f4f931e378da18a29d20da47963c06bde537155d0e9bd3a623b9b3edd9d653a50ca106dcb29ffb53668a869815818398ae514ef3302465cf5a5504b2cda SHA512 d2b01c205dec3bad6989a1ea466070fdc0c3fc5bc0c8685a21094c52d2f2c6a11849b42d88d3ec70df1475ad47c9f84a4c4b603948344643310e2180122d9b67
25
26 diff --git a/dev-ruby/ruby-progressbar/ruby-progressbar-1.9.0.ebuild b/dev-ruby/ruby-progressbar/ruby-progressbar-1.9.0.ebuild
27 new file mode 100644
28 index 00000000000..8d332539bfb
29 --- /dev/null
30 +++ b/dev-ruby/ruby-progressbar/ruby-progressbar-1.9.0.ebuild
31 @@ -0,0 +1,35 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +USE_RUBY="ruby22 ruby23 ruby24"
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 +}