From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-887490-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9D3EB1382BD for <garchives@archives.gentoo.org>; Thu, 16 Jun 2016 05:08:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 785FEE0914; Thu, 16 Jun 2016 05:08:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 860A3E0908 for <gentoo-commits@lists.gentoo.org>; Thu, 16 Jun 2016 05:08:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7E57D3407D0 for <gentoo-commits@lists.gentoo.org>; Thu, 16 Jun 2016 05:08:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6322D2416 for <gentoo-commits@lists.gentoo.org>; Thu, 16 Jun 2016 05:07:59 +0000 (UTC) From: "Hans de Graaff" <graaff@gentoo.org> 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" <graaff@gentoo.org> Message-ID: <1466053672.615ff4a6968789482f3cb7bd44542d8a5be7920f.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.11.0.ebuild X-VCS-Directories: dev-ruby/sshkit/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 615ff4a6968789482f3cb7bd44542d8a5be7920f X-VCS-Branch: master Date: Thu, 16 Jun 2016 05:07:59 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3f2aa5eb-a6ca-45bd-bfc9-272dc901344d X-Archives-Hash: c9c9916156b730953a30040dd02dfa8d commit: 615ff4a6968789482f3cb7bd44542d8a5be7920f Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Thu Jun 16 05:07:52 2016 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Thu Jun 16 05:07:52 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=615ff4a6 dev-ruby/sshkit: add 1.11.0 Package-Manager: portage-2.2.28 dev-ruby/sshkit/Manifest | 1 + dev-ruby/sshkit/sshkit-1.11.0.ebuild | 43 ++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest index 543fdf5..02f5f2a 100644 --- a/dev-ruby/sshkit/Manifest +++ b/dev-ruby/sshkit/Manifest @@ -1 +1,2 @@ DIST sshkit-1.10.0.gem 144896 SHA256 52be5c07361644f7ab461e14ffd2455a3ee5a7df01b03428bfa3716c830344a4 SHA512 e89a91acd073ccfc73e15eff5c163273c80ef086bfe97e3df3af7b6ee3ce6b425b2bc4d0031526092cb709ec84a4643d3c8719b1341c5e406455dcac5f9e8c91 WHIRLPOOL eb389dd4103df89d1614826cbca0d6a93bc8f8594a264a0cd5916d4097cded107cb61ac180727f9fbda384d3bc0136d466e81af64ea4bc2ce186cc96969b0fea +DIST sshkit-1.11.0.gem 144896 SHA256 b3917b9ea28e031652391fd8ec1b95212e1413610bb26f8bba78c44767dea279 SHA512 2c6d1f43e34e69224a202bd3322a4bb9c8b583c36bfe967ce121c97bd2966c24283d1c51264221b312776b8ac1266f24e6cef6eef90cca016614c40ea9d7459d WHIRLPOOL 9dae289df030e1d0a7e299977e0a2b6158b2111a98c86485de31bdffac3699be3a5c02f111115083ca3d22242edadb2496a72cc65326972bcc8002a56464b62c diff --git a/dev-ruby/sshkit/sshkit-1.11.0.ebuild b/dev-ruby/sshkit/sshkit-1.11.0.ebuild new file mode 100644 index 0000000..c8ee20d --- /dev/null +++ b/dev-ruby/sshkit/sshkit-1.11.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +# 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"' 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 +}