commit:     2ce8f95164cc215e8137b3d4b2523140bd8d11a7
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 10:40:26 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 10:48:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce8f951

dev-ruby/prawn-table: EAPI 8

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/prawn-table/prawn-table-0.2.2-r2.ebuild | 30 ++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

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
new file mode 100644
index 000000000000..9010ec92c233
--- /dev/null
+++ b/dev-ruby/prawn-table/prawn-table-0.2.2-r2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides support for tables in Prawn"
+HOMEPAGE="http://prawn.majesticseacreature.com/";
+LICENSE="|| ( GPL-2+ Ruby )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/mocha
+       >=dev-ruby/pdf-inspector-1.1.0
+       >=dev-ruby/pdf-reader-1.2
+       >=dev-ruby/prawn-1.3.0
+       )"
+
+all_ruby_prepare() {
+       sed -i -e "/[Bb]undler/s/^/#/" spec/spec_helper.rb || die
+       # Remove failing test
+       # See https://github.com/prawnpdf/prawn-table/issues/10
+       sed -i -e "/Prints table on one page when using subtable with colspan > 
1/,+24 s/^/#/" spec/table_spec.rb || die
+}

Reply via email to