summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-12-03 06:51:04 +0100
committerHans de Graaff <graaff@gentoo.org>2015-12-03 06:51:04 +0100
commit842d41daaccfa20ad67b552632777f3b4d1830e1 (patch)
tree13eba92186bea829b571b9a399c4c1accdb24fc8
parentdev-ruby/sshkit: cleanup (diff)
downloadgentoo-842d41daaccfa20ad67b552632777f3b4d1830e1.tar.gz
gentoo-842d41daaccfa20ad67b552632777f3b4d1830e1.tar.bz2
gentoo-842d41daaccfa20ad67b552632777f3b4d1830e1.zip
dev-ruby/sshkit: add 1.8.0
Package-Manager: portage-2.2.20.1
-rw-r--r--dev-ruby/sshkit/Manifest1
-rw-r--r--dev-ruby/sshkit/sshkit-1.8.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest
index c0c65602ae69..ba3495c0cf89 100644
--- a/dev-ruby/sshkit/Manifest
+++ b/dev-ruby/sshkit/Manifest
@@ -1 +1,2 @@
DIST sshkit-1.7.1.gem 136192 SHA256 69d38907dc35e21412fc143443c569c3b6a60247164507edd730557e583c0788 SHA512 55d1ac6d4f76112b9159ae2a6bc425fa54738943ffa28b94300012c8af2d69c7b060dd00adb3789940cd29f52a384edc1cfdf9a26189e0307f2662c1b7a7e1f4 WHIRLPOOL 5b9ec3772e8f79960d5cc5328ccdac943c820e55c053c689baefa5ed99bee5e5a4bae2e18e69272cc7a74897110f94502d13bb18f5de1545a3ca394518a44b55
+DIST sshkit-1.8.0.gem 152576 SHA256 e235dbc8ad3854141242cd1a1ee9ac4062eabe5a7be8a2fc8cb5512cd53bb8cd SHA512 437d4c46f599e786bdffcdd38d15d0f8645b1435bd49c1797dc872887f09f56cfff3f2803b5b60a5be954e2cb2b9aab35ef099e1f3da1264ccc8f78ccf2bd40c WHIRLPOOL 9c07a0ce73cf36c07760839cea693618b761f5bee17588df6a3d6b4710c71d9f209fd73a8343b97f5953c004812b7292e5048abbd327a22b95a9e95b040eeec7
diff --git a/dev-ruby/sshkit/sshkit-1.8.0.ebuild b/dev-ruby/sshkit/sshkit-1.8.0.ebuild
new file mode 100644
index 000000000000..f446ce8ce9b6
--- /dev/null
+++ b/dev-ruby/sshkit/sshkit-1.8.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 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="GPL-3"
+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\)/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
+}