dev-ruby/pdf-reader: add 2.14.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-01-29 07:39:21 +01:00
parent 355466006a
commit d07d23a7c1
2 changed files with 46 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST pdf-reader-2.12.0.tar.gz 26530597 BLAKE2B 77cdac5f998b0e3f2a61406937483f1dc81dc982af47ad4b7fc59cb0e3e776fc082d54adc9f241c31aede3533e1efadffb43144f949927f2f5af7dd5e62a0558 SHA512 47ea75b2e773cee27fa2e395c29346b2ba9b0d542c46bf953fe875548f0788f945ef1dd466d7c519130a05e01e52e6aa0c905cfd2c406041ffa8f92c6e15b407
DIST pdf-reader-2.13.0.tar.gz 26530532 BLAKE2B cfd666a39c5a0bd52a7575011cae965db1a39d8a012c62f8af280d055b44743d4a8e66373250c533bb347df029200064522e08fe9c33bf1e8509aeac2823866c SHA512 5e5cbcb3bb98b7cd70b85c1f066251a6db9a6e470e0827a0624170c023023503390a26782b5d5347fb05a48a9bff26eb63b886a19c2f2cf2b5ced1df35bde09b
DIST pdf-reader-2.14.0.tar.gz 26529169 BLAKE2B 7ed91ada912675e86c2026504c075345e9851349b075ec3a827a7926bfb3618def35fd065774041fe1d943bdd33c745118ea6f5a70038b0f4d871d68d69f9228 SHA512 05bce745258e0974eb0aaf3479c62de73f51fcff38d73da33c720322ce9206b4c0c2bf8298799009c9676dc94a808a1725377e4b494316bebbfbe4f89b4f1259

View File

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