1 |
commit: 89e8fbf3da9659ef6e9bb24d3a7e26220d08e054 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 29 04:17:24 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 29 04:17:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89e8fbf3 |
7 |
|
8 |
dev-ruby/net-sftp: 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-sftp/Manifest | 1 + |
14 |
dev-ruby/net-sftp/net-sftp-3.0.0.ebuild | 31 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 32 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/net-sftp/Manifest b/dev-ruby/net-sftp/Manifest |
18 |
index 4204780738c..8d1e5a666ea 100644 |
19 |
--- a/dev-ruby/net-sftp/Manifest |
20 |
+++ b/dev-ruby/net-sftp/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST net-sftp-2.1.2.gem 67584 BLAKE2B 6b8e15f42c7a18f8c9aa7118e5822281eda6505c34697282cc9c52375ea0e4042f3045f41c2e9a15b8fd20f02946bfe6f3ad557aa5859a8e54e4c0ae8bd1d53d SHA512 126a9537a4ac45150096db4d46ad19e0d8a1833fef3733a1b66ff01463c0d109415f0ef807706ff88be8c5c1395bbd4620e529f06e3c9f746a4ed6ec2cb7d18d |
23 |
+DIST net-sftp-3.0.0.tar.gz 63542 BLAKE2B e09e209aa0d102a6da7611cabf49970c9a4e572d51946d5dc0688879db97c92e8a39713dd0011a4234391ff0ab685a978c491917c041f7d10a8f092fde5c876a SHA512 c28411cfa8522dec893fe7a1588a16bb761a9d7692c81c453d9a9ad817988637614c6afd754db8547e845a16062882e2b7e95974b889631676f092d9e84b83e7 |
24 |
|
25 |
diff --git a/dev-ruby/net-sftp/net-sftp-3.0.0.ebuild b/dev-ruby/net-sftp/net-sftp-3.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..c6c73304f94 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/net-sftp/net-sftp-3.0.0.ebuild |
30 |
@@ -0,0 +1,31 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
36 |
+ |
37 |
+RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc" |
38 |
+ |
39 |
+RUBY_FAKEGEM_GEMSPEC="net-sftp.gemspec" |
40 |
+ |
41 |
+inherit ruby-fakegem |
42 |
+ |
43 |
+DESCRIPTION="SFTP in pure Ruby" |
44 |
+HOMEPAGE="https://github.com/net-ssh/net-sftp" |
45 |
+SRC_URI="https://github.com/net-ssh/net-sftp/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="2" |
49 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" |
50 |
+IUSE="" |
51 |
+ |
52 |
+ruby_add_rdepend "|| ( dev-ruby/net-ssh:6 dev-ruby/net-ssh:5 )" |
53 |
+ |
54 |
+ruby_add_bdepend " |
55 |
+ test? ( |
56 |
+ >=dev-ruby/mocha-0.13 |
57 |
+ )" |
58 |
+ |
59 |
+all_ruby_prepare() { |
60 |
+ sed -i -e "s:_relative ': './:" -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
61 |
+} |