summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-05-12 09:45:43 +0000
committerHans de Graaff <graaff@gentoo.org>2012-05-12 09:45:43 +0000
commit227e3a4a204a668b5b5686157af8603df4281f16 (patch)
tree85ad026629cbd6ef57077b62092754b67682bcb3 /dev-ruby/yard
parentSort deps. (diff)
downloadgentoo-2-227e3a4a204a668b5b5686157af8603df4281f16.tar.gz
gentoo-2-227e3a4a204a668b5b5686157af8603df4281f16.tar.bz2
gentoo-2-227e3a4a204a668b5b5686157af8603df4281f16.zip
Version bump.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/yard')
-rw-r--r--dev-ruby/yard/ChangeLog7
-rw-r--r--dev-ruby/yard/yard-0.8.1.ebuild39
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-ruby/yard/ChangeLog b/dev-ruby/yard/ChangeLog
index a6d2dabbc6ac..a7e9bb158490 100644
--- a/dev-ruby/yard/ChangeLog
+++ b/dev-ruby/yard/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/yard
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/ChangeLog,v 1.28 2012/04/22 07:44:41 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/ChangeLog,v 1.29 2012/05/12 09:45:43 graaff Exp $
+
+*yard-0.8.1 (12 May 2012)
+
+ 12 May 2012; Hans de Graaff <graaff@gentoo.org> +yard-0.8.1.ebuild:
+ Version bump.
*yard-0.7.5 (22 Apr 2012)
diff --git a/dev-ruby/yard/yard-0.8.1.ebuild b/dev-ruby/yard/yard-0.8.1.ebuild
new file mode 100644
index 000000000000..acd69628ccba
--- /dev/null
+++ b/dev-ruby/yard/yard-0.8.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/yard-0.8.1.ebuild,v 1.1 2012/05/12 09:45:43 graaff Exp $
+
+EAPI=4
+
+USE_RUBY="ruby18 ruby19 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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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 )"
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *jruby)
+ # This spec requires rdiscount which is a C extension.
+ sed -i -e '150s/should/should_not/' spec/templates/helpers/html_helper_spec.rb || die
+ ;;
+ *)
+ ;;
+ esac
+}