Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/lolcat/
Date: Sat, 08 Aug 2020 05:23:48
Message-Id: 1596864214.0319ec3082b4e56206396684dd02eb9c71eda223.sam@gentoo
1 commit: 0319ec3082b4e56206396684dd02eb9c71eda223
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 8 05:23:34 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 8 05:23:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0319ec30
7
8 games-misc/lolcat: install lolcat binary
9
10 Closes: https://bugs.gentoo.org/721718
11 Package-Manager: Portage-3.0.1, Repoman-2.3.23
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 games-misc/lolcat/lolcat-100.0.1-r1.ebuild | 34 ++++++++++++++++++++++++++++++
15 1 file changed, 34 insertions(+)
16
17 diff --git a/games-misc/lolcat/lolcat-100.0.1-r1.ebuild b/games-misc/lolcat/lolcat-100.0.1-r1.ebuild
18 new file mode 100644
19 index 00000000000..6e6c7c7a085
20 --- /dev/null
21 +++ b/games-misc/lolcat/lolcat-100.0.1-r1.ebuild
22 @@ -0,0 +1,34 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +USE_RUBY="ruby24 ruby25 ruby26 ruby27"
28 +
29 +RUBY_FAKEGEM_TASK_TEST=""
30 +RUBY_FAKEGEM_EXTRADOC="README.md"
31 +RUBY_FAKEGEM_GEMSPEC="lolcat.gemspec"
32 +
33 +inherit ruby-fakegem
34 +
35 +DESCRIPTION="Rainbows and unicorns!"
36 +HOMEPAGE="https://github.com/busyloop/lolcat"
37 +
38 +LICENSE="BSD"
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~x86"
41 +
42 +ruby_add_rdepend "
43 + dev-ruby/optimist:3
44 + >=dev-ruby/paint-2.1:0"
45 +
46 +all_ruby_prepare() {
47 + sed -e '/manpages/ s:^:#:' \
48 + -e 's/git ls-files --/echo/' \
49 + -e 's/git ls-files/find/' \
50 + -i ${RUBY_FAKEGEM_GEMSPEC} || die
51 +}
52 +
53 +all_ruby_install() {
54 + doman man/lolcat.6
55 + ruby_fakegem_binwrapper lolcat
56 +}