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