diff options
author | 2014-05-15 02:00:50 +0200 | |
---|---|---|
committer | 2014-05-15 02:00:50 +0200 | |
commit | 3ccb54fdd824c7e2851a0ffd3657fecb225a27cc (patch) | |
tree | 3c21dd11e3d9f90936da0882026941204cd2a9fc | |
parent | [dev-java/jaffl] Drop stable keywords in overlay. (diff) | |
download | ruby-overlay-3ccb54fdd824c7e2851a0ffd3657fecb225a27cc.tar.gz ruby-overlay-3ccb54fdd824c7e2851a0ffd3657fecb225a27cc.tar.bz2 ruby-overlay-3ccb54fdd824c7e2851a0ffd3657fecb225a27cc.zip |
[dev-ruby/pdf-reader] Version bump. Ruby21 still missing. Move it back to tree with hashery.
Package-Manager: portage-2.2.10
RepoMan-Options: --force
-rw-r--r-- | dev-ruby/pdf-reader/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/pdf-reader/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/pdf-reader/pdf-reader-1.3.3.ebuild | 55 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest new file mode 100644 index 0000000..1db5336 --- /dev/null +++ b/dev-ruby/pdf-reader/Manifest @@ -0,0 +1 @@ +DIST pdf-reader-git-1.3.3.tgz 9987686 SHA256 1e5e468fe99911ec4472031e66ebe6a4bb1fc05a2156b646ce9dff43c0253815 SHA512 5394767df24de30133e3b33a00421588f85fecd4006d2bbe622e905ef0d92947a2d11f6ea7bb8f61b43aebba9204b2c2512f97dc120d19fc87cd0a42011a3750 WHIRLPOOL bd6f15fe6548728d884890cddfddb4abf0e35504528036703f582e3c405e7c4efcb71a7b4e846b67e7767bcaf34a9219ee9d1a7f45f84bf2cabd860eebf2934e diff --git a/dev-ruby/pdf-reader/metadata.xml b/dev-ruby/pdf-reader/metadata.xml new file mode 100644 index 0000000..8521361 --- /dev/null +++ b/dev-ruby/pdf-reader/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> diff --git a/dev-ruby/pdf-reader/pdf-reader-1.3.3.ebuild b/dev-ruby/pdf-reader/pdf-reader-1.3.3.ebuild new file mode 100644 index 0000000..715d28b --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-1.3.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pdf-reader/pdf-reader-1.1.1-r1.ebuild,v 1.1 2014/01/13 06:01:34 mrueg Exp $ + +EAPI=5 + +GITHUB_USER=yob + +USE_RUBY="ruby19 ruby20" + +RUBY_FAKEGEM_TASK_TEST="spec" + +RUBY_FAKEGEM_TASK_DOC="doc" +RUBY_FAKEGEM_DOCDIR="doc" +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="http://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="http://github.com/${GITHUB_USER}/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz" +RUBY_S="${GITHUB_USER}-${PN}-*" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +ruby_add_rdepend "dev-ruby/afm + dev-ruby/ascii85 + dev-ruby/ttfunk + dev-ruby/ruby-rc4" + +# rspec is loaded even during doc generation, so keep it around :( +ruby_add_bdepend ">=dev-ruby/rspec-2.1:2" + +all_ruby_prepare() { + # Remove bundler support + sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die + epatch "${FILESDIR}"/${P}-Rakefile.patch + rm Gemfile || die + + # Roodi is not yet available in CVS. + sed -i -e '/roodi/d' Rakefile || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* || die +} |