summaryrefslogtreecommitdiff
path: root/dev-ruby/sshkit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-20 08:19:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-20 08:19:52 +0000
commit0e2545bd942206b16391a6d7a256a5ef3ef497e7 (patch)
tree150f1f075f8a1fcc79cfec68d157b7c4979ce405 /dev-ruby/sshkit
parent8dd17625671faf6a47abf31d4c96a1e20d764ba5 (diff)
gentoo auto-resync : 20:02:2023 - 08:19:52
Diffstat (limited to 'dev-ruby/sshkit')
-rw-r--r--dev-ruby/sshkit/Manifest2
-rw-r--r--dev-ruby/sshkit/sshkit-1.21.4.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest
index c12d248f7bf8..89196696336b 100644
--- a/dev-ruby/sshkit/Manifest
+++ b/dev-ruby/sshkit/Manifest
@@ -1,5 +1,7 @@
DIST sshkit-1.21.2.gem 144896 BLAKE2B ea72b1d0df7252f9c4ffe010721a957b5a86cc43697acf4dfd065a74cca5317deeb15692449d573a2e5590ef3a23ee666196b7b661d6986a2f270d16e2dc8d89 SHA512 37515726b67ae0e2ac9dff42cf7b71a32832ebe144aa192332780e4d9aead1a9e4c3cf7f6f0b994804175a5befd896b32908a82ba2e4f4a1d4e4b0f5bf01c3b3
DIST sshkit-1.21.3.gem 144896 BLAKE2B 14cf7338187238f720cf8bf39664ba827700c1c47469cbd9e2f154a2b7bc91b4d8d14ec15d76db88fba1d23a936b112f0f2a33f2e15978a85816cd04274aea89 SHA512 ede63fd798db6e49fb2a1e9379699bd3e5de27f6b83640506a848f179fd83efed410357c899e97a41b1ab7e3baf47d88f87dcecf2bbcdf7475bea0d35817a9cc
+DIST sshkit-1.21.4.gem 144896 BLAKE2B a4f7cd2342810422c6dd680370c741136bbe1cc59656333bb8a82ac2edd6eb0e3d5482cf671a3ffdcc38cd2f2a97140623728e213e8fd3098b223b9e601e6ea1 SHA512 c3a56b7dd80334b87d512054e98e8a72d93b036a4fb0adc34fad259c5b851de6a3c69549d1472442a3b822d371e80115849aa767dd7fda215fd0f626a7138173
EBUILD sshkit-1.21.2.ebuild 1208 BLAKE2B 4240618ec12cc2cadde00046284f25373fa2e2947665825ad4b43a14ec6e4e2096058bb056c771caed7c49077761cad75e608144b06b0ac33f105ec20b63874e SHA512 1fa0618cb58837051de4649ab3bd893e196389348fcb4e2707b6c7d06efe0aaed79eb56c113386a33071da3f521af8fa584027bfc843b1820b3015def9bab4f6
EBUILD sshkit-1.21.3.ebuild 1209 BLAKE2B 1994aeaa6e9ea4d19f02e7034550589d8b7c60aa4431887a7cb9a6787d61dba4f14c0c2a8e8ead5b75e2b9360a3c46b23de470a3ad274c52b7a87280601067ce SHA512 38d78367acb497a0cf9300b6ea5fb8f38ea6d94b748f4b717662c8d4c4799e4fa98a9869ea12448c3c9a1d12647e127984c43eed090592ddbd0cdf3320b6fde0
+EBUILD sshkit-1.21.4.ebuild 1150 BLAKE2B 3ccecf09bf4125374d83b874f4e08043b3cb6a65bfe5e73d6ddd0ad825ca0ba5f016447665ccd3f5ca672eb68c6f8acc60c36657995066ca4ab9957c13552b4c SHA512 2c2cfdb86661101ab7f3762d324a54af1e71a2eb281c79d89180f93107734670212fcf976d273bf64d64d80aa0785f83d4b25a1e70416758bdfd59631f2f0c7d
MISC metadata.xml 344 BLAKE2B 16679900db0e4f70c9afc7fee058f72fd4df86453f5870666a329d1af1380894b7e592b89e02a4b23a07307765778f302cbd3166e45da66bcabe66b97b450d08 SHA512 afe79f300e02bfbcff4e984092bde60d4a8c6c528a0fd2816456bb5bb12c03aff61512e94e4ecbd6e76a947c2e5e22a433bb32fd052e7e0ac6e78814803f20a1
diff --git a/dev-ruby/sshkit/sshkit-1.21.4.ebuild b/dev-ruby/sshkit/sshkit-1.21.4.ebuild
new file mode 100644
index 000000000000..02943e115a2b
--- /dev/null
+++ b/dev-ruby/sshkit/sshkit-1.21.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+# There are functional tests that require vagrant boxes to be set up.
+RUBY_FAKEGEM_TASK_TEST="test:units"
+
+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 -e '/\(turn\|unindent\|reporters\)/I s:^:#:' \
+ -e '1irequire "pathname"' \
+ -i 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
+}