diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-02-06 07:59:03 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-02-06 07:59:03 +0100 |
commit | 3d1b75e10eef0d2d8956f3706a6aba17d7643c74 (patch) | |
tree | 3df210efe730bf143a8cc1f20a9696fbd7f9e25f /dev-ruby/pdf-reader | |
parent | dev-ruby/ascii85: add ruby30 (diff) | |
download | gentoo-3d1b75e10eef0d2d8956f3706a6aba17d7643c74.tar.gz gentoo-3d1b75e10eef0d2d8956f3706a6aba17d7643c74.tar.bz2 gentoo-3d1b75e10eef0d2d8956f3706a6aba17d7643c74.zip |
dev-ruby/pdf-reader: add 2.4.2
Package-Manager: Portage-3.0.13, Repoman-3.0.2
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.2.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest index be4007b4206f..fe5c4ae410bb 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.4.0.tar.gz 11025697 BLAKE2B 6886090ce7e293280db434ab7a8e866f11fa8debad3767ea5fee337f481a8695c98bc9dbd46e7e29b132f7f9675a0ce13b957962189bcffe46d37d826e9a2bef SHA512 965b016f8d71e46f1f483c48470049b2ae7eebe72b8e7ae9e50a7ebbf6e72e409e84bf4a6e612f6b76713afd6b38f7fc7f24ae5e898d12fa8f65e3878575c090 DIST pdf-reader-2.4.1.tar.gz 12453907 BLAKE2B 9ba4aef6c8bd8ef4cb696e7afd3a47578b16ccc82ee065f49d092200c39bf1b218e886f63af8f38e1a7ba6ae2884021a3759753044b2af583454ce301d4b8341 SHA512 84c30fb8ff521b3d3c86348668ce5bacca8e82d414e35f59aaf6e04a1dfa87b3beead2a527efc42d80534358f27af6bea445f49fdc223ecdc61a910ddb7ca5e2 +DIST pdf-reader-2.4.2.tar.gz 12454897 BLAKE2B 1ece823ecd22108040fa07aeb4bd2af426aea4632a1ce137f1cdc4b5818fd6b152f1e0afca7658e0fd9df27ca1dad1c8d633713e3a56c86c58878f1f888ef929 SHA512 0f75b8a8beaf0fcea6eaef95768d3274e0bafae3a07281445ccc5d3fe619b2f5d985002587160438278be3b99d3aaff41604ff52e3971248bd10cc6d25e9a45a diff --git a/dev-ruby/pdf-reader/pdf-reader-2.4.2.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.4.2.ebuild new file mode 100644 index 000000000000..1b2ec2c23b48 --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-2.4.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 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/* +} |