summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-06-01 07:13:58 +0000
committerHans de Graaff <graaff@gentoo.org>2014-06-01 07:13:58 +0000
commit4644bd3e1346f5ac9472c4a634801a2ff18ed0ad (patch)
tree9e350ac056b94943144361ea7ca40d58e2ca7c48 /dev-ruby/sshkit
parentbump; drop py2.6 py3.2 add py3.4 pypy support, add IUSE doc, doc build, upgra... (diff)
downloadgentoo-2-4644bd3e1346f5ac9472c4a634801a2ff18ed0ad.tar.gz
gentoo-2-4644bd3e1346f5ac9472c4a634801a2ff18ed0ad.tar.bz2
gentoo-2-4644bd3e1346f5ac9472c4a634801a2ff18ed0ad.zip
Initial import. New dependency for dev-ruby/capistrano.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/sshkit')
-rw-r--r--dev-ruby/sshkit/ChangeLog10
-rw-r--r--dev-ruby/sshkit/metadata.xml5
-rw-r--r--dev-ruby/sshkit/sshkit-1.5.1.ebuild35
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/sshkit/ChangeLog b/dev-ruby/sshkit/ChangeLog
new file mode 100644
index 000000000000..bf4f887ed76d
--- /dev/null
+++ b/dev-ruby/sshkit/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/sshkit
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sshkit/ChangeLog,v 1.1 2014/06/01 07:13:58 graaff Exp $
+
+*sshkit-1.5.1 (01 Jun 2014)
+
+ 01 Jun 2014; Hans de Graaff <graaff@gentoo.org> +sshkit-1.5.1.ebuild,
+ +metadata.xml:
+ Initial import. New dependency for dev-ruby/capistrano.
+
diff --git a/dev-ruby/sshkit/metadata.xml b/dev-ruby/sshkit/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/sshkit/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/sshkit/sshkit-1.5.1.ebuild b/dev-ruby/sshkit/sshkit-1.5.1.ebuild
new file mode 100644
index 000000000000..4bd5d11ec9a8
--- /dev/null
+++ b/dev-ruby/sshkit/sshkit-1.5.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sshkit/sshkit-1.5.1.ebuild,v 1.1 2014/06/01 07:13:58 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+# There are functional tests that require vagrant boxes to be set up.
+RUBY_FAKEGEM_TASK_TEST="test:units"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="SSHKit makes it easy to write structured, testable SSH commands in Ruby"
+HOMEPAGE="http://github.com/capistrano/sshkit"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/net-ssh-2.8.0
+ >=dev-ruby/net-scp-1.1.2
+ dev-ruby/colorize
+"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/mocha )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/I s:^:#:' Rakefile test/helper.rb || die
+ sed -i -e '/\(turn\|unindent\)/I s:^:#:' test/helper.rb || die
+}