summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-ruby/pdf-reader
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-ruby/pdf-reader')
-rw-r--r--dev-ruby/pdf-reader/Manifest2
-rw-r--r--dev-ruby/pdf-reader/files/pdf-reader-1.3.3-Rakefile.patch33
-rw-r--r--dev-ruby/pdf-reader/metadata.xml8
-rw-r--r--dev-ruby/pdf-reader/pdf-reader-1.1.1-r1.ebuild51
-rw-r--r--dev-ruby/pdf-reader/pdf-reader-1.3.3.ebuild56
5 files changed, 150 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest
new file mode 100644
index 000000000000..e82a5c7da7af
--- /dev/null
+++ b/dev-ruby/pdf-reader/Manifest
@@ -0,0 +1,2 @@
+DIST pdf-reader-git-1.1.1.tgz 8465584 SHA256 f74f77ec8438cbaa4853a646cd17b9afb4825b8e4a7db7f423540d5be505df19 SHA512 9261f3598f2f4e1c51a48f38a7662b4f564a825b8f9714d13ab8b2faa28df9859c0aa87c76de4cd163955f18cf7dc4d4c8de7e78b17921e908efa2c1d4b31d5d WHIRLPOOL 7319ee6b73684df9140a74cbbb0ddaca0788e00a48ddbc493b55fc68fba0ffd56d1a77dd315ace9ea5eb7d6ddb29cc9e9d0880291760d3b0dcd91a0f5a721afc
+DIST pdf-reader-git-1.3.3.tgz 9987686 SHA256 1e5e468fe99911ec4472031e66ebe6a4bb1fc05a2156b646ce9dff43c0253815 SHA512 5394767df24de30133e3b33a00421588f85fecd4006d2bbe622e905ef0d92947a2d11f6ea7bb8f61b43aebba9204b2c2512f97dc120d19fc87cd0a42011a3750 WHIRLPOOL bd6f15fe6548728d884890cddfddb4abf0e35504528036703f582e3c405e7c4efcb71a7b4e846b67e7767bcaf34a9219ee9d1a7f45f84bf2cabd860eebf2934e
diff --git a/dev-ruby/pdf-reader/files/pdf-reader-1.3.3-Rakefile.patch b/dev-ruby/pdf-reader/files/pdf-reader-1.3.3-Rakefile.patch
new file mode 100644
index 000000000000..6a602da3480c
--- /dev/null
+++ b/dev-ruby/pdf-reader/files/pdf-reader-1.3.3-Rakefile.patch
@@ -0,0 +1,33 @@
+--- Rakefile.old 2014-05-07 00:17:16.985166191 +0200
++++ Rakefile 2014-05-07 00:17:46.592166984 +0200
+@@ -5,28 +5,8 @@
+ require 'rdoc/task'
+ require 'rspec/core/rake_task'
+
+-# Cane requires ripper, which appears to only work on MRI 1.9
+-if RUBY_VERSION >= "1.9" && RUBY_ENGINE == "ruby"
+-
+- desc "Default Task"
+- task :default => [ :quality, :spec ]
+-
+- require 'cane/rake_task'
+- require 'morecane'
+-
+- desc "Run cane to check quality metrics"
+- Cane::RakeTask.new(:quality) do |cane|
+- cane.abc_max = 20
+- cane.style_measure = 100
+- cane.max_violations = 93
+-
+- cane.use Morecane::EncodingCheck, :encoding_glob => "{app,lib,spec}/**/*.rb"
+- end
+-
+-else
+- desc "Default Task"
+- task :default => [ :spec ]
+-end
++desc "Default Task"
++task :default => [ :spec ]
+
+ desc "Run all rspec files"
+ RSpec::Core::RakeTask.new("spec") do |t|
diff --git a/dev-ruby/pdf-reader/metadata.xml b/dev-ruby/pdf-reader/metadata.xml
new file mode 100644
index 000000000000..58620d4fc0c7
--- /dev/null
+++ b/dev-ruby/pdf-reader/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ruby</herd>
+ <upstream>
+ <remote-id type="github">yob/pdf-reader</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/pdf-reader/pdf-reader-1.1.1-r1.ebuild b/dev-ruby/pdf-reader/pdf-reader-1.1.1-r1.ebuild
new file mode 100644
index 000000000000..d02617447664
--- /dev/null
+++ b/dev-ruby/pdf-reader/pdf-reader-1.1.1-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/ascii85 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
+ 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
+}
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 000000000000..4593527ee13b
--- /dev/null
+++ b/dev-ruby/pdf-reader/pdf-reader-1.3.3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+GITHUB_USER=yob
+
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+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="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="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 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/afm
+ dev-ruby/ascii85
+ dev-ruby/hashery
+ 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
+}