1 |
commit: c17b45dae8c7385cf69f22387136b924899d1272 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 27 04:47:38 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 27 04:47:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c17b45da |
7 |
|
8 |
dev-ruby/net-scp: add 3.0.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/net-scp/Manifest | 1 + |
14 |
dev-ruby/net-scp/net-scp-3.0.0.ebuild | 42 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/net-scp/Manifest b/dev-ruby/net-scp/Manifest |
18 |
index 790a5263e9e..13402c80a4c 100644 |
19 |
--- a/dev-ruby/net-scp/Manifest |
20 |
+++ b/dev-ruby/net-scp/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST net-scp-1.2.1.gem 32768 BLAKE2B 67abf0b66aa6e8f28bdfa314a20f594eedafc5aeaf5d0ae8884cb7e27203699a791623968da98aaebda1630d47bf5859cc3e38875fe17dc8c7ce7926b50848a5 SHA512 64645a4517d6e408e3acfdb24576c8ded3b6ff981035ca10a2e081f9e3ab093f97b4848da4acca03ade364483766677e31296d09a31db4c81eb40123fc966829 |
23 |
DIST net-scp-2.0.0.tar.gz 27835 BLAKE2B 2f5c9504ade26226a31fd766869f4deef3b344e99e71f780f184361efc75cad880c0dd266779d7f2550f176a86e89740edf27943c9ed81691378e5c3bf3241f0 SHA512 cd3470dfb2afba91911c429828d158e97e4feb17e211807abb05ab251622dc066e392521de250a8f2d4cf9d53c79598d636ef70c559b6aca7e1e7aa59ea3b36e |
24 |
+DIST net-scp-3.0.0.tar.gz 27947 BLAKE2B 78a1100b7602b9c09c8f06228b6e564fce15133c6cf8c9816613cb56b1d3805d9393700eb66c3710e482771e4116beae393c12ad12963b85428e21e7cf105218 SHA512 6d68b75124ccd2d387983f6d66a8b0e040132ba17d942631c806e899dff757ffae7a031a27ea0988166bf56e803c1a6175199845a848b92c7064388564e0ac79 |
25 |
|
26 |
diff --git a/dev-ruby/net-scp/net-scp-3.0.0.ebuild b/dev-ruby/net-scp/net-scp-3.0.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..78ae6a9954b |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/net-scp/net-scp-3.0.0.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
38 |
+ |
39 |
+RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc" |
40 |
+ |
41 |
+RUBY_FAKEGEM_TASK_TEST="" |
42 |
+ |
43 |
+RUBY_FAKEGEM_GEMSPEC="net-scp.gemspec" |
44 |
+ |
45 |
+inherit ruby-fakegem |
46 |
+ |
47 |
+DESCRIPTION="A pure Ruby implementation of the SCP client protocol" |
48 |
+HOMEPAGE="https://github.com/net-ssh/net-scp" |
49 |
+SRC_URI="https://github.com/net-ssh/net-scp/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="GPL-2" |
52 |
+SLOT="2" |
53 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
54 |
+IUSE="" |
55 |
+ |
56 |
+ruby_add_bdepend " |
57 |
+ doc? ( || ( dev-ruby/net-ssh:6 dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 ) ) |
58 |
+ test? ( |
59 |
+ || ( dev-ruby/net-ssh:6 dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 ) |
60 |
+ dev-ruby/mocha |
61 |
+ )" |
62 |
+ |
63 |
+ruby_add_rdepend "|| ( dev-ruby/net-ssh:6 dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 )" |
64 |
+ |
65 |
+all_ruby_prepare() { |
66 |
+ sed -e "s:_relative ': './:" \ |
67 |
+ -e 's/git ls-files -z/find -print0/' \ |
68 |
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die |
69 |
+} |
70 |
+ |
71 |
+each_ruby_test() { |
72 |
+ ${RUBY} -Ilib:test test/test_all.rb || die |
73 |
+} |