diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-11-04 08:47:55 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-11-04 08:48:25 +0100 |
commit | 4f904dfdad5481352952522cbd838e7ae64638d7 (patch) | |
tree | 83e3578e184900b1ff0cc2b3dbc2d3a35251b189 /dev-ruby | |
parent | dev-ruby/capybara: add 3.38.0 (diff) | |
download | gentoo-4f904dfdad5481352952522cbd838e7ae64638d7.tar.gz gentoo-4f904dfdad5481352952522cbd838e7ae64638d7.tar.bz2 gentoo-4f904dfdad5481352952522cbd838e7ae64638d7.zip |
dev-ruby/pdf-reader: add 2.11.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/pdf-reader/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/pdf-reader/pdf-reader-2.11.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 1a52c6dbbfb0..46f8d5bf67d5 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.10.0.tar.gz 26135942 BLAKE2B f7ea5611e4fa66cc61990db523d76fe21ad82e6714a8f0cf9aa9c150f3fe2e1cfcdb07cdd0237e8ab8a3ae99fe774956c0ae3b67cfb10d55dd4497388cf5b7ff SHA512 c90db31c39454d8781dcb0259e87ce44bb19f9d4cf146bc3909bf335c36c1f678032efd7a5a2f1225304d99e855166b80a4273e56802d7276f70f546bd3fc563 +DIST pdf-reader-2.11.0.tar.gz 26136409 BLAKE2B 4ecd75046483c194c4af643e06da23f5efabe5b7e7a81a8c66479eab4f7c231474280ac253f54ca5a4932649c495f146cdb373b8233f43735f7b4219672b0f59 SHA512 a6e7c915170ba31f4889b854cbdcf02e3733b8ba9f0673e057f6b27021c1385c2099e073c82563f2c411174efe646c3f1c656ba7f56ab3fe30f9615acdd597fa diff --git a/dev-ruby/pdf-reader/pdf-reader-2.11.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.11.0.ebuild new file mode 100644 index 000000000000..118c2fcdefa1 --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-2.11.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GITHUB_USER=yob + +USE_RUBY="ruby27 ruby30 ruby31" + +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/* +} |