From 4ff5296e638689aca7f1718cc16436e78838425d Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sun, 18 Feb 2024 16:22:11 +0100 Subject: [PATCH] dev-ruby/prawn-svg: Import package from ::guru Signed-off-by: Nils Freydank --- dev-ruby/prawn-svg/Manifest | 1 + dev-ruby/prawn-svg/metadata.xml | 11 ++++++++ dev-ruby/prawn-svg/prawn-svg-0.32.0.ebuild | 32 ++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 dev-ruby/prawn-svg/Manifest create mode 100644 dev-ruby/prawn-svg/metadata.xml create mode 100644 dev-ruby/prawn-svg/prawn-svg-0.32.0.ebuild diff --git a/dev-ruby/prawn-svg/Manifest b/dev-ruby/prawn-svg/Manifest new file mode 100644 index 0000000..0b2f0d4 --- /dev/null +++ b/dev-ruby/prawn-svg/Manifest @@ -0,0 +1 @@ +DIST prawn-svg-0.32.0.gem 276992 BLAKE2B 1522dad613079063de1b572ac6c234185637edc8ab129ea438342101f8df059f7f71d3d9647dbd3a43967c4419f0af50df78280a9b630bb78e6ecc6e5815ed6c SHA512 e4bb429106f6d18ad60c64c749ae236d64ebc9a621a20409fcd7c1ec64299d4fcf4d27248af030eb0e65ce74bfb0245b56aad49ed55c693f1a8eb20fc1b5bc49 diff --git a/dev-ruby/prawn-svg/metadata.xml b/dev-ruby/prawn-svg/metadata.xml new file mode 100644 index 0000000..2a483eb --- /dev/null +++ b/dev-ruby/prawn-svg/metadata.xml @@ -0,0 +1,11 @@ + + + + + vowstar@gmail.com + Huang Rui + + + mogest/prawn-svg + + diff --git a/dev-ruby/prawn-svg/prawn-svg-0.32.0.ebuild b/dev-ruby/prawn-svg/prawn-svg-0.32.0.ebuild new file mode 100644 index 0000000..db9d6a7 --- /dev/null +++ b/dev-ruby/prawn-svg/prawn-svg-0.32.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +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 Ruby )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +# prawn breaks tests for some reasons, needs to be investigated; code +# still works though. +RESTRICT="test" + +ruby_add_rdepend " + >=dev-ruby/css_parser-1.6.0 + >=dev-ruby/prawn-0.11.1 + >=dev-ruby/rexml-3.2.0 + " + +ruby_add_bdepend "test? ( dev-ruby/mocha + >=dev-ruby/pdf-inspector-1.1.0 + >=dev-ruby/pdf-reader-1.2 + )"