dev-ruby/pdf-reader: add 2.13.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2024-11-03 07:38:28 +01:00
parent abfa11d457
commit 60b623de24
2 changed files with 46 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST pdf-reader-1.4.1.tar.gz 10236680 BLAKE2B 86fb137c65b47717e758473b94ddbbf52def3ae0edaecd7b5eb3f0d880f664c9ff6097221f43d64247b006ed18220f4f9a469d6b8574592750a1d8a468ce7ddb SHA512 aaa53dafc2d58dc591f708941907ecf14b1ee73362a7bd6d34659103d51effa90888560733747ca1bfe3d217cb6834109e06b024f40a95214880ca42f54054e5
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

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2024 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-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/*
}