diff options
author | 2021-11-23 11:40:26 +0100 | |
---|---|---|
committer | 2021-11-23 11:48:08 +0100 | |
commit | 2ce8f95164cc215e8137b3d4b2523140bd8d11a7 (patch) | |
tree | 7ad4e606e896c784c782e8fc9629f02101b69e1b /dev-ruby/prawn-table | |
parent | dev-ruby/pdf-inspector: add ruby30 (diff) | |
download | gentoo-2ce8f95164cc215e8137b3d4b2523140bd8d11a7.tar.gz gentoo-2ce8f95164cc215e8137b3d4b2523140bd8d11a7.tar.bz2 gentoo-2ce8f95164cc215e8137b3d4b2523140bd8d11a7.zip |
dev-ruby/prawn-table: EAPI 8
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/prawn-table')
-rw-r--r-- | dev-ruby/prawn-table/prawn-table-0.2.2-r2.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
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 +} |