summaryrefslogtreecommitdiff
path: root/dev-ruby/sshkit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-06 11:18:16 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-06 11:18:16 +0100
commitebce8994fe3cc4ca9fbc96ca837cb4c4e98adcbd (patch)
treef2204ce5f94dc3cb13728ff93649d889944952bb /dev-ruby/sshkit
parentfe1c8b732bd548b699d4c2ef725f67f8b8c8911c (diff)
gentoo resync : 06.05.2018
Diffstat (limited to 'dev-ruby/sshkit')
-rw-r--r--dev-ruby/sshkit/Manifest2
-rw-r--r--dev-ruby/sshkit/sshkit-1.16.0.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest
index 28fd41eeb861..0a661654fc6b 100644
--- a/dev-ruby/sshkit/Manifest
+++ b/dev-ruby/sshkit/Manifest
@@ -1,3 +1,5 @@
DIST sshkit-1.15.1.gem 147968 BLAKE2B 52bde587de6a358174df6d79df8b8179960811d68ee933655f9df82e20e47481e9f32401276e613d97fc7327fce3891ccc70fe514ab8f5b2a30aff1f640ee139 SHA512 acac745b7ff1cfdd054b683219ca68233e1453430ec0bfc1efc96cb009ad257262c276857d9bc02854a6352a98feda845d728ae63e8b046a09210eebe8661665
+DIST sshkit-1.16.0.gem 147968 BLAKE2B 0d8943cca05c04946fe33bfafb690fffbc7ac19805891d0b7fcc40dda67b8522208b1588947bc0080243fc6bd08e84b918135b4b52e7bdc4f58f23d32a697cdb SHA512 87577469428e9332aa17eadb7d5fc8b5264f7d03db92f40f53e1b75431a1b8e4b381611ea86726272d130d6d2f6150c7cd37bfeaf7fe07e5f5eec77300002349
EBUILD sshkit-1.15.1.ebuild 1189 BLAKE2B a38368258cb9069dcb50155b70a1f85f9a70e6426d2a6127fb5c4214320025e97c761a7e20a787a934ecc9b351aa55a1bdf85f6ef670971ef03534caf77f67f2 SHA512 934510900389a939ef2d9a8c94ff4d6c7784a798bc91c48d8d6013bf5574149e48a8214497d59566098500daeedfc48ba0c454eabfaa1c69c8015150ab294de8
+EBUILD sshkit-1.16.0.ebuild 1182 BLAKE2B 4fbe7ff4e930cb56f7cb69a04a44d956769aa1695b4cb4bfd84fe4d8a6142f3430fa5168f43afc155da5a4c1d7a7a5432990c0aa8c3f40056606448472e32f24 SHA512 2421e2189070bf5dc8c0151a57a97332ab764e081fd860cdb03a2759e62db2148bf29cce0f9a73ad0eff7ab5827634ffeb0efd32d37b827fda4f2c7ebdd363c6
MISC metadata.xml 343 BLAKE2B 0f8326d45916642aa200df9ede8640367ffbf73022b847f54f8869884a592489bc26a0da45406cd5409973e43290dafa3cb785460e7da61c20de3a796e025a03 SHA512 852971e242c5500cf6ce4fb0c2bc58560b96fdb8cc0f366fa41cac8e066f408330962cb86a35171c08bdea3493be81fbb10bb501ce207f7016a2a1b7c42d263b
diff --git a/dev-ruby/sshkit/sshkit-1.16.0.ebuild b/dev-ruby/sshkit/sshkit-1.16.0.ebuild
new file mode 100644
index 000000000000..e10e7a0497b3
--- /dev/null
+++ b/dev-ruby/sshkit/sshkit-1.16.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24"
+
+# 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\|reporters\)/I s:^:#:' \
+ -e '1irequire "set"; require "pathname"' 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
+}
+
+each_ruby_test() {
+ # Run tests directly to avoid dependencies in the Rakefile
+ ${RUBY} -Ilib:test:. -e "Dir['test/unit/**/test*.rb'].each{|f| require f}" || die
+}