Skip to content

Commit

Permalink
dev-ruby/pdf-reader: add 2.9.1
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <[email protected]>
  • Loading branch information
graaff committed Feb 11, 2022
1 parent 9cd01f9 commit 7fa27ee
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ruby/pdf-reader/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ DIST pdf-reader-2.5.0.tar.gz 12457904 BLAKE2B 6a17a586297ee238b9e0e8ae707cc0518a
DIST pdf-reader-2.6.0.tar.gz 12463722 BLAKE2B c7c788871c4c99decf13509a116c266c33489d8a3f3b46988b14307d2534f2f6aa20a578af8019b44690e44f9bff780aebc8c7e7299c51f25a97cfa988070748 SHA512 5234708f9bb2ddd85bd6821023ff7320cf21fe91f70e517f6791ef0d5186909f055da6af3903f77e8a4a1498f3fc130c9797437f4c00a817b8f33ab3dccb37e7
DIST pdf-reader-2.8.0.tar.gz 12598389 BLAKE2B 8572c4c869d09bd7ecc9967d46b44236002fadb863695675b3d7bf2f7d63560c72240f9f0544f844d63f33f65f6097d28eb315f332eeca58294a5956cf24c09b SHA512 8f1a7990d982141e6dae682ad5dd6f415a363a598f76523ac9be2fda9c460479e571140c0f407f01f950dd94d73bc006a32a827fbab08a42d1c6656024d241c9
DIST pdf-reader-2.9.0.tar.gz 26133329 BLAKE2B b9c798e98198c2233d0b87a56213dec54fcbef2d566cdde29d38f10c0b577a8bce3066a008de8eaa11169851eb285cf2818a56ef35ba44abb3702e25723707ba SHA512 cb4f08ec0b706a553c2fb20abab4e3486e3b7de1887366b10454a67b405bdd675c437edbd5928f11dfe4f7cf0d6af64a877db3f1002e38c27e0177e0ef5a487d
DIST pdf-reader-2.9.1.tar.gz 26134579 BLAKE2B 7900530afe2818adb621d57d67d1c16c7fb3d6d9ed64648ee3241e903cfc8ea4264f773af4302f17eeef7b945b10df5bbb9c734c4f0710e831657f9fa0b49a55 SHA512 63e95f015308c6cac2f59965c753c3d51d3b24c28ab72d6c8672c026ec5dd796033d559a4956a09855423613668a572f9c935aaa5cca3be3529b3f33ee353974
48 changes: 48 additions & 0 deletions dev-ruby/pdf-reader/pdf-reader-2.9.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 1999-2022 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/*
}

0 comments on commit 7fa27ee

Please sign in to comment.