mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-ruby/sshkit: add 1.22.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -2,3 +2,4 @@ DIST sshkit-1.21.4.gem 144896 BLAKE2B a4f7cd2342810422c6dd680370c741136bbe1cc596
|
||||
DIST sshkit-1.21.5.gem 145408 BLAKE2B 19fa326d30ddae12be84b7cf460d5d44c48fc52cf89f61a775999eae7cbcc985ac7b335dd4aa772e8966decc24a6e5a894621e9873ac133122fb8e18d1c82945 SHA512 e441da155323dd71c235d3ebb4ddccd41987183cffe4e23cb52404ba25a16ae4f3c1f786d7be4db6dc8733013720b99d12c8f3369f1d8841f967407b3edb28b2
|
||||
DIST sshkit-1.21.6.gem 145408 BLAKE2B 2196d0d8959a38d10e40de6c758c9cf3d64c9622de1dd0825a74435c45666450a554045172bcc1a1cbac33edcf962e93ad07a992d52bf946e3a060606c145e09 SHA512 8f6db82cd3607e947b6fd7ad0c5010b631254bcd12c19489e8446d83b352f9333baf9ed77aa197a4f0a081f75363404f5e48289f2d1f701c1a23cd834cca0ac4
|
||||
DIST sshkit-1.21.7.gem 145408 BLAKE2B e1fdeff6f9935d4d3bce846545d13779e0fce3f989bcb81e5a51e8342bcdce364b398ef480829c49a3ae90677efa5f7a5c4868de8fdc5f4b72f797c4b2513132 SHA512 7ba9fc8958293da7307720bc944c85f2d80991f8552833768793eaea3b49fde4d11d62bd39b90615a6957aa7af13f26cc7ba8b8279a29aa46a4283fa01151374
|
||||
DIST sshkit-1.22.0.gem 146944 BLAKE2B e257fc8b7c5a803a310f6193910fa93b5ae388b5265095eececcd342abefdba95a6bb9bdd3813e1eb7a999e73c116b973a9b903ae43ed804c5bface758721719 SHA512 fea5d130c0821f8762f76fa3eb9daa6104bea0f1dd59a0cf3845becc96773d2ac81b909151c9535d68dd1fd17a6f6071cde048d74c9c46105ac3d5d143c20d3b
|
||||
|
||||
43
dev-ruby/sshkit/sshkit-1.22.0.ebuild
Normal file
43
dev-ruby/sshkit/sshkit-1.22.0.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby31 ruby32"
|
||||
|
||||
# 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 ~ppc ~ppc64 ~x86"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/mutex_m
|
||||
>=dev-ruby/net-ssh-2.8.0:*
|
||||
>=dev-ruby/net-scp-1.1.2
|
||||
>=dev-ruby/net-sftp-2.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
|
||||
}
|
||||
Reference in New Issue
Block a user