summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/prawn-svg/prawn-svg-0.35.1.ebuild')
-rw-r--r--dev-ruby/prawn-svg/prawn-svg-0.35.1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/prawn-svg/prawn-svg-0.35.1.ebuild b/dev-ruby/prawn-svg/prawn-svg-0.35.1.ebuild
new file mode 100644
index 0000000..2b2a247
--- /dev/null
+++ b/dev-ruby/prawn-svg/prawn-svg-0.35.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides support for SVG in Prawn"
+HOMEPAGE="https://github.com/mogest/prawn-svg"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+ruby_add_rdepend "
+ >=dev-ruby/css_parser-1.6.0
+ >=dev-ruby/matrix-0.4.2
+ >=dev-ruby/prawn-0.11.1
+ >=dev-ruby/rexml-3.2.0
+ "
+
+PATCHES=(
+ # adapt to >=dev-ruby/rexml-3.3.3
+ "${FILESDIR}/${P}-rexml.patch"
+)
+
+all_ruby_prepare() {
+ # avoid useless dependencies
+ sed -i '/rubocop/d' Gemfile || die
+ rm -f Gemfile.lock || die
+}