From b4b4b117065ccc212d0296467d5f8d82ddcc21f4 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sat, 25 Feb 2017 08:13:50 +0100 Subject: [PATCH] dev-ruby/pdf-reader: add 2.0.0 Package-Manager: portage-2.3.3 --- dev-ruby/pdf-reader/Manifest | 1 + dev-ruby/pdf-reader/pdf-reader-2.0.0.ebuild | 46 +++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 dev-ruby/pdf-reader/pdf-reader-2.0.0.ebuild diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest index 12bb8d397698..c5470ccca8d3 100644 --- a/dev-ruby/pdf-reader/Manifest +++ b/dev-ruby/pdf-reader/Manifest @@ -1 +1,2 @@ DIST pdf-reader-1.4.1.tar.gz 10236680 SHA256 e1898c975e18b0a59abad36e0a4f2d28309cf5983e00989e4c843362edf047ae SHA512 aaa53dafc2d58dc591f708941907ecf14b1ee73362a7bd6d34659103d51effa90888560733747ca1bfe3d217cb6834109e06b024f40a95214880ca42f54054e5 WHIRLPOOL 025c42faf57470626492284fc21be8f83b8902a903a04edb5d3fb9064e7a8ed4a328e8f5c6be165a1dd50c3f215eeb1972c1bf91295d78a0c13f78d4ced863f2 +DIST pdf-reader-2.0.0.tar.gz 10382893 SHA256 29640764ae52830e647ca26c478f4f081112c601b9b9db86de48a3e6de85523f SHA512 29a0e4ad83f2ef603ac60e4bf2a2fdc71e816e9c5b4bac052bd47322bfb91b2da6fb97901fbf0318ffa5cb3b43161978ffd2c08e72c658ee36802b8f5bbf88bd WHIRLPOOL 542ba19e9957c72ff804dcc8cf3b360ce2c464d5a684409a2d14fe5161f384e80dc8e0606c8c7b7b73538bd390417ee913db1e35d3bb1ed10a0f9fbd0cda384a diff --git a/dev-ruby/pdf-reader/pdf-reader-2.0.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.0.0.ebuild new file mode 100644 index 000000000000..ad4fc4c73cc2 --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-2.0.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +GITHUB_USER=yob + +USE_RUBY="ruby21 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 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/afm-0.2.1 + =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 +} -- 2.26.2