summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-12-15 13:05:29 +0000
committerHans de Graaff <graaff@gentoo.org>2012-12-15 13:05:29 +0000
commit19228cdb625d653a0348c4302c978591e33f3e0d (patch)
treebe43a204e0758125f8bd58452e0a7501dfd04e1c /dev-ruby
parentImport the live ebuild. (diff)
downloadgentoo-2-19228cdb625d653a0348c4302c978591e33f3e0d.tar.gz
gentoo-2-19228cdb625d653a0348c4302c978591e33f3e0d.tar.bz2
gentoo-2-19228cdb625d653a0348c4302c978591e33f3e0d.zip
Revision bump. Add ruby19.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/net-sftp/ChangeLog7
-rw-r--r--dev-ruby/net-sftp/net-sftp-2.0.5-r1.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-ruby/net-sftp/ChangeLog b/dev-ruby/net-sftp/ChangeLog
index d8acf71f774c..fe532cecfdf8 100644
--- a/dev-ruby/net-sftp/ChangeLog
+++ b/dev-ruby/net-sftp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/net-sftp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-sftp/ChangeLog,v 1.50 2012/08/14 18:43:17 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-sftp/ChangeLog,v 1.51 2012/12/15 13:05:29 graaff Exp $
+
+*net-sftp-2.0.5-r1 (15 Dec 2012)
+
+ 15 Dec 2012; Hans de Graaff <graaff@gentoo.org> +net-sftp-2.0.5-r1.ebuild:
+ Revision bump. Add ruby19.
14 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> metadata.xml:
Update metadata.xml so that it's the same as most other packages.
diff --git a/dev-ruby/net-sftp/net-sftp-2.0.5-r1.ebuild b/dev-ruby/net-sftp/net-sftp-2.0.5-r1.ebuild
new file mode 100644
index 000000000000..f0a54caf395f
--- /dev/null
+++ b/dev-ruby/net-sftp/net-sftp-2.0.5-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-sftp/net-sftp-2.0.5-r1.ebuild,v 1.1 2012/12/15 13:05:29 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_DOC="doc"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="SFTP in pure Ruby"
+HOMEPAGE="http://net-ssh.rubyforge.org/"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/net-ssh-2.0.17-r1"
+
+ruby_add_bdepend "
+ doc? ( dev-ruby/echoe )
+ test? (
+ dev-ruby/echoe
+ dev-ruby/mocha
+ )"
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby19)
+ each_fakegem_test
+ ;;
+ *)
+ # Ignore tests since they hang, mostl likely due to bad
+ # interaction with net-ssh:
+ # https://github.com/net-ssh/net-sftp/issues/16 This seems
+ # fixed in newer net-ssh versions but these are ruby19 only.
+ ;;
+ esac
+}