diff options
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.8.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest index fdfb9ad79dbc..5e739779acad 100644 --- a/dev-ruby/pdf-reader/Manifest +++ b/dev-ruby/pdf-reader/Manifest @@ -1,3 +1,4 @@ DIST pdf-reader-1.4.1.tar.gz 10236680 BLAKE2B 86fb137c65b47717e758473b94ddbbf52def3ae0edaecd7b5eb3f0d880f664c9ff6097221f43d64247b006ed18220f4f9a469d6b8574592750a1d8a468ce7ddb SHA512 aaa53dafc2d58dc591f708941907ecf14b1ee73362a7bd6d34659103d51effa90888560733747ca1bfe3d217cb6834109e06b024f40a95214880ca42f54054e5 DIST pdf-reader-2.5.0.tar.gz 12457904 BLAKE2B 6a17a586297ee238b9e0e8ae707cc0518ae3de62ec058ea31303f0787cff7f6f79f4259babfec4323adc6fb08b64b92e3f0f6f01da3a1eda29c6ea02f25aef3b SHA512 684d7ea414c8cdb7bc2aa17b2f3108a18cb6cf967b844ab26a6ac39071508b8a871b661e0e017a7f721cb3c2e6dffcd2cc0d3c31c2b33b3c61be08292c25da4a DIST pdf-reader-2.6.0.tar.gz 12463722 BLAKE2B c7c788871c4c99decf13509a116c266c33489d8a3f3b46988b14307d2534f2f6aa20a578af8019b44690e44f9bff780aebc8c7e7299c51f25a97cfa988070748 SHA512 5234708f9bb2ddd85bd6821023ff7320cf21fe91f70e517f6791ef0d5186909f055da6af3903f77e8a4a1498f3fc130c9797437f4c00a817b8f33ab3dccb37e7 +DIST pdf-reader-2.8.0.tar.gz 12598389 BLAKE2B 8572c4c869d09bd7ecc9967d46b44236002fadb863695675b3d7bf2f7d63560c72240f9f0544f844d63f33f65f6097d28eb315f332eeca58294a5956cf24c09b SHA512 8f1a7990d982141e6dae682ad5dd6f415a363a598f76523ac9be2fda9c460479e571140c0f407f01f950dd94d73bc006a32a827fbab08a42d1c6656024d241c9 diff --git a/dev-ruby/pdf-reader/pdf-reader-2.8.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.8.0.ebuild new file mode 100644 index 000000000000..06b2336fdc14 --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-2.8.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GITHUB_USER=yob + +USE_RUBY="ruby26 ruby27 ruby30" + +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="" + +RDEPEND+=" !!<dev-ruby/pdf-reader-1.4.1-r2" + +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/* +} |