summaryrefslogtreecommitdiff
path: root/dev-ruby/sshkit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-22 04:04:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-22 04:04:46 +0100
commita15e8dc7444560123d7d4be1bccb19afd5b611d0 (patch)
tree6e26ee0323c09494a66d0f78c4b81e305bb0d096 /dev-ruby/sshkit
parent3dc4de6331223493015f198dc61854af604da86c (diff)
gentoo auto-resync : 22:10:2024 - 04:04:46
Diffstat (limited to 'dev-ruby/sshkit')
-rw-r--r--dev-ruby/sshkit/Manifest2
-rw-r--r--dev-ruby/sshkit/sshkit-1.23.2.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest
index 388bb7370903..211f5b50d11b 100644
--- a/dev-ruby/sshkit/Manifest
+++ b/dev-ruby/sshkit/Manifest
@@ -1,7 +1,9 @@
DIST sshkit-1.22.2.gem 146944 BLAKE2B 1059014a0537faa1ee0b19427b6654b8a8fa80a437c311f66d671dce029898f71e4f8aca7e68bb29144a3bd547ae747ab7862150ba53b9bdf29c273ee24ac79e SHA512 a01106d301e4bb8f372af4226d8b244a4da1aa1292c4f0eb0525543d49b05290af92efc3e0736b317b4f1a72d83802d7769a6322147128c03d7d8123cd25ff45
DIST sshkit-1.23.0.gem 146944 BLAKE2B a2015b0f2b5a5adc905bf89a0e1242abb2856646383a259ab85761014e5b908329f651f51a14bfa1c0356c8d861edf1239a0cf1e8fdb64819cd5a15f218552b0 SHA512 595900c195cfa247c89cbd0486c53aea3991db5ba7636cc778687ec31be58ee3120ef54b0682367625d3546199253a7d4ffca07bc7691f5dde3d4ae6a6e7f19c
DIST sshkit-1.23.1.gem 146944 BLAKE2B 497b73da2ec4007e7264336536f7bea62c8ddf7e64d9779f0d2aa6d0b5471cdb155a130665931a3004131a6127c022b88d08613a321aedde124e057b1bb59bc7 SHA512 fb3d6e1de1fa68865421f299d7184d05918ef6d5c183fe21102ca277ffb70b8ecbf383f9b4489a39697c9adc5998c0b4c05483d9b08774c4b4201bd505b1488d
+DIST sshkit-1.23.2.gem 146944 BLAKE2B cc8c1255cab98ee9552c3e3d3f3d0933f2f2f1afb289983cef147d6ec25a1a8b6bd4bfc19d64f7faa9880cce6c2a066a81a84d8670eaf7f6f47856c4a53c9eeb SHA512 6bb6acef181e460e392c25632bcc0f71fb3e12e3b582817293ad084162e8ea06c265498770ab33799061512799d31883ccda913b1b24427f2e4e758067ddc303
EBUILD sshkit-1.22.2.ebuild 1220 BLAKE2B f68c991e1360b4fa9e4588f7374c58a8510a4b63d8c89fa12d5b4c68922e027b868a6241faefdd616bb5002b428667c0d1f32d836c4839f3cc0876f90eb696d4 SHA512 4e84b72b5b231a930b9029aeddf0594f5ac3268c8584dc8422dad8ef48eaf63728e42afba9b7aa1d8801ecdb980d0e09ddcfd7405cf765398aa9142d76c9c36a
EBUILD sshkit-1.23.0.ebuild 1271 BLAKE2B b01d23b1b847cdcf6b7d638fc1054828bd6d2ae9e96ff40b20086dc2a9e1abcb0d7fe93b6d34a7c7ba696dca92194ae77bff730cc297a452396425c3de0950e8 SHA512 05d80ec44070dedbef1ce4b2214f18d6150708554d980d63fec4d4cb892922faa343d32b784517d72b271dea7471b6552a88d50edb44b1b9ef1ea0a4f6b90d65
EBUILD sshkit-1.23.1.ebuild 1290 BLAKE2B 21c331267600600a692daf0f7e60cfad68c8fc46db7987ba2820b985f010a0758b590bbfe45b38d04f9677d0daa18afb7a6f7748d483958b6b505378eaa53c77 SHA512 3d0f78ee57ddcf04909f45c29e4ab622523fc8d8e761df9ad5247b90b08d594b733495ab0646a743010bb7e281f00470b121135af903b2453b641acbda32c655
+EBUILD sshkit-1.23.2.ebuild 1290 BLAKE2B 21c331267600600a692daf0f7e60cfad68c8fc46db7987ba2820b985f010a0758b590bbfe45b38d04f9677d0daa18afb7a6f7748d483958b6b505378eaa53c77 SHA512 3d0f78ee57ddcf04909f45c29e4ab622523fc8d8e761df9ad5247b90b08d594b733495ab0646a743010bb7e281f00470b121135af903b2453b641acbda32c655
MISC metadata.xml 344 BLAKE2B 16679900db0e4f70c9afc7fee058f72fd4df86453f5870666a329d1af1380894b7e592b89e02a4b23a07307765778f302cbd3166e45da66bcabe66b97b450d08 SHA512 afe79f300e02bfbcff4e984092bde60d4a8c6c528a0fd2816456bb5bb12c03aff61512e94e4ecbd6e76a947c2e5e22a433bb32fd052e7e0ac6e78814803f20a1
diff --git a/dev-ruby/sshkit/sshkit-1.23.2.ebuild b/dev-ruby/sshkit/sshkit-1.23.2.ebuild
new file mode 100644
index 000000000000..635a0f488c4c
--- /dev/null
+++ b/dev-ruby/sshkit/sshkit-1.23.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+# There are functional tests that require docker containers 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 ~ppc ~ppc64 ~x86"
+
+ruby_add_rdepend "
+ dev-ruby/base64
+ >=dev-ruby/net-ssh-2.8.0:*
+ >=dev-ruby/net-scp-1.1.2
+ >=dev-ruby/net-sftp-2.1.2
+ dev-ruby/ostruct
+"
+
+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 '/\(unindent\|reporters\)/I s:^:#:' \
+ -e '/docker/I s:^:#:' \
+ -e '1irequire "pathname"' \
+ -i test/helper.rb || die
+ rm -f test/support/docker_wrapper.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
+}