diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/prawn | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/prawn')
-rw-r--r-- | dev-ruby/prawn/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/prawn/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/prawn/prawn-2.2.0.ebuild | 33 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/prawn/Manifest b/dev-ruby/prawn/Manifest new file mode 100644 index 000000000000..876710e4739c --- /dev/null +++ b/dev-ruby/prawn/Manifest @@ -0,0 +1,3 @@ +DIST prawn-2.2.0.tar.gz 5215662 BLAKE2B 7130aaa4e9e9de2f15148f9c3a7a713ebb9808047e59fc156566f3a44705055b907284ce6690ff2e803702ddc3eb304b32e8f8c0049badda348bf4242df7e14c SHA512 a714f3cf47439d2603afda66cf4202ab9fdda0b6aaec120fd65df4e29d4b26155d95392487131c16d451ebe8f774aa6d64227670fad7b151cd0a514d3ed40b06 +EBUILD prawn-2.2.0.ebuild 912 BLAKE2B 4fb07b1f23296bd2f33c3e9663e168d9aa619bf3f98905be36b67a97ead0f37f039688c6e392e466189a66a1007d39777aabf45c3511a586ef3af8c3653c97cb SHA512 b8bfa875a3aad7a29df45a47d6a5330b20b14154452a038c1db3ed7082be365fca97567d56b8e034cda8e5c462dfcb544b6fe217e2ebcacdb1c0dfea17cfb5b9 +MISC metadata.xml 340 BLAKE2B 4d87947e53d3063f83e9cd52f2c11eaee8b5460d3272302eaa91b93c572bd536e69c38d69dab0f94cef4507a6cadc48f4c81d2b98ca4787a02541657e3f370bd SHA512 ce287fd4dc9d9442611b519fa8c8607b37072965c8d1902f25e9444a375c9b6907850a9d9f3bb3ccae31a7994bae05a6235bada27837dc28fe045c12cde61358 diff --git a/dev-ruby/prawn/metadata.xml b/dev-ruby/prawn/metadata.xml new file mode 100644 index 000000000000..a3d9c2d392d8 --- /dev/null +++ b/dev-ruby/prawn/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">prawnpdf/prawn</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/prawn/prawn-2.2.0.ebuild b/dev-ruby/prawn/prawn-2.2.0.ebuild new file mode 100644 index 000000000000..7b2c30eb9c31 --- /dev/null +++ b/dev-ruby/prawn/prawn-2.2.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Fast, Nimble PDF Generation For Ruby" +HOMEPAGE="http://prawn.majesticseacreature.com/" +SRC_URI="https://github.com/prawnpdf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="|| ( GPL-2 Ruby )" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/pdf-core-0.7.0 + >=dev-ruby/ttfunk-1.5" +ruby_add_bdepend "test? ( dev-ruby/coderay + >=dev-ruby/pdf-inspector-1.2.1 + >=dev-ruby/pdf-reader-1.2 + )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile spec/spec_helper.rb || die + + # Remove test that needs unpackaged dependency + rm -f spec/manual_spec.rb || die +} |