summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-06-10 08:13:01 +0200
committerHans de Graaff <graaff@gentoo.org>2021-06-10 08:13:45 +0200
commit0442b3ae22fe67beb02020bf139c8f03530d65e7 (patch)
tree86badf862e23b14c3843f358ccc0aef937863137 /dev-ruby/pdf-reader
parentapp-emacs/company-mode: add missing autoloads (diff)
downloadgentoo-0442b3ae22fe67beb02020bf139c8f03530d65e7.tar.gz
gentoo-0442b3ae22fe67beb02020bf139c8f03530d65e7.tar.bz2
gentoo-0442b3ae22fe67beb02020bf139c8f03530d65e7.zip
dev-ruby/pdf-reader: add 2.5.0
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/pdf-reader')
-rw-r--r--dev-ruby/pdf-reader/Manifest1
-rw-r--r--dev-ruby/pdf-reader/pdf-reader-2.5.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest
index fe5c4ae410bb..86d993be3f1e 100644
--- a/dev-ruby/pdf-reader/Manifest
+++ b/dev-ruby/pdf-reader/Manifest
@@ -2,3 +2,4 @@ DIST pdf-reader-1.4.1.tar.gz 10236680 BLAKE2B 86fb137c65b47717e758473b94ddbbf52d
DIST pdf-reader-2.4.0.tar.gz 11025697 BLAKE2B 6886090ce7e293280db434ab7a8e866f11fa8debad3767ea5fee337f481a8695c98bc9dbd46e7e29b132f7f9675a0ce13b957962189bcffe46d37d826e9a2bef SHA512 965b016f8d71e46f1f483c48470049b2ae7eebe72b8e7ae9e50a7ebbf6e72e409e84bf4a6e612f6b76713afd6b38f7fc7f24ae5e898d12fa8f65e3878575c090
DIST pdf-reader-2.4.1.tar.gz 12453907 BLAKE2B 9ba4aef6c8bd8ef4cb696e7afd3a47578b16ccc82ee065f49d092200c39bf1b218e886f63af8f38e1a7ba6ae2884021a3759753044b2af583454ce301d4b8341 SHA512 84c30fb8ff521b3d3c86348668ce5bacca8e82d414e35f59aaf6e04a1dfa87b3beead2a527efc42d80534358f27af6bea445f49fdc223ecdc61a910ddb7ca5e2
DIST pdf-reader-2.4.2.tar.gz 12454897 BLAKE2B 1ece823ecd22108040fa07aeb4bd2af426aea4632a1ce137f1cdc4b5818fd6b152f1e0afca7658e0fd9df27ca1dad1c8d633713e3a56c86c58878f1f888ef929 SHA512 0f75b8a8beaf0fcea6eaef95768d3274e0bafae3a07281445ccc5d3fe619b2f5d985002587160438278be3b99d3aaff41604ff52e3971248bd10cc6d25e9a45a
+DIST pdf-reader-2.5.0.tar.gz 12457904 BLAKE2B 6a17a586297ee238b9e0e8ae707cc0518ae3de62ec058ea31303f0787cff7f6f79f4259babfec4323adc6fb08b64b92e3f0f6f01da3a1eda29c6ea02f25aef3b SHA512 684d7ea414c8cdb7bc2aa17b2f3108a18cb6cf967b844ab26a6ac39071508b8a871b661e0e017a7f721cb3c2e6dffcd2cc0d3c31c2b33b3c61be08292c25da4a
diff --git a/dev-ruby/pdf-reader/pdf-reader-2.5.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.5.0.ebuild
new file mode 100644
index 000000000000..1b2ec2c23b48
--- /dev/null
+++ b/dev-ruby/pdf-reader/pdf-reader-2.5.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+GITHUB_USER=yob
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md TODO"
+
+RUBY_FAKEGEM_GEMSPEC="pdf-reader.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="PDF parser conforming as much as possible to the PDF specification from Adobe"
+HOMEPAGE="https://github.com/yob/pdf-reader/"
+
+# We cannot use the gem distributions because they don't contain the
+# tests' data, we have to rely on the git tags.
+SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND+=" !!<dev-ruby/pdf-reader-1.4.1-r2"
+
+ruby_add_rdepend ">=dev-ruby/afm-0.2.1 =dev-ruby/afm-0.2*
+ =dev-ruby/ascii85-1*
+ =dev-ruby/hashery-2*
+ dev-ruby/ttfunk:*
+ dev-ruby/ruby-rc4"
+
+all_ruby_prepare() {
+ # Remove bundler support
+ sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc examples/*
+}