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 49509138336 for ; Mon, 31 Dec 2018 06:59:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9F04E0B00; Mon, 31 Dec 2018 06:59:00 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 9BB4AE0B00 for ; Mon, 31 Dec 2018 06:59:00 +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 68291335C8F for ; Mon, 31 Dec 2018 06:58:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AAA7E4FF for ; Mon, 31 Dec 2018 06:58:56 +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: <1546238828.1f7da26788cef674fa0c54bd0a4fa25d9948e61e.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/net-ssh/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/net-ssh/Manifest dev-ruby/net-ssh/net-ssh-5.1.0.ebuild X-VCS-Directories: dev-ruby/net-ssh/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 1f7da26788cef674fa0c54bd0a4fa25d9948e61e X-VCS-Branch: master Date: Mon, 31 Dec 2018 06:58:56 +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: 156715b6-4090-4a9b-85b9-ef0385b276d5 X-Archives-Hash: 8e857e5ccd69b6e7a55e7766d2f9041a commit: 1f7da26788cef674fa0c54bd0a4fa25d9948e61e Author: Hans de Graaff gentoo org> AuthorDate: Mon Dec 31 06:47:08 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Dec 31 06:47:08 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f7da267 dev-ruby/net-ssh: add 5.1.0 Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-ruby/net-ssh/Manifest | 1 + dev-ruby/net-ssh/net-ssh-5.1.0.ebuild | 38 +++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-ruby/net-ssh/Manifest b/dev-ruby/net-ssh/Manifest index 38fbd67a116..b971881b957 100644 --- a/dev-ruby/net-ssh/Manifest +++ b/dev-ruby/net-ssh/Manifest @@ -1,3 +1,4 @@ DIST net-ssh-git-2.10.0.tgz 172885 BLAKE2B 6b5c9928191fe40afe289fc2639d12e56160522c85553cba13393347c8ef02bbe6206dbefc23b65c04980cf9761b2b40a364d8e3e13e4073950736cf53fbf480 SHA512 f66db6465667baf0c253868cc15aab3261675a8c15ca4b244c3cd587ae5e8b7a273959b97d5fc498ff1b19e1f06f51ea571573d243366a59ef56faf41c2ae347 DIST net-ssh-git-4.2.0.tgz 197417 BLAKE2B 5714185d9b83d3010e6b9baa07ac541e9227379cbfecc3a506d870d8d9fa528f59b605df4ff02ae6bfc16893bfb22734395096a77fcbe19fb939ecc1a343a9b5 SHA512 0a3609590d797a8cb4732e8cf743606a4919f57475b6eb2447a3db0c28f1bd405804fdc47a4062e503acdd4b785a1de9794a6db433cabb884105166eff6a8c5b DIST net-ssh-git-5.0.2.tgz 206757 BLAKE2B ac9a317dc238f7e3e794e4d8fcccc063d5d34dbe2e50a142e701957ad5c754985523624e97ca0b7d5773d2fefc3f10f3d61b2976997abd29511cd3934ea0e0bd SHA512 6e96d4b3cb2f4f14aa046af72b70a5e3b218153db40dc64996ad0061ea89cc9ac0dc0510a4231734c7385c03436d4116dfe4c9ac4b313c9fc5b029fc8a6c04d6 +DIST net-ssh-git-5.1.0.tgz 208940 BLAKE2B f4661bb8d0071717d342521126c0b8a834ab7775b67ad21b3d381205fc74aa1bb39f0cb406f0b90815be13c430eb5f69af2a86fe10214ec8db7829425e9c0399 SHA512 49f8f749f5e711af8002c8eb281505eb249362d58f870aabe55e8043bb8d1e94b1428246bd488508b58ec2fe089aeaf46ef758625af0573201e2ae830846525d diff --git a/dev-ruby/net-ssh/net-ssh-5.1.0.ebuild b/dev-ruby/net-ssh/net-ssh-5.1.0.ebuild new file mode 100644 index 00000000000..5709cd84bd9 --- /dev/null +++ b/dev-ruby/net-ssh/net-ssh-5.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc THANKS.txt" +RUBY_FAKEGEM_EXTRAINSTALL="support" + +inherit ruby-fakegem + +DESCRIPTION="Non-interactive SSH processing in pure Ruby" +HOMEPAGE="https://github.com/net-ssh/net-ssh" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="5" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="ed25519 test" + +ruby_add_rdepend "virtual/ruby-ssl ed25519? ( dev-ruby/ed25519 dev-ruby/bcrypt_pbkdf )" +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )" + +all_ruby_prepare() { + # Avoid bundler dependency + sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die +} + +src_test() { + # prevent tests from trying to connect to ssh-agent socket and failing + unset SSH_AUTH_SOCK + if ! use ed25519; then + export NET_SSH_NO_ED25519=true + fi + ruby-ng_src_test +}