diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-10-02 07:14:16 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-10-02 07:14:16 +0200 |
commit | 0216372c6ad3c732db077a6c96f3694c7c73bddf (patch) | |
tree | 7ada118507a9b0e36b92099a793e912c2514ff38 /dev-ruby/pdf-reader | |
parent | dev-ruby/combustion: add 1.3.1 (diff) | |
download | gentoo-0216372c6ad3c732db077a6c96f3694c7c73bddf.tar.gz gentoo-0216372c6ad3c732db077a6c96f3694c7c73bddf.tar.bz2 gentoo-0216372c6ad3c732db077a6c96f3694c7c73bddf.zip |
dev-ruby/pdf-reader: add 2.4.1
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/pdf-reader')
-rw-r--r-- | dev-ruby/pdf-reader/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/pdf-reader/pdf-reader-2.4.1.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest index 5e4e8a550866..be4007b4206f 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.4.0.tar.gz 11025697 BLAKE2B 6886090ce7e293280db434ab7a8e866f11fa8debad3767ea5fee337f481a8695c98bc9dbd46e7e29b132f7f9675a0ce13b957962189bcffe46d37d826e9a2bef SHA512 965b016f8d71e46f1f483c48470049b2ae7eebe72b8e7ae9e50a7ebbf6e72e409e84bf4a6e612f6b76713afd6b38f7fc7f24ae5e898d12fa8f65e3878575c090 +DIST pdf-reader-2.4.1.tar.gz 12453907 BLAKE2B 9ba4aef6c8bd8ef4cb696e7afd3a47578b16ccc82ee065f49d092200c39bf1b218e886f63af8f38e1a7ba6ae2884021a3759753044b2af583454ce301d4b8341 SHA512 84c30fb8ff521b3d3c86348668ce5bacca8e82d414e35f59aaf6e04a1dfa87b3beead2a527efc42d80534358f27af6bea445f49fdc223ecdc61a910ddb7ca5e2 diff --git a/dev-ruby/pdf-reader/pdf-reader-2.4.1.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.4.1.ebuild new file mode 100644 index 000000000000..0d9203bbcb24 --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-2.4.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +GITHUB_USER=yob + +USE_RUBY="ruby25 ruby26 ruby27" + +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/* +} |