From dbf1db0c2eb7a926ad1d58836786da9b6bf68bc4 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sun, 18 Feb 2024 16:22:11 +0100 Subject: [PATCH] dev-ruby/prawn-templates: Import package from ::guru Signed-off-by: Nils Freydank --- dev-ruby/prawn-templates/Manifest | 1 + dev-ruby/prawn-templates/metadata.xml | 11 +++++++ .../prawn-templates-0.1.2-r1.ebuild | 31 +++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 dev-ruby/prawn-templates/Manifest create mode 100644 dev-ruby/prawn-templates/metadata.xml create mode 100644 dev-ruby/prawn-templates/prawn-templates-0.1.2-r1.ebuild diff --git a/dev-ruby/prawn-templates/Manifest b/dev-ruby/prawn-templates/Manifest new file mode 100644 index 0000000..48886d3 --- /dev/null +++ b/dev-ruby/prawn-templates/Manifest @@ -0,0 +1 @@ +DIST prawn-templates-0.1.2.gem 28160 BLAKE2B 128f0f735e91163294b8c027a029f4dc2525cdc01d949ad769bc5421dd72163fbbbc6a83175e4502da67f0bddacaf4e1e55a4d4ed871844fac0c2a4eb4255b51 SHA512 0c64566a9cfdadb075fa31fb7630419f2adc624148f8ff8921c8afea1f2a2ac363439bdef450ad2a84a08cdfbfc9e07a49380e7e6a3e43c16e7413703c029cf0 diff --git a/dev-ruby/prawn-templates/metadata.xml b/dev-ruby/prawn-templates/metadata.xml new file mode 100644 index 0000000..2fea477 --- /dev/null +++ b/dev-ruby/prawn-templates/metadata.xml @@ -0,0 +1,11 @@ + + + + + vowstar@gmail.com + Huang Rui + + + prawnpdf/prawn-templates + + diff --git a/dev-ruby/prawn-templates/prawn-templates-0.1.2-r1.ebuild b/dev-ruby/prawn-templates/prawn-templates-0.1.2-r1.ebuild new file mode 100644 index 0000000..6c54e59 --- /dev/null +++ b/dev-ruby/prawn-templates/prawn-templates-0.1.2-r1.ebuild @@ -0,0 +1,31 @@ +# 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 templates in Prawn" +HOMEPAGE="https://github.com/prawnpdf/prawn-templates" +LICENSE="|| ( GPL-2+ GPL-3 Ruby )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +# prawn breaks tests for some reasons, needs to be investigated; code +# still works though. +RESTRICT="test" + +ruby_add_rdepend " + >=dev-ruby/pdf-reader-1.2 + >=dev-ruby/prawn-0.11.1 + " + +ruby_add_bdepend "test? ( dev-ruby/mocha + >=dev-ruby/pdf-inspector-1.1.0 + >=dev-ruby/prawn-1.3.0 + )"