1 |
commit: 5fa010b440fd6ecd5850572cb0f56a56801d97b0 |
2 |
Author: Hans de Graaff <hans <AT> degraaff <DOT> org> |
3 |
AuthorDate: Mon Aug 29 18:08:29 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 29 18:08:29 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=5fa010b4 |
7 |
|
8 |
dev-ruby/terminal-table: add 1.7.0, enable tests, add ruby23 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-ruby/terminal-table/Manifest | 1 + |
13 |
.../terminal-table/terminal-table-1.7.0.ebuild | 36 ++++++++++++++++++++++ |
14 |
2 files changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/terminal-table/Manifest b/dev-ruby/terminal-table/Manifest |
17 |
index 8cf81e1..47e64fd 100644 |
18 |
--- a/dev-ruby/terminal-table/Manifest |
19 |
+++ b/dev-ruby/terminal-table/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST terminal-table-1.5.2.tar.gz 10934 SHA256 14ff47258ac1ab0d6d80a44df5cadb1424eda90432a9070dcce48ecfe92a7a82 SHA512 770bad294e6e4bcb4afd3d4735c456521ec28d84653b3f1753ec26b448c2179f5bbff9a5ecc05ebd15348224172d0650dedd324552b9b79c05c4d3295518610c WHIRLPOOL 71026ed63c3c5f8670c10765be9f5883ff2ede4fecda6643661f66a08fd3f2c14df57b1309575420697388777e127f043864c5b21d91b7f8ab853ad4822d7572 |
22 |
+DIST terminal-table-1.7.0.tar.gz 11395 SHA256 f35331150a525b18686747583ca20ed72288099cd63e18dbed0e8ac48e950de1 SHA512 bb92d8236ba7347dd24bf561f5d7e39d84332e33fc77fb65399bb75254335872a84ed43ec11f22f59a563242bbf1d37d58e10e61a234c5b0b1894f322ba8dcd3 WHIRLPOOL 5d12c9e90ac652eb789ee583bfbdc0f09a6ad7fd6807355340e30faa5ae44b1c0ceca1de3e05128b049fcd07cfe7905933570b7781ef15041bd362aba4443889 |
23 |
|
24 |
diff --git a/dev-ruby/terminal-table/terminal-table-1.7.0.ebuild b/dev-ruby/terminal-table/terminal-table-1.7.0.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..308bafe |
27 |
--- /dev/null |
28 |
+++ b/dev-ruby/terminal-table/terminal-table-1.7.0.ebuild |
29 |
@@ -0,0 +1,36 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+USE_RUBY="ruby20 ruby21 ruby22 ruby23" |
36 |
+ |
37 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
38 |
+ |
39 |
+RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc Todo.rdoc" |
40 |
+ |
41 |
+RUBY_FAKEGEM_DOCDIR="doc" |
42 |
+RUBY_FAKEGEM_TASK_DOC="" # Currently broken |
43 |
+ |
44 |
+inherit ruby-fakegem |
45 |
+ |
46 |
+DESCRIPTION="Simple, feature rich ascii table generation library" |
47 |
+HOMEPAGE="https://github.com/tj/terminal-table" |
48 |
+SRC_URI="https://github.com/tj/terminal-table/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
49 |
+LICENSE="MIT" |
50 |
+ |
51 |
+KEYWORDS="~amd64" |
52 |
+SLOT="0" |
53 |
+IUSE="test" |
54 |
+ |
55 |
+# Test failures: https://github.com/visionmedia/terminal-table/issues/33 |
56 |
+#RESTRICT="test" |
57 |
+ |
58 |
+ruby_add_rdepend ">=dev-ruby/unicode-display_width-1.1:1" |
59 |
+ |
60 |
+ruby_add_bdepend "test? ( dev-ruby/term-ansicolor )" |
61 |
+ |
62 |
+all_ruby_prepare() { |
63 |
+ # Avoid single test still broken upstream |
64 |
+ sed -i -e '/should only increase column size for multi-column if it is unavoidable/,/^ end/ s:^:#:' spec/table_spec.rb || die |
65 |
+} |