From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 114AA158041 for ; Tue, 2 Apr 2024 05:38:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B574DE2A6C; Tue, 2 Apr 2024 05:38:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E976E2A6C for ; Tue, 2 Apr 2024 05:38:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 958173431DC for ; Tue, 2 Apr 2024 05:38:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F165CB2A for ; Tue, 2 Apr 2024 05:38:23 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1712036293.8ba09b80bc360ca541daa53a271b1b588706ac21.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sshkit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/sshkit/Manifest dev-ruby/sshkit/sshkit-1.22.1.ebuild X-VCS-Directories: dev-ruby/sshkit/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 8ba09b80bc360ca541daa53a271b1b588706ac21 X-VCS-Branch: master Date: Tue, 2 Apr 2024 05:38:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 23351cbd-477f-41b0-936c-f29e0cc68792 X-Archives-Hash: 1d68bdcb2c418182572bb339a335fe11 commit: 8ba09b80bc360ca541daa53a271b1b588706ac21 Author: Hans de Graaff gentoo org> AuthorDate: Tue Apr 2 05:31:05 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Apr 2 05:38:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba09b80 dev-ruby/sshkit: add 1.22.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sshkit/Manifest | 1 + dev-ruby/sshkit/sshkit-1.22.1.ebuild | 44 ++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest index 8c29d7a0789e..3ff5747e2da8 100644 --- a/dev-ruby/sshkit/Manifest +++ b/dev-ruby/sshkit/Manifest @@ -3,3 +3,4 @@ DIST sshkit-1.21.5.gem 145408 BLAKE2B 19fa326d30ddae12be84b7cf460d5d44c48fc52cf8 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 +DIST sshkit-1.22.1.gem 146944 BLAKE2B 19e6065e1a6859e048ea1b7a5453166768397108030fcfb923f9d6ef90475f76a23859cb2a35c07a6fd9921adfd784a149d116731238b2cb8102369224114d4c SHA512 35bb7dc66827548b31be6d16a7b36b56b7357605cf12d1673162f35a5ac583524a6bf014f1a2a317038cd581b6b34922729daff711bc3bdb27ce8e193cab1929 diff --git a/dev-ruby/sshkit/sshkit-1.22.1.ebuild b/dev-ruby/sshkit/sshkit-1.22.1.ebuild new file mode 100644 index 000000000000..5b68c7da5322 --- /dev/null +++ b/dev-ruby/sshkit/sshkit-1.22.1.ebuild @@ -0,0 +1,44 @@ +# 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 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/base64 + 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 +}