summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-03-12 08:00:19 +0100
committerHans de Graaff <graaff@gentoo.org>2017-03-12 08:01:13 +0100
commitadd6a1d62d8c1f8b90a8fa3eef64710ffc486ca6 (patch)
tree2b64493168d1fcc31ce9a2204bc75e4e7e4ca88c /dev-ruby/pdf-core
parentdev-ruby/autoprefixer-rails: add 6.7.7 (diff)
downloadgentoo-add6a1d62d8c1f8b90a8fa3eef64710ffc486ca6.tar.gz
gentoo-add6a1d62d8c1f8b90a8fa3eef64710ffc486ca6.tar.bz2
gentoo-add6a1d62d8c1f8b90a8fa3eef64710ffc486ca6.zip
dev-ruby/pdf-core: add 0.7.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/pdf-core')
-rw-r--r--dev-ruby/pdf-core/Manifest1
-rw-r--r--dev-ruby/pdf-core/pdf-core-0.7.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/pdf-core/Manifest b/dev-ruby/pdf-core/Manifest
index 9d201de0c3e1..f26a867912e5 100644
--- a/dev-ruby/pdf-core/Manifest
+++ b/dev-ruby/pdf-core/Manifest
@@ -1 +1,2 @@
DIST pdf-core-0.6.1.gem 43008 SHA256 debd79635c3d1e40d4f35bb3b7524b8077fc6d8a568679dc7d3bced6e60410e8 SHA512 dc9074658cb4037fc1ab4f51a19bd67396c31ef18ac5c89e94563711eced8a7a6ec642e907564c92453cac08cd7a09f6da6f6da87536475cce8238cef087467a WHIRLPOOL 4264d49d6a87c379b41ee4997938491ab7488c61517abdbcce1bd9e348edd642316a8ca8d6578a3125d4098337ddc94e25a87850c1a060f3b7b1846027d5ee32
+DIST pdf-core-0.7.0.tar.gz 43382 SHA256 ca0f0e7681d7f8b8b8a6f33e05d43dc0f5ca2d07c804bea2a2fbce0bb0000779 SHA512 c99409284e9f7f929902d88ff7943b3dc6b37c32d67ceaa15ad79e1f9a02b561af59889dae4344a1a7749edbb6705e06f6ca356f08ca38742a2623168d53d29d WHIRLPOOL 97d85c2aea8216eb4e35662afb56d5c65375c7b404bc2dde6214cc578c28a1a94b73b223f561920314cd27aee7f761a804f558498871ea4d65653bb8902bc85c
diff --git a/dev-ruby/pdf-core/pdf-core-0.7.0.ebuild b/dev-ruby/pdf-core/pdf-core-0.7.0.ebuild
new file mode 100644
index 000000000000..f400ea5b2a27
--- /dev/null
+++ b/dev-ruby/pdf-core/pdf-core-0.7.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Implements low level PDF features for Prawn"
+HOMEPAGE="https://github.com/prawnpdf/pdf-core/"
+SRC_URI="https://github.com/prawnpdf/pdf-core/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( Ruby GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+ruby_add_bdepend "test? ( =dev-ruby/pdf-inspector-1*
+ >=dev-ruby/pdf-reader-1.2 =dev-ruby/pdf-reader-1* )"
+
+all_ruby_prepare() {
+ sed -i -e "/[Bb]undler/d" spec/spec_helper.rb || die
+}