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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5568138334 for ; Mon, 1 Jul 2019 05:05:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68E91E08C8; Mon, 1 Jul 2019 05:05:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A619E08C9 for ; Mon, 1 Jul 2019 05:05:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC009346D6D for ; Mon, 1 Jul 2019 05:05:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B8B0966B for ; Mon, 1 Jul 2019 05:05: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: <1561957262.d2f7f6388fcd42e6261c5743b8461f6fe88b3173.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.19.0.ebuild X-VCS-Directories: dev-ruby/sshkit/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d2f7f6388fcd42e6261c5743b8461f6fe88b3173 X-VCS-Branch: master Date: Mon, 1 Jul 2019 05:05: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: 01b3383f-9315-40ba-84f2-1864381fd8fb X-Archives-Hash: 5f8591d01e98b41f2296e715e80d07aa commit: d2f7f6388fcd42e6261c5743b8461f6fe88b3173 Author: Hans de Graaff gentoo org> AuthorDate: Mon Jul 1 05:01:02 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Jul 1 05:01:02 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2f7f638 dev-ruby/sshkit: add 1.19.0 Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 dev-ruby/sshkit/Manifest | 1 + dev-ruby/sshkit/sshkit-1.19.0.ebuild | 42 ++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest index 1c02c626463..e784d51ce51 100644 --- a/dev-ruby/sshkit/Manifest +++ b/dev-ruby/sshkit/Manifest @@ -1 +1,2 @@ DIST sshkit-1.18.2.gem 150016 BLAKE2B b9427eab02b6967a71252bf4a519d86f06429241e28d661dd424ff7739fd69d68ca9b430096518872141e4e09fbac832e04aab8a89fc1d89ebe5077303b87238 SHA512 a98477dfc9c566ba3777a2557db95aa20c2b220b238d8acd59888c8ac271b71c1bbebb29f37ad87102a155beecdd0b60872b4c735f71f7a65be2c1fb5ae60c8f +DIST sshkit-1.19.0.gem 154624 BLAKE2B 1ec997eccbd82d7601cc8f0cd0316ac928254cbf1f0880780c41b615286d05ad401ca3073ebe6e3a556958865e29229284a0509029166cbccbe27d27c98aa3da SHA512 4534af05c2d73d17e11b22067b93c3303beea393a89718169313aa1ad3ee4c131450f1ee89c7fa68ddbdbce8aeff66a7330c03c9a6b4758c10eeb7efa172cff8 diff --git a/dev-ruby/sshkit/sshkit-1.19.0.ebuild b/dev-ruby/sshkit/sshkit-1.19.0.ebuild new file mode 100644 index 00000000000..2e3a0b61bd0 --- /dev/null +++ b/dev-ruby/sshkit/sshkit-1.19.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +# There are functional tests that require vagrant boxes to be set up. +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_TASK_DOC="" +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 -i -e '/\(turn\|unindent\|reporters\)/I s:^:#:' \ + -e '1irequire "set"; require "pathname"' 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 +}