summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-20 23:38:35 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-20 23:38:35 +0000
commitcccc5cc48015fd534856c3630fffeac027ffd22d (patch)
tree8e3636a86c3f2b3a54d9fd9fb7b2c84ccb3b4962 /dev-ruby/yard
parentCleaning out old ebuilds, Version bump bug #218880 , Fixing build with --as-n... (diff)
downloadgentoo-2-cccc5cc48015fd534856c3630fffeac027ffd22d.tar.gz
gentoo-2-cccc5cc48015fd534856c3630fffeac027ffd22d.tar.bz2
gentoo-2-cccc5cc48015fd534856c3630fffeac027ffd22d.zip
Initial import of yard, needed for haml's documentation generation.
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/yard')
-rw-r--r--dev-ruby/yard/ChangeLog10
-rw-r--r--dev-ruby/yard/metadata.xml5
-rw-r--r--dev-ruby/yard/yard-0.5.2.ebuild32
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/yard/ChangeLog b/dev-ruby/yard/ChangeLog
new file mode 100644
index 000000000000..b3356c9df5e5
--- /dev/null
+++ b/dev-ruby/yard/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/yard
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/ChangeLog,v 1.1 2009/12/20 23:38:35 flameeyes Exp $
+
+*yard-0.5.2 (20 Dec 2009)
+
+ 20 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org> +yard-0.5.2.ebuild,
+ +metadata.xml:
+ Initial import of yard, needed for haml's documentation generation.
+
diff --git a/dev-ruby/yard/metadata.xml b/dev-ruby/yard/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/yard/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/yard/yard-0.5.2.ebuild b/dev-ruby/yard/yard-0.5.2.ebuild
new file mode 100644
index 000000000000..de1f9d103dc7
--- /dev/null
+++ b/dev-ruby/yard/yard-0.5.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/yard-0.5.2.ebuild,v 1.1 2009/12/20 23:38:35 flameeyes Exp $
+
+EAPI=2
+
+# jruby → fails tests
+USE_RUBY="ruby18 ruby19"
+
+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"
+IUSE=""
+
+ruby_add_bdepend test dev-ruby/rspec
+
+all_ruby_prepare() {
+ sed -i -e '/yard.gemspec/,/^end/s:^:#:' "${S}"/Rakefile
+}