diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-12-27 08:18:51 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-12-27 08:18:51 +0100 |
commit | db779dbff63a43b0c5b9f6712ca896adcc5b2155 (patch) | |
tree | 2a75973ef3db8883cf4d1d3380ea0042be161064 /dev-ruby/pdf-reader | |
parent | dev-ruby/json: drop 2.7.1 (diff) | |
download | gentoo-db779dbff63a43b0c5b9f6712ca896adcc5b2155.tar.gz gentoo-db779dbff63a43b0c5b9f6712ca896adcc5b2155.tar.bz2 gentoo-db779dbff63a43b0c5b9f6712ca896adcc5b2155.zip |
dev-ruby/pdf-reader: add 2.12.0
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.12.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest index d9519422476f..e706c929686a 100644 --- a/dev-ruby/pdf-reader/Manifest +++ b/dev-ruby/pdf-reader/Manifest @@ -1,2 +1,3 @@ DIST pdf-reader-1.4.1.tar.gz 10236680 BLAKE2B 86fb137c65b47717e758473b94ddbbf52def3ae0edaecd7b5eb3f0d880f664c9ff6097221f43d64247b006ed18220f4f9a469d6b8574592750a1d8a468ce7ddb SHA512 aaa53dafc2d58dc591f708941907ecf14b1ee73362a7bd6d34659103d51effa90888560733747ca1bfe3d217cb6834109e06b024f40a95214880ca42f54054e5 DIST pdf-reader-2.11.0.tar.gz 26136409 BLAKE2B 4ecd75046483c194c4af643e06da23f5efabe5b7e7a81a8c66479eab4f7c231474280ac253f54ca5a4932649c495f146cdb373b8233f43735f7b4219672b0f59 SHA512 a6e7c915170ba31f4889b854cbdcf02e3733b8ba9f0673e057f6b27021c1385c2099e073c82563f2c411174efe646c3f1c656ba7f56ab3fe30f9615acdd597fa +DIST pdf-reader-2.12.0.tar.gz 26530597 BLAKE2B 77cdac5f998b0e3f2a61406937483f1dc81dc982af47ad4b7fc59cb0e3e776fc082d54adc9f241c31aede3533e1efadffb43144f949927f2f5af7dd5e62a0558 SHA512 47ea75b2e773cee27fa2e395c29346b2ba9b0d542c46bf953fe875548f0788f945ef1dd466d7c519130a05e01e52e6aa0c905cfd2c406041ffa8f92c6e15b407 diff --git a/dev-ruby/pdf-reader/pdf-reader-2.12.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.12.0.ebuild new file mode 100644 index 000000000000..a4e973baa941 --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-2.12.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GITHUB_USER=yob + +USE_RUBY="ruby31 ruby32" + +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="" + +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/* +} |