summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/execjs/ChangeLog5
-rw-r--r--dev-ruby/execjs/execjs-2.0.2.ebuild10
2 files changed, 12 insertions, 3 deletions
diff --git a/dev-ruby/execjs/ChangeLog b/dev-ruby/execjs/ChangeLog
index 6eb81cfc4143..dbee52657643 100644
--- a/dev-ruby/execjs/ChangeLog
+++ b/dev-ruby/execjs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/execjs
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/execjs/ChangeLog,v 1.10 2013/10/03 16:15:57 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/execjs/ChangeLog,v 1.11 2013/10/26 07:25:12 graaff Exp $
+
+ 26 Oct 2013; Hans de Graaff <graaff@gentoo.org> execjs-2.0.2.ebuild:
+ Skip test requiring network connectivity. Add ruby20.
*execjs-2.0.2 (03 Oct 2013)
diff --git a/dev-ruby/execjs/execjs-2.0.2.ebuild b/dev-ruby/execjs/execjs-2.0.2.ebuild
index 001d6f81c6f0..ea127d355faa 100644
--- a/dev-ruby/execjs/execjs-2.0.2.ebuild
+++ b/dev-ruby/execjs/execjs-2.0.2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/execjs/execjs-2.0.2.ebuild,v 1.1 2013/10/03 16:15:57 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/execjs/execjs-2.0.2.ebuild,v 1.2 2013/10/26 07:25:12 graaff Exp $
EAPI=5
-USE_RUBY="ruby18 ruby19"
+USE_RUBY="ruby18 ruby19 ruby20"
RUBY_FAKEGEM_TASK_DOC=""
@@ -34,3 +34,9 @@ ruby_add_rdepend ">=dev-ruby/multi_json-1.0"
# https://github.com/sstephenson/execjs/issues/62
RDEPEND+=" || ( net-libs/nodejs )"
+
+all_ruby_prepare() {
+ # Avoid test requiring network connectivity. We could potentially
+ # substitute dev-ruby/coffee-script-source for this.
+ sed -i -e '/test_coffeescript/,/end/ s:^:#:' test/test_execjs.rb || die
+}