summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-04-17 05:41:06 +0000
committerHans de Graaff <graaff@gentoo.org>2014-04-17 05:41:06 +0000
commit77b68ccfaaf6af2619048d02dc97b1c18a2e7d4a (patch)
treec64566535a554f1cb3ef5eed5dc8ac6dca6196d1 /dev-ruby
parentbump; update and tidy up, fixes Bug #507636 (diff)
downloadgentoo-2-77b68ccfaaf6af2619048d02dc97b1c18a2e7d4a.tar.gz
gentoo-2-77b68ccfaaf6af2619048d02dc97b1c18a2e7d4a.tar.bz2
gentoo-2-77b68ccfaaf6af2619048d02dc97b1c18a2e7d4a.zip
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/session/ChangeLog7
-rw-r--r--dev-ruby/session/session-3.2.0.ebuild52
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-ruby/session/ChangeLog b/dev-ruby/session/ChangeLog
index c0c04d4c1611..1b50436fdd1e 100644
--- a/dev-ruby/session/ChangeLog
+++ b/dev-ruby/session/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/session
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/session/ChangeLog,v 1.37 2014/04/17 05:34:58 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/session/ChangeLog,v 1.38 2014/04/17 05:41:06 graaff Exp $
+
+*session-3.2.0 (17 Apr 2014)
+
+ 17 Apr 2014; Hans de Graaff <graaff@gentoo.org> +session-3.2.0.ebuild:
+ Version bump.
17 Apr 2014; Hans de Graaff <graaff@gentoo.org> -session-3.1.0-r2.ebuild,
-session-3.1.1.ebuild:
diff --git a/dev-ruby/session/session-3.2.0.ebuild b/dev-ruby/session/session-3.2.0.ebuild
new file mode 100644
index 000000000000..f358f559518e
--- /dev/null
+++ b/dev-ruby/session/session-3.2.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/session/session-3.2.0.ebuild,v 1.1 2014/04/17 05:41:06 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21 jruby"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="README"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A set of classes to drive external programs via pipe"
+HOMEPAGE="http://codeforpeople.com/lib/ruby/session/"
+#SRC_URI="http://codeforpeople.com/lib/ruby/session/${P}.tgz"
+
+# License info based on http://github.com/ahoward/session as indicated
+# by author.
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="test"
+
+DEPEND+=" test? ( || ( sys-apps/coreutils sys-freebsd/freebsd-bin ) )"
+
+all_ruby_prepare() {
+ # needed to void a collision with the Timeout::Error alias in Ruby
+ # 1.8.7 at least.
+ sed -i -e 's:TimeoutError:SessionTimeoutError:' test/session.rb || die
+}
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *jruby)
+ epatch "${FILESDIR}"/${PN}-3.1.0-jruby.patch
+ ;;
+ esac
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib test/*.rb || die "tests failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc sample/*
+}