diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-11-22 06:47:28 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-11-22 10:03:06 +0100 |
commit | 662bbbd9853d10998923a0a9b074cf5cfe3293c7 (patch) | |
tree | a38cad8e4bd63ad2b3aacca677607af9fdde8612 | |
parent | dev-ruby/rspec-retry: add 0.6.2 (diff) | |
download | gentoo-662bbbd9853d10998923a0a9b074cf5cfe3293c7.tar.gz gentoo-662bbbd9853d10998923a0a9b074cf5cfe3293c7.tar.bz2 gentoo-662bbbd9853d10998923a0a9b074cf5cfe3293c7.zip |
dev-ruby/pdf-reader: add 2.4.0
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | dev-ruby/pdf-reader/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/pdf-reader/pdf-reader-2.4.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest index 3e91c1ad4abe..4d5c1cef52d9 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.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 +DIST pdf-reader-2.4.0.tar.gz 11025697 BLAKE2B 6886090ce7e293280db434ab7a8e866f11fa8debad3767ea5fee337f481a8695c98bc9dbd46e7e29b132f7f9675a0ce13b957962189bcffe46d37d826e9a2bef SHA512 965b016f8d71e46f1f483c48470049b2ae7eebe72b8e7ae9e50a7ebbf6e72e409e84bf4a6e612f6b76713afd6b38f7fc7f24ae5e898d12fa8f65e3878575c090 diff --git a/dev-ruby/pdf-reader/pdf-reader-2.4.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.4.0.ebuild new file mode 100644 index 000000000000..0c7ee56b3dad --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-2.4.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 +} |