summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-11-07 06:50:39 +0100
committerHans de Graaff <graaff@gentoo.org>2019-11-07 08:51:04 +0100
commit1a91552f1c172071b6367478aa95878c69445e18 (patch)
tree64d6d9f12688a2bb8b040bad777ed487111da8cb /dev-ruby
parentsys-boot/syslinux: Drop old (EAPI 0) (diff)
downloadgentoo-1a91552f1c172071b6367478aa95878c69445e18.tar.gz
gentoo-1a91552f1c172071b6367478aa95878c69445e18.tar.bz2
gentoo-1a91552f1c172071b6367478aa95878c69445e18.zip
dev-ruby/pdf-reader: add 2.3.0
Package-Manager: Portage-2.3.76, Repoman-2.3.16 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.3.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest
index 24dfb9935e66..3e91c1ad4abe 100644
--- a/dev-ruby/pdf-reader/Manifest
+++ b/dev-ruby/pdf-reader/Manifest
@@ -1,3 +1,4 @@
DIST pdf-reader-1.4.1.tar.gz 10236680 BLAKE2B 86fb137c65b47717e758473b94ddbbf52def3ae0edaecd7b5eb3f0d880f664c9ff6097221f43d64247b006ed18220f4f9a469d6b8574592750a1d8a468ce7ddb SHA512 aaa53dafc2d58dc591f708941907ecf14b1ee73362a7bd6d34659103d51effa90888560733747ca1bfe3d217cb6834109e06b024f40a95214880ca42f54054e5
DIST pdf-reader-2.2.0.tar.gz 10976940 BLAKE2B 1323310319e841f1498adc9f88cef9a3dd624482310f81bfc471e95df16113df931d76d6023fe1830c4e678e65b54a57fdbca6af2c91cbd2ea00d0b96c785917 SHA512 e8e58a64f3a474752b5b49cde0b48cf99c09c1aaafbf539eba87c74394e060c2a09d911a250e11b32833ed3e905dd2b5ed5b75bdf71115b07e6bb0001fc59329
DIST pdf-reader-2.2.1.tar.gz 10977334 BLAKE2B ee972dcfecd8beb46c55a38e493825fb248409abad04d7040cac0fde63206b3c13fb99ce5214ead88d6cc998a7abe5ac9889cb05389d23780ad7f4edfb33fdec SHA512 3032c1b9286d967f48867d3c81ddb6478e4876af0accaaf2b2b7fdf29709425b788c09af87b4953d6483ca11a5ebce6b9fa8d83d2274eb91173e06df1801dfde
+DIST pdf-reader-2.3.0.tar.gz 11012191 BLAKE2B 9c6f7a06ac831f1916c3f578319651aa65dff6fece65647493130a16f2137b98c78a3d73aac56066a28ca7fec16fcc37628aa778f72391912f88fd928c3cf364 SHA512 df50fffba868df470481ad8dd5ca46014702d4b5b60784240f1bb8a7e8df4c5ffa889b6f9ae25f836f5592678a387462bb6673ca145f03f41e2dbf24d85ea79c
diff --git a/dev-ruby/pdf-reader/pdf-reader-2.3.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.3.0.ebuild
new file mode 100644
index 000000000000..0c7ee56b3dad
--- /dev/null
+++ b/dev-ruby/pdf-reader/pdf-reader-2.3.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+GITHUB_USER=yob
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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 ~ia64 ~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/* || die
+}