summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-10-26 07:25:12 +0000
committerHans de Graaff <graaff@gentoo.org>2013-10-26 07:25:12 +0000
commit3b00ef687b78b3e7987358cf1e0e86d4479566a8 (patch)
treef37d1ab495da6c09fd87b12f6420df9b621e2850 /dev-ruby/execjs
parentversion bump (diff)
downloadgentoo-2-3b00ef687b78b3e7987358cf1e0e86d4479566a8.tar.gz
gentoo-2-3b00ef687b78b3e7987358cf1e0e86d4479566a8.tar.bz2
gentoo-2-3b00ef687b78b3e7987358cf1e0e86d4479566a8.zip
Skip test requiring network connectivity. Add ruby20.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/execjs')
-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
+}