summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-13 06:19:57 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-13 06:24:39 +0100
commitdfa457b2a752d18cd7cc881873e406e06446b0c0 (patch)
tree6ef67adbbb27940aab049131daee4f52fc7526bc /dev-ruby
parentdev-ruby/pdf-reader: cleanup (diff)
downloadgentoo-dfa457b2a752d18cd7cc881873e406e06446b0c0.tar.gz
gentoo-dfa457b2a752d18cd7cc881873e406e06446b0c0.tar.bz2
gentoo-dfa457b2a752d18cd7cc881873e406e06446b0c0.zip
dev-ruby/pdf-reader: add 2.6.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/pdf-reader/Manifest1
-rw-r--r--dev-ruby/pdf-reader/pdf-reader-2.6.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest
index 9ec3042e9e81..fdfb9ad79dbc 100644
--- a/dev-ruby/pdf-reader/Manifest
+++ b/dev-ruby/pdf-reader/Manifest
@@ -1,2 +1,3 @@
DIST pdf-reader-1.4.1.tar.gz 10236680 BLAKE2B 86fb137c65b47717e758473b94ddbbf52def3ae0edaecd7b5eb3f0d880f664c9ff6097221f43d64247b006ed18220f4f9a469d6b8574592750a1d8a468ce7ddb SHA512 aaa53dafc2d58dc591f708941907ecf14b1ee73362a7bd6d34659103d51effa90888560733747ca1bfe3d217cb6834109e06b024f40a95214880ca42f54054e5
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
diff --git a/dev-ruby/pdf-reader/pdf-reader-2.6.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.6.0.ebuild
new file mode 100644
index 000000000000..79b2ce3ce2a4
--- /dev/null
+++ b/dev-ruby/pdf-reader/pdf-reader-2.6.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 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/*
+}