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