summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-04-08 17:51:18 +0000
committerManuel Rüger <mrueg@gentoo.org>2015-04-08 17:51:18 +0000
commit28d27c45371fdd083098b50291992b1185643e21 (patch)
treeb310c9f9a68ae5521bd6fda7e66f63f4ea5a65fd /dev-ruby/execjs
parentVersion bump. (diff)
downloadgentoo-2-28d27c45371fdd083098b50291992b1185643e21.tar.gz
gentoo-2-28d27c45371fdd083098b50291992b1185643e21.tar.bz2
gentoo-2-28d27c45371fdd083098b50291992b1185643e21.zip
Version bump.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/execjs')
-rw-r--r--dev-ruby/execjs/ChangeLog7
-rw-r--r--dev-ruby/execjs/execjs-2.5.0.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-ruby/execjs/ChangeLog b/dev-ruby/execjs/ChangeLog
index 24cce13a2691..878078fb6464 100644
--- a/dev-ruby/execjs/ChangeLog
+++ b/dev-ruby/execjs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/execjs
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/execjs/ChangeLog,v 1.29 2015/03/18 12:49:26 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/execjs/ChangeLog,v 1.30 2015/04/08 17:51:18 mrueg Exp $
+
+*execjs-2.5.0 (08 Apr 2015)
+
+ 08 Apr 2015; Manuel Rüger <mrueg@gentoo.org> +execjs-2.5.0.ebuild:
+ Version bump.
*execjs-2.4.0 (18 Mar 2015)
diff --git a/dev-ruby/execjs/execjs-2.5.0.ebuild b/dev-ruby/execjs/execjs-2.5.0.ebuild
new file mode 100644
index 000000000000..5dcea37484cd
--- /dev/null
+++ b/dev-ruby/execjs/execjs-2.5.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/execjs/execjs-2.5.0.ebuild,v 1.1 2015/04/08 17:51:18 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+inherit ruby-fakegem
+
+DESCRIPTION="ExecJS lets you run JavaScript code from Ruby"
+HOMEPAGE="https://github.com/rails/execjs"
+SRC_URI="https://github.com/rails/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
+
+IUSE="test"
+
+# execjs supports various javascript runtimes. They are listed in order
+# as per the documentation. For now only include the ones already in the
+# tree.
+
+# therubyracer, therubyrhino, node.js, spidermonkey (deprecated)
+
+# spidermonkey doesn't pass the test suite:
+# 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
+}