dev-ruby/net-sftp: drop net-ssh slots from dependencies
authorHans de Graaff <graaff@gentoo.org>
Mon, 14 May 2018 17:07:12 +0000 (19:07 +0200)
committerHans de Graaff <graaff@gentoo.org>
Mon, 14 May 2018 17:07:33 +0000 (19:07 +0200)
Only net-ssh:4 can satisfy all dependencies since net-ssh:3 is masked
for removal and net-ssh:2 does not provide ruby24 or ruby25.

Package-Manager: Portage-2.3.36, Repoman-2.3.9

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

diff --git a/dev-ruby/net-sftp/net-sftp-2.1.2-r3.ebuild b/dev-ruby/net-sftp/net-sftp-2.1.2-r3.ebuild
new file mode 100644 (file)
index 0000000..dc0ee41
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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=""
+
+RUBY_PATCHES=( "${FILESDIR}/${P}-net-ssh-4.patch" )
+
+ruby_add_rdepend "dev-ruby/net-ssh:4"
+
+ruby_add_bdepend "
+       test? (
+               >=dev-ruby/mocha-0.13
+       )"