diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-02-23 08:27:42 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-02-24 07:45:24 +0100 |
commit | e1676533627c46220672e334a0ff5f503a90923e (patch) | |
tree | 500bf6dd870532f390fb6a4acfbbac7b68a798af /dev-ruby/pdf-reader | |
parent | net-analyzer/cacti-spine: Version bump. (diff) | |
download | gentoo-e1676533627c46220672e334a0ff5f503a90923e.tar.gz gentoo-e1676533627c46220672e334a0ff5f503a90923e.tar.bz2 gentoo-e1676533627c46220672e334a0ff5f503a90923e.zip |
dev-ruby/pdf-reader: add 1.4.0
Package-Manager: portage-2.2.26
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-1.4.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 1db5336429da..4facb50eb9e0 100644 --- a/dev-ruby/pdf-reader/Manifest +++ b/dev-ruby/pdf-reader/Manifest @@ -1 +1,2 @@ +DIST pdf-reader-1.4.0.tar.gz 10237090 SHA256 c23d5eec976c5d824d16f348ef49b87b0918cc2a2327aa7936605b92b8c181e9 SHA512 e9b123058c5bf31c7ac264adf17da25cb643408cd0ac4f8da0b7949576e11b1ac4141df649c7ce45f3accf2ddfb6ab3edd35ce336e4588bb090bfbbfe1f42965 WHIRLPOOL 8d50fde908037c228cc40028cb10e040b4571446ebba07140e6f0b1515d6ff0d282c37c08071a86a256e8a3722a86c069d2e1db6bd35fb2c577c68fbfc2d41a9 DIST pdf-reader-git-1.3.3.tgz 9987686 SHA256 1e5e468fe99911ec4472031e66ebe6a4bb1fc05a2156b646ce9dff43c0253815 SHA512 5394767df24de30133e3b33a00421588f85fecd4006d2bbe622e905ef0d92947a2d11f6ea7bb8f61b43aebba9204b2c2512f97dc120d19fc87cd0a42011a3750 WHIRLPOOL bd6f15fe6548728d884890cddfddb4abf0e35504528036703f582e3c405e7c4efcb71a7b4e846b67e7767bcaf34a9219ee9d1a7f45f84bf2cabd860eebf2934e diff --git a/dev-ruby/pdf-reader/pdf-reader-1.4.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-1.4.0.ebuild new file mode 100644 index 000000000000..e595ecad894d --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-1.4.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +GITHUB_USER=yob + +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc 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="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~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 +} |