diff options
author | Peter Wilmott <p8952@gentoo.org> | 2014-05-16 22:59:45 +0000 |
---|---|---|
committer | Peter Wilmott <p8952@gentoo.org> | 2014-05-16 22:59:45 +0000 |
commit | 0d0c23d17542bce3ff32dd64e9e9ff6aedff3f79 (patch) | |
tree | 528508f853f5d30dc8895ef43748e716527fcd03 /dev-ruby/pdf-reader | |
parent | Version bump. Bug #494206 thanks to Alex Turbov <I.zaufi@gmail.com> and shiny... (diff) | |
download | historical-0d0c23d17542bce3ff32dd64e9e9ff6aedff3f79.tar.gz historical-0d0c23d17542bce3ff32dd64e9e9ff6aedff3f79.tar.bz2 historical-0d0c23d17542bce3ff32dd64e9e9ff6aedff3f79.zip |
Version bump & drop jruby target.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/pdf-reader')
-rw-r--r-- | dev-ruby/pdf-reader/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/pdf-reader/Manifest | 5 | ||||
-rw-r--r-- | dev-ruby/pdf-reader/files/pdf-reader-1.3.3-Rakefile.patch | 33 | ||||
-rw-r--r-- | dev-ruby/pdf-reader/pdf-reader-1.3.3.ebuild | 56 |
4 files changed, 100 insertions, 2 deletions
diff --git a/dev-ruby/pdf-reader/ChangeLog b/dev-ruby/pdf-reader/ChangeLog index cf07aa74bcdb..f5150f3bd4d9 100644 --- a/dev-ruby/pdf-reader/ChangeLog +++ b/dev-ruby/pdf-reader/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/pdf-reader # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pdf-reader/ChangeLog,v 1.34 2014/04/24 20:26:00 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pdf-reader/ChangeLog,v 1.35 2014/05/16 22:59:38 p8952 Exp $ + +*pdf-reader-1.3.3 (16 May 2014) + + 16 May 2014; Peter Wilmott <p8952@gentoo.org> + +files/pdf-reader-1.3.3-Rakefile.patch, +pdf-reader-1.3.3.ebuild: + Version bump & drop jruby target. 24 Apr 2014; Manuel Rüger <mrueg@gentoo.org> pdf-reader-1.1.1-r1.ebuild: Remove ruby18 support. diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest index 13ad1a91d92f..46e891faac44 100644 --- a/dev-ruby/pdf-reader/Manifest +++ b/dev-ruby/pdf-reader/Manifest @@ -1,4 +1,7 @@ +AUX pdf-reader-1.3.3-Rakefile.patch 854 SHA256 eca1d47b2fd084a6516930337f1c0e4c1c87f23a37f02e6e8859b6f6df4f9693 SHA512 eadb24612e973d521e3e84c05f27f5c639fa6387c892a1ad229098bad62b3303e3b371130bde8b333c441f97758281f78281a8bab335cd396ce27d637c5c3b32 WHIRLPOOL 00bd4d2ab91dec3e309e509220aa4f35ee0e3f2e5e314638d540f77470f53eed61fd092169d44ffc7557784f5655e95dc6ce0ddf49b208e8cab8e70f4e642003 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 EBUILD pdf-reader-1.1.1-r1.ebuild 1384 SHA256 45cfa53816daf450dae1f59a12369edd789edd4fe8e22f16acc3d095adf4a157 SHA512 9442e01c37959994ec6a6a0c17dd79ee769e049e7981530f09f447fc42fe7a38374be78aa0efad720803e14907ae0180c11bd6513164d9f65e6ddcb22a10ec5f WHIRLPOOL 304189bdd74f62734798820f1fb95c8c77490e0acd0f5f53070ebad9d36a8c5f62c19b8636aed7c56e06fb0cd02fe74ace6d7fc8fa5dbfc299a4f7785fa1969c -MISC ChangeLog 4724 SHA256 1dd5c147af07d92db6e899c238954aae627967f3bf05947398edbe89e1485648 SHA512 9adbb67105e5b88bb6985a81b06d2b043d4f270f30e1c61efb9a4e6a4a8daa71557737abd042424862c151c37bd26133813c42150b04e74783f4053fde96cad5 WHIRLPOOL a04f88f15f4bb22ce95162dac9173b0b529b1ba0e57c4556bcdc99d842955d8f6be2f2f83e861e4b9c5149f63eb60ce4c3b3393cd3de9997565b126f74267614 +EBUILD pdf-reader-1.3.3.ebuild 1414 SHA256 e597cbbe10caf1a62e0aa7711107e58e1741d9cc448cf0b393b9983a736eb6ea SHA512 ed95670b67f0cb1993789c875dfa515e295ce818ff345f5d2df92bb2cb62dab7f2ef004438302c129879a7d90d27bc0e13dfdb0acfc8dc6783c0f1b669c5a787 WHIRLPOOL 6bc2f94daa4123a83f66b71bdf6daa231c665ccb4090b88b49bc4506701749f7b7dec1aab44f9f5a17ef0bd5d293f5f68f77e4c251c996a4facb61de3aadb9fc +MISC ChangeLog 4910 SHA256 7600fa72b944415ce3376d5acff5b433e77b2e2861a57ddb709643e90cc211e7 SHA512 7deadb37afa33d6076a8e7fc371464e2aee693e3bfedb7313f4996018ad0710603a0d195197d9a60ca5e561f5c978a07f564c9ad9daf6fe16e5b39a822ec6f6d WHIRLPOOL 18ebf0022dbf3a4fa22267bc1c6e26f8bccb6853cd013af83ad1b829daf16590149f5805d561799f80bb94b043105e1ce3f5f895cd18b1c7c2fc9dfcd8c0f472 MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b 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/pdf-reader-1.3.3.ebuild b/dev-ruby/pdf-reader/pdf-reader-1.3.3.ebuild new file mode 100644 index 000000000000..db3034727a5d --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-1.3.3.ebuild @@ -0,0 +1,56 @@ +# 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.3.3.ebuild,v 1.1 2014/05/16 22:59:37 p8952 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="~amd64" +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 +} |