summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-03-11 07:28:36 +0100
committerHans de Graaff <graaff@gentoo.org>2016-03-11 08:06:30 +0100
commit9432f730cc2d37b0d2260b66f0c2e974e897f5a7 (patch)
tree04759afa19a573f634925c521a3789eeb68472bf /dev-ruby/sshkit
parentdev-ruby/sshkit: cleanup (diff)
downloadgentoo-9432f730cc2d37b0d2260b66f0c2e974e897f5a7.tar.gz
gentoo-9432f730cc2d37b0d2260b66f0c2e974e897f5a7.tar.bz2
gentoo-9432f730cc2d37b0d2260b66f0c2e974e897f5a7.zip
dev-ruby/sshkit: add 1.9.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/sshkit')
-rw-r--r--dev-ruby/sshkit/Manifest1
-rw-r--r--dev-ruby/sshkit/sshkit-1.9.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest
index b05f9753c344..caca8a9a904c 100644
--- a/dev-ruby/sshkit/Manifest
+++ b/dev-ruby/sshkit/Manifest
@@ -1 +1,2 @@
DIST sshkit-1.8.1.gem 139264 SHA256 ff272ca4d54fcdfab2874c70de3d4e26846762e091f83d2bbfaa96ecaa8c0617 SHA512 59fcc3f24d6ca6c7acf8f753959aee993dbbcd452477f3124d5444f7e19a9885efde9d5ea5803ffc366b9f6638a4d93472cc51b343a6d7a39a708528def6e9e9 WHIRLPOOL 48c35a2dbd3b820dccb69b366903e803ff4eb62d250aa5a2c985d510f245529e049933501ed51d0f6e23926d7b3fd5c526c61c932dcc6f1840ec911e82469dbb
+DIST sshkit-1.9.0.gem 142336 SHA256 7e3d840aeb81a282075c8c63276c9788b57914ab22281b8ba428a69d54ad8703 SHA512 f4883e5f369a14253a9e5ed7929c0528030635687b50d64aecf845ccd0194816893c638c8a185c0a1c6c6ab6a01b42d4fd9209f1e87f296556ef1c8bc591e6dd WHIRLPOOL 8571ef46dbd2f8c12fd26c4e7e9219f0fc62b88698602f33eae89a0eca314c874ab173298028e29e03ffd52d193812fb26ccab84c9923d4816de07c98f7ec1c2
diff --git a/dev-ruby/sshkit/sshkit-1.9.0.ebuild b/dev-ruby/sshkit/sshkit-1.9.0.ebuild
new file mode 100644
index 000000000000..da6debd42129
--- /dev/null
+++ b/dev-ruby/sshkit/sshkit-1.9.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+# 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="https://github.com/capistrano/sshkit"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/net-ssh-2.8.0:*
+ >=dev-ruby/net-scp-1.1.2
+"
+
+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\|reporters\)/I s:^:#:' test/helper.rb || die
+
+ # Fix assumption about parent directory name
+ sed -i -e '/assert_match/ s/sshkit/sshkit.*/' test/unit/test_deprecation_logger.rb || die
+}