summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-12-07 10:36:35 +0000
committerHans de Graaff <graaff@gentoo.org>2011-12-07 10:36:35 +0000
commite7153736b2135e3f0e9b7330e7e949ea778cb65d (patch)
tree8b17bb6fd685379a1a7a2ef7483372c9f0bf5c13 /dev-ruby
parentx86 stable wrt bug #388279 (diff)
downloadgentoo-2-e7153736b2135e3f0e9b7330e7e949ea778cb65d.tar.gz
gentoo-2-e7153736b2135e3f0e9b7330e7e949ea778cb65d.tar.bz2
gentoo-2-e7153736b2135e3f0e9b7330e7e949ea778cb65d.zip
Version bump. Drop ruby19 for now since the test suite crashes ruby19.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/yard/ChangeLog7
-rw-r--r--dev-ruby/yard/yard-0.7.4.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-ruby/yard/ChangeLog b/dev-ruby/yard/ChangeLog
index d73d926a2597..5ae140cee7a7 100644
--- a/dev-ruby/yard/ChangeLog
+++ b/dev-ruby/yard/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/yard
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/ChangeLog,v 1.20 2011/10/18 05:46:20 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/ChangeLog,v 1.21 2011/12/07 10:36:35 graaff Exp $
+
+*yard-0.7.4 (07 Dec 2011)
+
+ 07 Dec 2011; Hans de Graaff <graaff@gentoo.org> +yard-0.7.4.ebuild:
+ Version bump. Drop ruby19 for now since the test suite crashes ruby19.
*yard-0.7.3 (18 Oct 2011)
diff --git a/dev-ruby/yard/yard-0.7.4.ebuild b/dev-ruby/yard/yard-0.7.4.ebuild
new file mode 100644
index 000000000000..6ab6f72d38f1
--- /dev/null
+++ b/dev-ruby/yard/yard-0.7.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/yard-0.7.4.ebuild,v 1.1 2011/12/07 10:36:35 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ree18 jruby"
+
+RUBY_FAKEGEM_TASK_TEST="specs"
+RUBY_FAKEGEM_TASK_DOC="yard"
+
+RUBY_FAKEGEM_EXTRADOC="README.md ChangeLog"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_EXTRAINSTALL="templates"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Documentation generation tool for the Ruby programming language"
+HOMEPAGE="http://yardoc.org/"
+
+LICENSE="as-is" # truly
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_bdepend "doc? ( || ( dev-ruby/bluecloth dev-ruby/maruku dev-ruby/rdiscount dev-ruby/kramdown ) )"
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
+
+all_ruby_prepare() {
+ # jruby crashes on this version of metadata, so install our stub.
+ rm ../metadata || die
+}
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *jruby)
+ # This spec requires rdiscount which is a C extension.
+ sed -i -e '145s/should/should_not/' spec/templates/helpers/html_helper_spec.rb || die
+ ;;
+ *)
+ ;;
+ esac
+}