From c17b45dae8c7385cf69f22387136b924899d1272 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 27 Apr 2020 06:47:38 +0200 Subject: dev-ruby/net-scp: add 3.0.0 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Hans de Graaff --- dev-ruby/net-scp/Manifest | 1 + dev-ruby/net-scp/net-scp-3.0.0.ebuild | 42 +++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 dev-ruby/net-scp/net-scp-3.0.0.ebuild (limited to 'dev-ruby/net-scp') diff --git a/dev-ruby/net-scp/Manifest b/dev-ruby/net-scp/Manifest index 790a5263e9e4..13402c80a4c0 100644 --- a/dev-ruby/net-scp/Manifest +++ b/dev-ruby/net-scp/Manifest @@ -1,2 +1,3 @@ DIST net-scp-1.2.1.gem 32768 BLAKE2B 67abf0b66aa6e8f28bdfa314a20f594eedafc5aeaf5d0ae8884cb7e27203699a791623968da98aaebda1630d47bf5859cc3e38875fe17dc8c7ce7926b50848a5 SHA512 64645a4517d6e408e3acfdb24576c8ded3b6ff981035ca10a2e081f9e3ab093f97b4848da4acca03ade364483766677e31296d09a31db4c81eb40123fc966829 DIST net-scp-2.0.0.tar.gz 27835 BLAKE2B 2f5c9504ade26226a31fd766869f4deef3b344e99e71f780f184361efc75cad880c0dd266779d7f2550f176a86e89740edf27943c9ed81691378e5c3bf3241f0 SHA512 cd3470dfb2afba91911c429828d158e97e4feb17e211807abb05ab251622dc066e392521de250a8f2d4cf9d53c79598d636ef70c559b6aca7e1e7aa59ea3b36e +DIST net-scp-3.0.0.tar.gz 27947 BLAKE2B 78a1100b7602b9c09c8f06228b6e564fce15133c6cf8c9816613cb56b1d3805d9393700eb66c3710e482771e4116beae393c12ad12963b85428e21e7cf105218 SHA512 6d68b75124ccd2d387983f6d66a8b0e040132ba17d942631c806e899dff757ffae7a031a27ea0988166bf56e803c1a6175199845a848b92c7064388564e0ac79 diff --git a/dev-ruby/net-scp/net-scp-3.0.0.ebuild b/dev-ruby/net-scp/net-scp-3.0.0.ebuild new file mode 100644 index 000000000000..78ae6a9954b5 --- /dev/null +++ b/dev-ruby/net-scp/net-scp-3.0.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_GEMSPEC="net-scp.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby implementation of the SCP client protocol" +HOMEPAGE="https://github.com/net-ssh/net-scp" +SRC_URI="https://github.com/net-ssh/net-scp/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + doc? ( || ( dev-ruby/net-ssh:6 dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 ) ) + test? ( + || ( dev-ruby/net-ssh:6 dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 ) + dev-ruby/mocha + )" + +ruby_add_rdepend "|| ( dev-ruby/net-ssh:6 dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 )" + +all_ruby_prepare() { + sed -e "s:_relative ': './:" \ + -e 's/git ls-files -z/find -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test test/test_all.rb || die +} -- cgit v1.2.3-65-gdbad