summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-12-06 07:49:56 +0100
committerHans de Graaff <graaff@gentoo.org>2015-12-06 07:49:56 +0100
commit449d188bb0cde09617c731504aea225da60683d0 (patch)
tree81b3d5e8a05ffca592f8ae191dc4a1e6088a5a2c /dev-ruby/sshkit
parentdev-python/django-two-factor-auth: dropped 1.2.0 (diff)
downloadgentoo-449d188bb0cde09617c731504aea225da60683d0.tar.gz
gentoo-449d188bb0cde09617c731504aea225da60683d0.tar.bz2
gentoo-449d188bb0cde09617c731504aea225da60683d0.zip
dev-ruby/sshkit: add 1.8.1
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/sshkit')
-rw-r--r--dev-ruby/sshkit/Manifest1
-rw-r--r--dev-ruby/sshkit/sshkit-1.8.1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest
index ba3495c0cf8..ca420c9590a 100644
--- a/dev-ruby/sshkit/Manifest
+++ b/dev-ruby/sshkit/Manifest
@@ -1,2 +1,3 @@
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
+DIST sshkit-1.8.1.gem 139264 SHA256 ff272ca4d54fcdfab2874c70de3d4e26846762e091f83d2bbfaa96ecaa8c0617 SHA512 59fcc3f24d6ca6c7acf8f753959aee993dbbcd452477f3124d5444f7e19a9885efde9d5ea5803ffc366b9f6638a4d93472cc51b343a6d7a39a708528def6e9e9 WHIRLPOOL 48c35a2dbd3b820dccb69b366903e803ff4eb62d250aa5a2c985d510f245529e049933501ed51d0f6e23926d7b3fd5c526c61c932dcc6f1840ec911e82469dbb
diff --git a/dev-ruby/sshkit/sshkit-1.8.1.ebuild b/dev-ruby/sshkit/sshkit-1.8.1.ebuild
new file mode 100644
index 00000000000..fd1ec423f9f
--- /dev/null
+++ b/dev-ruby/sshkit/sshkit-1.8.1.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="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\)/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
+}