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/prawn-table/
Date: Tue, 23 Nov 2021 10:48:16
Message-Id: 1637664488.2ce8f95164cc215e8137b3d4b2523140bd8d11a7.graaff@gentoo
1 commit: 2ce8f95164cc215e8137b3d4b2523140bd8d11a7
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 23 10:40:26 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 23 10:48:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce8f951
7
8 dev-ruby/prawn-table: EAPI 8
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/prawn-table/prawn-table-0.2.2-r2.ebuild | 30 ++++++++++++++++++++++++
14 1 file changed, 30 insertions(+)
15
16 diff --git a/dev-ruby/prawn-table/prawn-table-0.2.2-r2.ebuild b/dev-ruby/prawn-table/prawn-table-0.2.2-r2.ebuild
17 new file mode 100644
18 index 000000000000..9010ec92c233
19 --- /dev/null
20 +++ b/dev-ruby/prawn-table/prawn-table-0.2.2-r2.ebuild
21 @@ -0,0 +1,30 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=8
26 +USE_RUBY="ruby26 ruby27"
27 +
28 +RUBY_FAKEGEM_RECIPE_DOC="yard"
29 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
30 +
31 +inherit ruby-fakegem
32 +
33 +DESCRIPTION="Provides support for tables in Prawn"
34 +HOMEPAGE="http://prawn.majesticseacreature.com/"
35 +LICENSE="|| ( GPL-2+ Ruby )"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
38 +IUSE=""
39 +
40 +ruby_add_bdepend "test? ( dev-ruby/mocha
41 + >=dev-ruby/pdf-inspector-1.1.0
42 + >=dev-ruby/pdf-reader-1.2
43 + >=dev-ruby/prawn-1.3.0
44 + )"
45 +
46 +all_ruby_prepare() {
47 + sed -i -e "/[Bb]undler/s/^/#/" spec/spec_helper.rb || die
48 + # Remove failing test
49 + # See https://github.com/prawnpdf/prawn-table/issues/10
50 + sed -i -e "/Prints table on one page when using subtable with colspan > 1/,+24 s/^/#/" spec/table_spec.rb || die
51 +}