summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-06-18 07:43:24 +0200
committerHans de Graaff <graaff@gentoo.org>2022-06-18 07:48:37 +0200
commit4d436d0e268756262c20933e38922dd256c6274b (patch)
tree75921bf259e1074bc62232c2ae7c86a83c9a833d /dev-ruby/pdf-reader
parentdev-ruby/hashery: enable ruby31 (diff)
downloadgentoo-4d436d0e268756262c20933e38922dd256c6274b.tar.gz
gentoo-4d436d0e268756262c20933e38922dd256c6274b.tar.bz2
gentoo-4d436d0e268756262c20933e38922dd256c6274b.zip
dev-ruby/pdf-reader: add 2.10.0
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.10.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest
index 8661b1964333..b9fd5f4fc6a5 100644
--- a/dev-ruby/pdf-reader/Manifest
+++ b/dev-ruby/pdf-reader/Manifest
@@ -1,4 +1,5 @@
DIST pdf-reader-1.4.1.tar.gz 10236680 BLAKE2B 86fb137c65b47717e758473b94ddbbf52def3ae0edaecd7b5eb3f0d880f664c9ff6097221f43d64247b006ed18220f4f9a469d6b8574592750a1d8a468ce7ddb SHA512 aaa53dafc2d58dc591f708941907ecf14b1ee73362a7bd6d34659103d51effa90888560733747ca1bfe3d217cb6834109e06b024f40a95214880ca42f54054e5
+DIST pdf-reader-2.10.0.tar.gz 26135942 BLAKE2B f7ea5611e4fa66cc61990db523d76fe21ad82e6714a8f0cf9aa9c150f3fe2e1cfcdb07cdd0237e8ab8a3ae99fe774956c0ae3b67cfb10d55dd4497388cf5b7ff SHA512 c90db31c39454d8781dcb0259e87ce44bb19f9d4cf146bc3909bf335c36c1f678032efd7a5a2f1225304d99e855166b80a4273e56802d7276f70f546bd3fc563
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
DIST pdf-reader-2.9.1.tar.gz 26134579 BLAKE2B 7900530afe2818adb621d57d67d1c16c7fb3d6d9ed64648ee3241e903cfc8ea4264f773af4302f17eeef7b945b10df5bbb9c734c4f0710e831657f9fa0b49a55 SHA512 63e95f015308c6cac2f59965c753c3d51d3b24c28ab72d6c8672c026ec5dd796033d559a4956a09855423613668a572f9c935aaa5cca3be3529b3f33ee353974
diff --git a/dev-ruby/pdf-reader/pdf-reader-2.10.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.10.0.ebuild
new file mode 100644
index 000000000000..72da01d34f4f
--- /dev/null
+++ b/dev-ruby/pdf-reader/pdf-reader-2.10.0.ebuild
@@ -0,0 +1,46 @@
+# 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 ruby31"
+
+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=""
+
+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/*
+}