summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/rdoc')
-rw-r--r--dev-ruby/rdoc/ChangeLog8
-rw-r--r--dev-ruby/rdoc/Manifest10
-rw-r--r--dev-ruby/rdoc/rdoc-3.0.1.ebuild72
3 files changed, 85 insertions, 5 deletions
diff --git a/dev-ruby/rdoc/ChangeLog b/dev-ruby/rdoc/ChangeLog
index b0431f8c7101..680329a08d55 100644
--- a/dev-ruby/rdoc/ChangeLog
+++ b/dev-ruby/rdoc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/rdoc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.38 2010/12/27 17:53:47 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.39 2010/12/27 18:35:22 graaff Exp $
+
+*rdoc-3.0.1 (27 Dec 2010)
+
+ 27 Dec 2010; Hans de Graaff <graaff@gentoo.org> +rdoc-3.0.1.ebuild:
+ Version bump: major enhancements and bug fixing. Ruby 1.8.6 is no longer
+ supported.
27 Dec 2010; Hans de Graaff <graaff@gentoo.org> -rdoc-2.5.6.ebuild,
-rdoc-2.5.9.ebuild:
diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest
index 7b0139e74c9a..246184cc8288 100644
--- a/dev-ruby/rdoc/Manifest
+++ b/dev-ruby/rdoc/Manifest
@@ -3,13 +3,15 @@ Hash: SHA256
AUX rdoc-2.5.6-ruby19.patch 959 RMD160 951cd3c166dab07f0afcdb46112001b58fbdd05a SHA1 4b94a9a235f909651ce8a9acbbb418fe3754d1ff SHA256 2c81c17d99f896182805b737e64c353045b4505acd693a19cd1f0adcff7e040d
DIST rdoc-2.5.11.tgz 180539 RMD160 beeddf048e3ef489fe1e8b0f436432f4dc195256 SHA1 5dece89968bbc8647cb02e0eed7287ec0cf28757 SHA256 7c11da5950d07d35875aa5de056f6b93baec4240779d8a5287eaa6073e495cda
+DIST rdoc-3.0.1.tgz 210059 RMD160 ce912abb020f693f09c1c95950e372b7a56997bb SHA1 ec3db0024c9b288dc82100eb297df3c4ec557d33 SHA256 d7609e5a487248deceaefcb61175024739f062878788bb90b85adde8ba04a7c0
EBUILD rdoc-2.5.11.ebuild 1432 RMD160 787530384ef81d70d162c5407b3f7da7fccd5cf8 SHA1 01cbd22d4b001d1c2553075965b2d2dfd982b392 SHA256 5d8f5a64b39737645cc76b25d8df41af3c15db7c6778083386b939c961f50f89
-MISC ChangeLog 3475 RMD160 5dc72898bb607a12daf474f4320c1d2d3c75431b SHA1 216497dacea1ddee00d21c8590eb70974f93a7eb SHA256 e00ec4985c2c41e98dc84affa5412de7dc9be6c7212d59c17d8d70e6ef4b9bc1
+EBUILD rdoc-3.0.1.ebuild 1790 RMD160 d25359befb5fff1cac1727e30527fefabc0bebb2 SHA1 44b2a3d9df9417af925fc3920c678d8de2f5c6fb SHA256 82fd767abf0693bea5a1c6b03cf2e0f1bb363402071ba3e6cd45c49c4713ed6e
+MISC ChangeLog 3661 RMD160 030cada1aeb8162b0cfd6ae621dc476ab8135e22 SHA1 f98406e5c37990b250e4c690f15479a5c9ac688f SHA256 564ba30c39895558d50efad8c099cab44c24ee20aef814885f73da3f8a298142
MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iF4EAREIAAYFAk0Y0rYACgkQrnu0mw69JkolKgD+K4CWVaAIBCXVeMjC3o7xL/yW
-ivZhyBTjNQ/Zt0IdCFsA/Ar3gjnleFZ0tDVK6HNN/kU9N6cUX1S6ftc5w7NOrBnx
-=KvwS
+iF4EAREIAAYFAk0Y3HAACgkQrnu0mw69JkrzqQD/awbagOS1EALRm1ES94QmziV9
+J8lIxzVlZoKPWEL6b6MBAIi09N5UEPJiu1YuPjcLS3OllpVfw1b8jobxS0gsy3ct
+=jkuq
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rdoc/rdoc-3.0.1.ebuild b/dev-ruby/rdoc/rdoc-3.0.1.ebuild
new file mode 100644
index 000000000000..95d85612ca86
--- /dev/null
+++ b/dev-ruby/rdoc/rdoc-3.0.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/rdoc-3.0.1.ebuild,v 1.1 2010/12/27 18:35:22 graaff Exp $
+
+EAPI=3
+USE_RUBY="ruby18 ree18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt RI.txt"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="An extended version of the RDoc library from Ruby 1.8"
+HOMEPAGE="http://rubyforge.org/projects/rdoc/"
+SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "
+ doc? ( >=dev-ruby/hoe-2.5.0 )
+ test? (
+ >=dev-ruby/hoe-2.5.0
+ dev-ruby/minitest
+ )"
+
+# This ebuild replaces rdoc in ruby-1.9.2 and later.
+# ruby 1.8.6 is no longer supported.
+RDEPEND="${RDEPEND}
+ ruby_targets_ruby19? (
+ >=dev-lang/ruby-1.9.2
+ )
+ ruby_targets_ruby18? (
+ >=dev-lang/ruby-1.8.7
+ )"
+
+all_ruby_prepare() {
+ # Other packages also have use for a nonexistent directory, bug 321059
+ sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/test_rdoc*.rb || die
+}
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *jruby)
+ # Remove tests that will fail due to a bug in JRuby affecting
+ # Dir.mktmpdir: http://jira.codehaus.org/browse/JRUBY-4082
+ rm test/test_rdoc_options.rb test/test_rdoc_rdoc.rb || die
+ ;;
+ *)
+ ;;
+ esac
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ for bin in rdoc ri; do
+ ruby_fakegem_binwrapper $bin /usr/bin/$bin-2
+
+ if use ruby_targets_ruby19; then
+ ruby_fakegem_binwrapper $bin /usr/bin/${bin}19
+ sed -i -e "1s/env ruby/ruby19/" \
+ "${ED}/usr/bin/${bin}19" || die
+ fi
+ done
+}