1 |
commit: da626b5ebc8d343336156724095f2a134ecadc84 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 5 07:26:02 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 6 07:07:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da626b5e |
7 |
|
8 |
dev-ruby/net-sftp: add 4.0.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/835325 |
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-4.0.0.ebuild | 36 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/net-sftp/Manifest b/dev-ruby/net-sftp/Manifest |
18 |
index 067884c48708..83fbe4b755e6 100644 |
19 |
--- a/dev-ruby/net-sftp/Manifest |
20 |
+++ b/dev-ruby/net-sftp/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST net-sftp-3.0.0.tar.gz 63542 BLAKE2B e09e209aa0d102a6da7611cabf49970c9a4e572d51946d5dc0688879db97c92e8a39713dd0011a4234391ff0ab685a978c491917c041f7d10a8f092fde5c876a SHA512 c28411cfa8522dec893fe7a1588a16bb761a9d7692c81c453d9a9ad817988637614c6afd754db8547e845a16062882e2b7e95974b889631676f092d9e84b83e7 |
23 |
+DIST net-sftp-4.0.0.tar.gz 63896 BLAKE2B d63d32d3810c05c6ed19d156c87854d09a585a63e651be5984aed22b9a2b82c6c1464dd90fcc07d5586cd171d388dd6874ebe9e4e871012fee1620701f1d648e SHA512 8c4284da3b9143a02d597fc1c2824e5ab96abb38fef932682326443ea949733c4e7513184fb6b5c870d3ff802928e34580d423c98c594cb7a07ad17a50fb5c56 |
24 |
|
25 |
diff --git a/dev-ruby/net-sftp/net-sftp-4.0.0.ebuild b/dev-ruby/net-sftp/net-sftp-4.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..845cdf80d9fc |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/net-sftp/net-sftp-4.0.0.ebuild |
30 |
@@ -0,0 +1,36 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+USE_RUBY="ruby27 ruby30 ruby31" |
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 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris" |
50 |
+IUSE="" |
51 |
+ |
52 |
+ruby_add_rdepend "|| ( dev-ruby/net-ssh:7 dev-ruby/net-ssh:6 dev-ruby/net-ssh:5 )" |
53 |
+ |
54 |
+ruby_add_bdepend " |
55 |
+ test? ( |
56 |
+ dev-ruby/bundler |
57 |
+ >=dev-ruby/mocha-0.13 |
58 |
+ )" |
59 |
+ |
60 |
+all_ruby_prepare() { |
61 |
+ sed -i -e "s:_relative ': './:" -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
62 |
+} |
63 |
+ |
64 |
+each_ruby_test() { |
65 |
+ ${RUBY} -Ilib:test:. -e 'Dir["test/**/test_*.rb"].each { require _1 }' || die |
66 |
+} |