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/tty-prompt/
Date: Mon, 03 Aug 2020 05:09:06
Message-Id: 1596431338.ed6ea70a6bdfd3ca40d524d21d8bf1355afdba43.graaff@gentoo
1 commit: ed6ea70a6bdfd3ca40d524d21d8bf1355afdba43
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 3 05:06:49 2020 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 3 05:08:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed6ea70a
7
8 dev-ruby/tty-prompt: add 0.22.0
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/tty-prompt/Manifest | 1 +
14 dev-ruby/tty-prompt/tty-prompt-0.22.0.ebuild | 32 ++++++++++++++++++++++++++++
15 2 files changed, 33 insertions(+)
16
17 diff --git a/dev-ruby/tty-prompt/Manifest b/dev-ruby/tty-prompt/Manifest
18 index b859aaf0123..36aa20eeb36 100644
19 --- a/dev-ruby/tty-prompt/Manifest
20 +++ b/dev-ruby/tty-prompt/Manifest
21 @@ -1,3 +1,4 @@
22 DIST tty-prompt-0.19.0.gem 71680 BLAKE2B 67da3c428fa5ab602fa4735d06115ba5bab53f06d43109fa06810e538cafae5486767f41927fc77616e608278a0f955659734704c9536b40e87682e6f0e5718b SHA512 958263a7b3b7cfbac2877d81878b324fe53bc258be36749597f959085643e50247651bf48fceff4bf1098b68cf47dae68f30173e45585bfdbf7126959387427a
23 DIST tty-prompt-0.20.0.gem 72704 BLAKE2B c3a24544459bfd70aa1ada029211d8873665794ac0dfa19bd02c86e3104c937aefc50009763ccacc3b3eb7c91b220125279c4388a94cd4dab5bc2cb77bad701e SHA512 d3e018465779d673bb80d15f2706edd762236dbee37bc9bd090138fb5dd918c63c4cda3418054391b9d15032fde399911e50c6fbed9d8063afc5896b31fb3fb1
24 DIST tty-prompt-0.21.0.tar.gz 72679 BLAKE2B 1693a2ad49d308975c0f03d9bbf01a192bc6e5c66eb04108a08a7d338c79d20ac80e8b45b0833f57b6a4f5191880160a8df0a9b9751c3af1f3d77b4952c99393 SHA512 e2963951523f9077a6aac20d12b88d261902c1f6ab1ab01bafd9eef94df76e37fd1448d5b5f81a3a8d2335eade4618896a64c77e80e369b3a660bc8d361cb53d
25 +DIST tty-prompt-0.22.0.tar.gz 551572 BLAKE2B b18e3acba984c6848161deff659112ee2342d4021c0fa8df1aed1f19d4530382b4c2d4e215b42820be9939a8a563333c163217ac59809b3e9b1e4d68068647eb SHA512 2bc87d41c9359da1bb04a53c2f3535e4845e1a55594624235434b4e6d5f870029ae72436487fa6d2a795101d1fc8263d63dd89cc5d3e59b0756b80448c23e514
26
27 diff --git a/dev-ruby/tty-prompt/tty-prompt-0.22.0.ebuild b/dev-ruby/tty-prompt/tty-prompt-0.22.0.ebuild
28 new file mode 100644
29 index 00000000000..86c2dc4efca
30 --- /dev/null
31 +++ b/dev-ruby/tty-prompt/tty-prompt-0.22.0.ebuild
32 @@ -0,0 +1,32 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +USE_RUBY="ruby25 ruby26 ruby27"
38 +
39 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
40 +
41 +RUBY_FAKEGEM_EXTRADOC="README.md"
42 +
43 +RUBY_FAKEGEM_GEMSPEC="tty-prompt.gemspec"
44 +
45 +inherit ruby-fakegem
46 +
47 +DESCRIPTION="A beautiful and powerful interactive command line prompt"
48 +HOMEPAGE="https://github.com/piotrmurach/tty-prompt"
49 +SRC_URI="https://github.com/piotrmurach/tty-prompt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +KEYWORDS="~amd64"
54 +IUSE=""
55 +
56 +ruby_add_rdepend "
57 + >=dev-ruby/pastel-0.8:0
58 + >=dev-ruby/tty-reader-0.8:0
59 +"
60 +
61 +all_ruby_prepare() {
62 + echo '-rspec_helper' > .rspec || die
63 + sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
64 +}