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/tidy_table/
Date: Sat, 16 Feb 2019 12:02:54
Message-Id: 1550318550.5cd919abcca6b042ff8d525dcc95d96fc51427b4.graaff@gentoo
1 commit: 5cd919abcca6b042ff8d525dcc95d96fc51427b4
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 16 08:56:34 2019 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 16 12:02:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cd919ab
7
8 dev-ruby/tidy_table: fix gemspec
9
10 dev-ruby/hoe was listed as a runtime dependency in the gemspec but it is
11 a built-time dependency that we don't use.
12
13 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
14 Package-Manager: Portage-2.3.51, Repoman-2.3.11
15
16 dev-ruby/tidy_table/tidy_table-0.0.5-r5.ebuild | 31 ++++++++++++++++++++++++++
17 1 file changed, 31 insertions(+)
18
19 diff --git a/dev-ruby/tidy_table/tidy_table-0.0.5-r5.ebuild b/dev-ruby/tidy_table/tidy_table-0.0.5-r5.ebuild
20 new file mode 100644
21 index 00000000000..b9cae1ccddc
22 --- /dev/null
23 +++ b/dev-ruby/tidy_table/tidy_table-0.0.5-r5.ebuild
24 @@ -0,0 +1,31 @@
25 +# Copyright 1999-2019 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=6
29 +USE_RUBY="ruby23 ruby24 ruby25 ruby26"
30 +
31 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
32 +RUBY_FAKEGEM_RECIPE_DOC="rdoc"
33 +
34 +RUBY_FAKEGEM_DOCDIR="doc"
35 +
36 +RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
37 +
38 +inherit ruby-fakegem
39 +
40 +DESCRIPTION="Tool to convert an array of struct into an HTML table"
41 +HOMEPAGE="https://github.com/topfunky/tidy_table"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE=""
47 +
48 +all_ruby_prepare() {
49 + # Remove reference to RSpec 1
50 + sed -i -e '/spec/d' -e '1irequire "date"' spec/spec_helper.rb || die
51 +
52 + # Remove metadata so a stub gemspec will be created to avoid the
53 + # wrong runtime dependency on dev-ruby/hoe.
54 + rm -f ../metadata || die
55 +}