dev-ruby/net-sftp: apply patches, add ruby26
authorHans de Graaff <graaff@gentoo.org>
Mon, 20 May 2019 05:34:32 +0000 (07:34 +0200)
committerHans de Graaff <graaff@gentoo.org>
Mon, 20 May 2019 05:37:58 +0000 (07:37 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

dev-ruby/net-sftp/net-sftp-2.1.2-r4.ebuild [new file with mode: 0644]

diff --git a/dev-ruby/net-sftp/net-sftp-2.1.2-r4.ebuild b/dev-ruby/net-sftp/net-sftp-2.1.2-r4.ebuild
new file mode 100644 (file)
index 0000000..c86ffe1
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="SFTP in pure Ruby"
+HOMEPAGE="https://github.com/net-ssh/net-sftp"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+PATCHES=( "${FILESDIR}/${P}-net-ssh-4.patch" )
+
+ruby_add_rdepend "dev-ruby/net-ssh:4"
+
+ruby_add_bdepend "
+       test? (
+               >=dev-ruby/mocha-0.13
+       )"