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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 445AB15807B for ; Mon, 21 Oct 2024 05:46:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66977E08A8; Mon, 21 Oct 2024 05:46:08 +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 4ED9BE08A8 for ; Mon, 21 Oct 2024 05:46:08 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E695342FA3 for ; Mon, 21 Oct 2024 05:46:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B50861315 for ; Mon, 21 Oct 2024 05:46:05 +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: <1729489553.d7b701f776d96b1a5413aa9d2a8617c02e38ee00.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.23.2.ebuild X-VCS-Directories: dev-ruby/sshkit/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d7b701f776d96b1a5413aa9d2a8617c02e38ee00 X-VCS-Branch: master Date: Mon, 21 Oct 2024 05:46:05 +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: a38470c0-0128-4440-8406-e03c372a4887 X-Archives-Hash: ce10022fae9bd2316711abcdf87f7c61 commit: d7b701f776d96b1a5413aa9d2a8617c02e38ee00 Author: Hans de Graaff gentoo org> AuthorDate: Mon Oct 21 05:42:00 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Oct 21 05:45:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7b701f7 dev-ruby/sshkit: add 1.23.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sshkit/Manifest | 1 + dev-ruby/sshkit/sshkit-1.23.2.ebuild | 46 ++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest index bfa2552b79ae..cdf2f4b18295 100644 --- a/dev-ruby/sshkit/Manifest +++ b/dev-ruby/sshkit/Manifest @@ -1,3 +1,4 @@ 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 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 +}