diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-03-24 07:44:37 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-03-24 09:35:26 +0100 |
commit | a7c9d99b4363ab73eaf74200ca6bbb25d7cb6d10 (patch) | |
tree | 9e5a725d50e56908d220b7cea8654272815609da /dev-ruby/pdf-reader | |
parent | dev-ruby/path_expander: add 1.0.3 (diff) | |
download | gentoo-a7c9d99b4363ab73eaf74200ca6bbb25d7cb6d10.tar.gz gentoo-a7c9d99b4363ab73eaf74200ca6bbb25d7cb6d10.tar.bz2 gentoo-a7c9d99b4363ab73eaf74200ca6bbb25d7cb6d10.zip |
dev-ruby/pdf-reader: add 2.1.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
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.1.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest index ddbf2d72948b..1ea95b46e74a 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.0.0.tar.gz 10382893 BLAKE2B 2b3c6b6b43f6a100e0affb4593361b37c6ed1120d1a94ad408919a16d35c7065fb4f8bed851fefff3996ccb6ab5a49d26f557cbe48052e20584c427bb52c02b9 SHA512 29a0e4ad83f2ef603ac60e4bf2a2fdc71e816e9c5b4bac052bd47322bfb91b2da6fb97901fbf0318ffa5cb3b43161978ffd2c08e72c658ee36802b8f5bbf88bd +DIST pdf-reader-2.1.0.tar.gz 10977233 BLAKE2B 5922b218108bf87c1b670e8392246a3884df66b9cdeec7e982c6bc2bb39e28bcbd64a0778693731309d51cb92ad6651bd5d894d84de3acb60cf3eaeaa2b77727 SHA512 edf41a75f89af70ee75cc1a3aa44adbc7200ea36bc671479cc652b5263dffb23a62ec8eab70eb0e137f1c7154766bb803260dcfa8973578a684b10cf09fe94c8 diff --git a/dev-ruby/pdf-reader/pdf-reader-2.1.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.1.0.ebuild new file mode 100644 index 000000000000..9637025ce77e --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-2.1.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +GITHUB_USER=yob + +USE_RUBY="ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md TODO" + +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 ~ia64 ~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/* || die +} |