summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-12 22:32:15 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-12 22:32:15 +0000
commitc24b44e4ac8c09316171a97332ccf284d706e917 (patch)
treecae8260e99f3aa69584095511c29f86599eb28bb /dev-ruby/drydock
parentold (diff)
downloadgentoo-2-c24b44e4ac8c09316171a97332ccf284d706e917.tar.gz
gentoo-2-c24b44e4ac8c09316171a97332ccf284d706e917.tar.bz2
gentoo-2-c24b44e4ac8c09316171a97332ccf284d706e917.zip
Initial import of drydock needed by Rudy.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/drydock')
-rw-r--r--dev-ruby/drydock/ChangeLog10
-rw-r--r--dev-ruby/drydock/drydock-0.6.8.ebuild30
-rw-r--r--dev-ruby/drydock/files/drydock-0.6.8-hanna.patch24
-rw-r--r--dev-ruby/drydock/metadata.xml5
4 files changed, 69 insertions, 0 deletions
diff --git a/dev-ruby/drydock/ChangeLog b/dev-ruby/drydock/ChangeLog
new file mode 100644
index 000000000000..4f7dd47a7710
--- /dev/null
+++ b/dev-ruby/drydock/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/drydock
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/drydock/ChangeLog,v 1.1 2010/02/12 22:32:14 flameeyes Exp $
+
+*drydock-0.6.8 (12 Feb 2010)
+
+ 12 Feb 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +drydock-0.6.8.ebuild, +files/drydock-0.6.8-hanna.patch, +metadata.xml:
+ Initial import of drydock needed by Rudy.
+
diff --git a/dev-ruby/drydock/drydock-0.6.8.ebuild b/dev-ruby/drydock/drydock-0.6.8.ebuild
new file mode 100644
index 000000000000..d1c01a618ecb
--- /dev/null
+++ b/dev-ruby/drydock/drydock-0.6.8.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/drydock/drydock-0.6.8.ebuild,v 1.1 2010/02/12 22:32:14 flameeyes Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RESTRICT=test
+
+RUBY_FAKEGEM_TASK_DOC="rdoc"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="DSL for building really powerful command line applications."
+HOMEPAGE="http://solutious.com/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+all_ruby_prepare() {
+ epatch "${FILESDIR}"/${P}-hanna.patch
+}
diff --git a/dev-ruby/drydock/files/drydock-0.6.8-hanna.patch b/dev-ruby/drydock/files/drydock-0.6.8-hanna.patch
new file mode 100644
index 000000000000..384797bb1106
--- /dev/null
+++ b/dev-ruby/drydock/files/drydock-0.6.8-hanna.patch
@@ -0,0 +1,24 @@
+diff --git a/Rakefile b/Rakefile
+index 4f183df..0c81e34 100644
+--- a/Rakefile
++++ b/Rakefile
+@@ -1,7 +1,6 @@
+ require 'rubygems'
+ require 'rake/clean'
+ require 'rake/gempackagetask'
+-require 'hanna/rdoctask'
+ require 'fileutils'
+ include FileUtils
+
+@@ -55,6 +54,11 @@ task 'publish:gem' => [:package] do |t|
+ end
+ end
+
++begin
++ require 'hanna/rdoctask'
++rescue LoadError
++ require 'rake/rdoctask'
++end
+
+ Rake::RDocTask.new do |t|
+ t.rdoc_dir = 'doc'
diff --git a/dev-ruby/drydock/metadata.xml b/dev-ruby/drydock/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/drydock/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>