dev-ruby/pdf-reader: add 2.15.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff 2025-08-15 07:32:19 +02:00
parent db18992cb0
commit d1aed7d8fa
No known key found for this signature in database
GPG Key ID: DB347F938654FA34
2 changed files with 47 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST pdf-reader-2.14.1.tar.gz 26529020 BLAKE2B 0b97fe2058d5ba205e7480b3d872ab8a48e97bccd25b943d8e3d8a000c533ffb2c864580a0f567baf24022926139f37758a97a7b73a5e7da2460f22faa968914 SHA512 2e8f37f0177301f516dc3b1b8a0fa8cc934b4f29b2e01907fbf091b7e9eaf65b0231e2b6a2d66e25fb9daf21958e6096204a9d7fec0feb6d9f22d2be6ca7d262
DIST pdf-reader-2.15.0.tar.gz 26534873 BLAKE2B a3fefa6ff97dc664d59014650553c996c353b852c9ec2f5ebcc0b177ff10acb6911b4510b8b5b2e8c2732f1238d8562232c301ba13f4898e91d9eccb4c4e60dd SHA512 757ff3d26b310ab87757c293567c9f3abdc34e8504dc80444b2e06b73c135e1a5f07c985ded478a84ec6628fc4553a6d530ee087ed8e5541eb2737fdb8634650

View File

@ -0,0 +1,46 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
GITHUB_USER=yob
USE_RUBY="ruby32 ruby33 ruby34"
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"
ruby_add_rdepend "
|| ( dev-ruby/afm:1 >=dev-ruby/afm-0.2.1:0 )
|| ( >=dev-ruby/ascii85-2.0.1:2 dev-ruby/ascii85:0 )
=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/*
}