1 |
commit: 81582d54d4aee74e78a9fab6e434404886123685 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 12 05:48:54 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 12 05:48:54 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81582d54 |
7 |
|
8 |
dev-ruby/sshkit: add 1.12.0 |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
dev-ruby/sshkit/Manifest | 1 + |
13 |
dev-ruby/sshkit/sshkit-1.12.0.ebuild | 43 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest |
17 |
index c48a4de2f3..27cd3a0583 100644 |
18 |
--- a/dev-ruby/sshkit/Manifest |
19 |
+++ b/dev-ruby/sshkit/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST sshkit-1.11.4.gem 145408 SHA256 15fb0b96854d3c85b2a81fababfc369505519a144d5c396bf60a41961f5cbbeb SHA512 51b02bffc2232a33678ead346172701229cfefce86ea22bb68bba10d03971e2021e2eb6babb9646159d7b98b01431e69dd37250ea3ec660820ef65b55b8ad634 WHIRLPOOL 57aa83aaf0eac8de448b3e48c208a0e618482320ef384e18448255ebc4988a5d8d7ceea457cbe51bef266247d272690286c7cf38a50573e374019b1e907a8ad9 |
22 |
DIST sshkit-1.11.5.gem 146432 SHA256 546948e1c33c1fb748455d25967d7dc06d592e59d3408ce04ebbe1950e5430b1 SHA512 a99f2be197038145079b6faeb5eb51f98cfebd43b07e47d6b3a771e4fd34f8f7fcbc0183e19b3ada55ecbd25a1498d63a6e7966c47c8af548a850cd3e9d70d9d WHIRLPOOL 9b91099a40f8c532a1ff1b39c151ef70184c4e2527c1b4fe454800b582ea5599fc2238d87962955b0058f2fd0144b26fb64caf4b84a4f52e6d98ebc1de45b70b |
23 |
+DIST sshkit-1.12.0.gem 146944 SHA256 93ae375f5c2e4d8914e6b3d773e19b82c63e5a5682358fb78231e1e3e0308b98 SHA512 62cacc33d80b3727a73cf0756e620dc85e3ec9829762f415089b17759220031be573d12c1fc55a6e585202526b2bdef5e10298d17f5e62f25ab0087697edbaa5 WHIRLPOOL cfb65bebc73bb75ad9b1df3955272640b5412c81dfa2c87a3e75f223c5e64b872cc4ffc5b273ff050024ccaa4ed4ebd5debe22fff2aa45b82f6033606a18b413 |
24 |
|
25 |
diff --git a/dev-ruby/sshkit/sshkit-1.12.0.ebuild b/dev-ruby/sshkit/sshkit-1.12.0.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000000..67859660c1 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/sshkit/sshkit-1.12.0.ebuild |
30 |
@@ -0,0 +1,43 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+USE_RUBY="ruby21 ruby22 ruby23" |
37 |
+ |
38 |
+# There are functional tests that require vagrant boxes to be set up. |
39 |
+RUBY_FAKEGEM_TASK_TEST="test:units" |
40 |
+ |
41 |
+RUBY_FAKEGEM_TASK_DOC="" |
42 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md" |
43 |
+ |
44 |
+inherit ruby-fakegem |
45 |
+ |
46 |
+DESCRIPTION="SSHKit makes it easy to write structured, testable SSH commands in Ruby" |
47 |
+HOMEPAGE="https://github.com/capistrano/sshkit" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64" |
52 |
+IUSE="" |
53 |
+ |
54 |
+ruby_add_rdepend " |
55 |
+ >=dev-ruby/net-ssh-2.8.0:* |
56 |
+ >=dev-ruby/net-scp-1.1.2 |
57 |
+" |
58 |
+ |
59 |
+ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/mocha )" |
60 |
+ |
61 |
+all_ruby_prepare() { |
62 |
+ sed -i -e '/bundler/I s:^:#:' Rakefile test/helper.rb || die |
63 |
+ sed -i -e '/\(turn\|unindent\|reporters\)/I s:^:#:' \ |
64 |
+ -e '1irequire "set"; require "pathname"' test/helper.rb || die |
65 |
+ |
66 |
+ # Fix assumption about parent directory name |
67 |
+ sed -i -e '/assert_match/ s/sshkit/sshkit.*/' test/unit/test_deprecation_logger.rb || die |
68 |
+} |
69 |
+ |
70 |
+each_ruby_test() { |
71 |
+ # Run tests directly to avoid dependencies in the Rakefile |
72 |
+ ${RUBY} -Ilib:test:. -e "Dir['test/unit/**/test*.rb'].each{|f| require f}" || die |
73 |
+} |