From e7153736b2135e3f0e9b7330e7e949ea778cb65d Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Wed, 7 Dec 2011 10:36:35 +0000 Subject: Version bump. Drop ruby19 for now since the test suite crashes ruby19. (Portage version: 2.1.10.11/cvs/Linux x86_64) --- dev-ruby/yard/ChangeLog | 7 ++++++- dev-ruby/yard/yard-0.7.4.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 dev-ruby/yard/yard-0.7.4.ebuild (limited to 'dev-ruby') 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 +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 +} -- cgit v1.2.3-65-gdbad