summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-01-30 09:04:28 +0100
committerHans de Graaff <graaff@gentoo.org>2022-01-30 09:19:49 +0100
commit55064cae1550a864c3fe683c2883dfc1260474ad (patch)
treec0028476ad17a69f9e970b5133aa2da4d5226bf1 /dev-ruby/pdf-reader
parentdev-ruby/msgpack: add 1.4.4. (diff)
downloadgentoo-55064cae1550a864c3fe683c2883dfc1260474ad.tar.gz
gentoo-55064cae1550a864c3fe683c2883dfc1260474ad.tar.bz2
gentoo-55064cae1550a864c3fe683c2883dfc1260474ad.zip
dev-ruby/pdf-reader: add 2.9.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3 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.9.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest
index 5e739779acad..46cbefc70190 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.5.0.tar.gz 12457904 BLAKE2B 6a17a586297ee238b9e0e8ae707cc0518ae3de62ec058ea31303f0787cff7f6f79f4259babfec4323adc6fb08b64b92e3f0f6f01da3a1eda29c6ea02f25aef3b SHA512 684d7ea414c8cdb7bc2aa17b2f3108a18cb6cf967b844ab26a6ac39071508b8a871b661e0e017a7f721cb3c2e6dffcd2cc0d3c31c2b33b3c61be08292c25da4a
DIST pdf-reader-2.6.0.tar.gz 12463722 BLAKE2B c7c788871c4c99decf13509a116c266c33489d8a3f3b46988b14307d2534f2f6aa20a578af8019b44690e44f9bff780aebc8c7e7299c51f25a97cfa988070748 SHA512 5234708f9bb2ddd85bd6821023ff7320cf21fe91f70e517f6791ef0d5186909f055da6af3903f77e8a4a1498f3fc130c9797437f4c00a817b8f33ab3dccb37e7
DIST pdf-reader-2.8.0.tar.gz 12598389 BLAKE2B 8572c4c869d09bd7ecc9967d46b44236002fadb863695675b3d7bf2f7d63560c72240f9f0544f844d63f33f65f6097d28eb315f332eeca58294a5956cf24c09b SHA512 8f1a7990d982141e6dae682ad5dd6f415a363a598f76523ac9be2fda9c460479e571140c0f407f01f950dd94d73bc006a32a827fbab08a42d1c6656024d241c9
+DIST pdf-reader-2.9.0.tar.gz 26133329 BLAKE2B b9c798e98198c2233d0b87a56213dec54fcbef2d566cdde29d38f10c0b577a8bce3066a008de8eaa11169851eb285cf2818a56ef35ba44abb3702e25723707ba SHA512 cb4f08ec0b706a553c2fb20abab4e3486e3b7de1887366b10454a67b405bdd675c437edbd5928f11dfe4f7cf0d6af64a877db3f1002e38c27e0177e0ef5a487d
diff --git a/dev-ruby/pdf-reader/pdf-reader-2.9.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.9.0.ebuild
new file mode 100644
index 000000000000..06b2336fdc14
--- /dev/null
+++ b/dev-ruby/pdf-reader/pdf-reader-2.9.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GITHUB_USER=yob
+
+USE_RUBY="ruby26 ruby27 ruby30"
+
+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/*
+}