summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-03-02 22:41:36 +0100
committerManuel Rüger <mrueg@gentoo.org>2016-03-02 22:41:36 +0100
commite2efc88ff123efbfe6e6154271eab992e7218c31 (patch)
tree0272f3372d74926383eae6911b659b289e49693e /dev-ruby/prawn
parentdev-ruby/kramdown: Version bump (diff)
downloadgentoo-e2efc88ff123efbfe6e6154271eab992e7218c31.tar.gz
gentoo-e2efc88ff123efbfe6e6154271eab992e7218c31.tar.bz2
gentoo-e2efc88ff123efbfe6e6154271eab992e7218c31.zip
dev-ruby/prawn: Version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-ruby/prawn')
-rw-r--r--dev-ruby/prawn/Manifest1
-rw-r--r--dev-ruby/prawn/prawn-2.1.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/prawn/Manifest b/dev-ruby/prawn/Manifest
index 77a0b3441d96..941050f6e885 100644
--- a/dev-ruby/prawn/Manifest
+++ b/dev-ruby/prawn/Manifest
@@ -2,3 +2,4 @@ DIST prawn-1.2.1.tar.gz 4797001 SHA256 514c157babc750971e4c176d8836bfa12c8c014bf
DIST prawn-1.3.0.tar.gz 4126581 SHA256 a24c32f6425c1d2a3bfffc487a1302024ac7c3a2fea5bff1f28b9d92c36f20fa SHA512 0440b1a8b342c1682408dcdec2207b3f4c05bd1405b5d992ee5f7b1ca18bbebd0f42a561cda64981658cd42d79d5d63120b5973c4b6949884134fcac80b47061 WHIRLPOOL 3e72d656c64ea2d3a46912bce02b30e617206b1731d7af49d0995485b4849fd3b1ad62f36f19a7c7294a2b9a3223e40882039a273d64875a1c36bd4ee8d4148f
DIST prawn-2.0.1.tar.gz 4524964 SHA256 3a03b1737e21e15a00ddcd0dac2d43b0dfac2b209b0ba81acac55feb195d4a67 SHA512 b095e5b79eb5b20b5fc38ba3b8ff28469d239bc0cff32944c79e3c45b359676910f8cb18167d4bee97eee3b15dc58e76827123a0731767488db1b50b22acfd64 WHIRLPOOL 5be42d06fa984098fd0ef9cf949d984a674dbf5cbc0f4e716448120c5f57f3805bf9518fca47d2548e6198ccd3413bd9aa1f691517ba7dccff183ef8477a9983
DIST prawn-2.0.2.tar.gz 4523832 SHA256 eb08c0d61d510c806599fba99cb4073f926efedaf119e837a4183ea8be35bb97 SHA512 9b576862663351a9a5eb20c72bd2986c54ad8cbbccab74f2a17212012ce09c001466ef5eee668527d60809eccf1e4ce4b236d9220c6c952970bb1ab84a400a7c WHIRLPOOL 91f0810a3a8c3e8bcfbdf92594063daa7afc94e4ec5773c1b162f3e66e97abb5ce9f75ab4ef32b2bd832a58940507326ce0e5e168d0b76d6f69bba54c1d91eea
+DIST prawn-2.1.0.tar.gz 4687290 SHA256 bf2870328a6e5d7bf946f80c76c44e52e71852a65f2f335843958353062d03fb SHA512 2fcc3261899e2c88a877901840e49261ff3da1924f3319cc65fa028ec0d550df595c98ae206fd645bcacd983cbd69cafa6ecd33f66f8a516c82ad13578a6796e WHIRLPOOL 7a2f9f2ec8ee34c25dfb3fdd1d8f0ec0623b39ff97eae0455046666b9d56cc7c7ee7b74808f2cbc9111bcc878abb4302718bcb8f406cfc84d7be7a89f27e80c8
diff --git a/dev-ruby/prawn/prawn-2.1.0.ebuild b/dev-ruby/prawn/prawn-2.1.0.ebuild
new file mode 100644
index 000000000000..dcfd89c6d8b5
--- /dev/null
+++ b/dev-ruby/prawn/prawn-2.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/pdf-core-0.6.1
+ >=dev-ruby/ttfunk-1.4.0"
+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 failing tests
+ # https://github.com/prawnpdf/prawn/pull/693
+ # https://github.com/prawnpdf/prawn/issues/603
+ sed -i -e "/should process UTF-8 chars/,+9 s/^/#/" spec/line_wrap_spec.rb || die
+ sed -i -e "/shrink_to_fit with special utf-8 text/,+12 s/^/#/" spec/text_spec.rb || die
+}