summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-04-22 06:07:40 +0000
committerHans de Graaff <graaff@gentoo.org>2010-04-22 06:07:40 +0000
commit60786311753899a36821fba4971c43ff6b8b9780 (patch)
treefae7fe536f40a12ffe301a2961b1f76eb68a4fe2 /dev-ruby
parentAdd patch from upstream to fix testsuite w/ gcc-4.5. (diff)
downloadgentoo-2-60786311753899a36821fba4971c43ff6b8b9780.tar.gz
gentoo-2-60786311753899a36821fba4971c43ff6b8b9780.tar.bz2
gentoo-2-60786311753899a36821fba4971c43ff6b8b9780.zip
Version bump: many enhancements and bug fixes.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rdoc/ChangeLog7
-rw-r--r--dev-ruby/rdoc/rdoc-2.5.5.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-ruby/rdoc/ChangeLog b/dev-ruby/rdoc/ChangeLog
index 88867c9d4f30..0a0f1da38e97 100644
--- a/dev-ruby/rdoc/ChangeLog
+++ b/dev-ruby/rdoc/ChangeLog
@@ -1,6 +1,11 @@
# 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.26 2010/02/21 00:32:13 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.27 2010/04/22 06:07:40 graaff Exp $
+
+*rdoc-2.5.5 (22 Apr 2010)
+
+ 22 Apr 2010; Hans de Graaff <graaff@gentoo.org> +rdoc-2.5.5.ebuild:
+ Version bump: many enhancements and bug fixes.
21 Feb 2010; Jonathan Callen <abcd@gentoo.org> rdoc-2.4.3-r1.ebuild:
Transfer prefix keywords (no other changes)
diff --git a/dev-ruby/rdoc/rdoc-2.5.5.ebuild b/dev-ruby/rdoc/rdoc-2.5.5.ebuild
new file mode 100644
index 000000000000..3b95afa5fa08
--- /dev/null
+++ b/dev-ruby/rdoc/rdoc-2.5.5.ebuild
@@ -0,0 +1,45 @@
+# 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-2.5.5.ebuild,v 1.1 2010/04/22 06:07:40 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 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
+
+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 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend test dev-ruby/hoe
+ruby_add_bdepend test virtual/ruby-minitest
+ruby_add_bdepend doc dev-ruby/hoe
+
+all_ruby_install() {
+ all_fakegem_install
+
+ for bin in rdoc ri; do
+ ruby_fakegem_binwrapper $bin /usr/bin/$bin-2
+ done
+}
+
+each_ruby_test() {
+ # `rake test' would fail when rdoc is not yet installed.
+ # Setting $rdoc_rakefile fixes this.
+ ${RUBY} -w -Ilib:ext:bin:test \
+ -e 'require "rubygems"; require "minitest/autorun"; \
+ $rdoc_rakefile = true; Dir.glob("test/test*.rb").each \
+ {|t| require t }' || die "Tests failed for ${RUBY}"
+}