summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-01-24 09:26:14 +0000
committerHans de Graaff <graaff@gentoo.org>2015-01-24 09:26:14 +0000
commitf2b6138803379dac380392c10c59c7f11cc944a1 (patch)
tree60996d291e4403062b15b3e50a775373dac11a7c /dev-ruby/execjs
parentDrop ruby21 for stable candidate. (diff)
downloadgentoo-2-f2b6138803379dac380392c10c59c7f11cc944a1.tar.gz
gentoo-2-f2b6138803379dac380392c10c59c7f11cc944a1.tar.bz2
gentoo-2-f2b6138803379dac380392c10c59c7f11cc944a1.zip
Add revision to create stable candidate.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/execjs')
-rw-r--r--dev-ruby/execjs/ChangeLog8
-rw-r--r--dev-ruby/execjs/execjs-2.2.2-r1.ebuild40
-rw-r--r--dev-ruby/execjs/execjs-2.2.2.ebuild4
3 files changed, 49 insertions, 3 deletions
diff --git a/dev-ruby/execjs/ChangeLog b/dev-ruby/execjs/ChangeLog
index 356239e25d34..0b738a272223 100644
--- a/dev-ruby/execjs/ChangeLog
+++ b/dev-ruby/execjs/ChangeLog
@@ -1,6 +1,12 @@
# 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.24 2015/01/06 03:51:07 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/execjs/ChangeLog,v 1.25 2015/01/24 09:26:14 graaff Exp $
+
+*execjs-2.2.2-r1 (24 Jan 2015)
+
+ 24 Jan 2015; Hans de Graaff <graaff@gentoo.org> execjs-2.2.2.ebuild,
+ +execjs-2.2.2-r1.ebuild:
+ Add revision to create stable candidate.
06 Jan 2015; Manuel Rüger <mrueg@gentoo.org> -execjs-2.0.2-r1.ebuild,
-execjs-2.2.1.ebuild:
diff --git a/dev-ruby/execjs/execjs-2.2.2-r1.ebuild b/dev-ruby/execjs/execjs-2.2.2-r1.ebuild
new file mode 100644
index 000000000000..9f2fe7a87535
--- /dev/null
+++ b/dev-ruby/execjs/execjs-2.2.2-r1.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.2.2-r1.ebuild,v 1.1 2015/01/24 09:26:14 graaff 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/sstephenson/execjs"
+SRC_URI="https://github.com/sstephenson/${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
+}
diff --git a/dev-ruby/execjs/execjs-2.2.2.ebuild b/dev-ruby/execjs/execjs-2.2.2.ebuild
index 431e9da508ac..1a15eaca41b6 100644
--- a/dev-ruby/execjs/execjs-2.2.2.ebuild
+++ b/dev-ruby/execjs/execjs-2.2.2.ebuild
@@ -1,9 +1,9 @@
# 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.2.2.ebuild,v 1.2 2015/01/02 07:23:44 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/execjs/execjs-2.2.2.ebuild,v 1.3 2015/01/24 09:26:14 graaff Exp $
EAPI=5
-USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+USE_RUBY="ruby19 ruby20"
RUBY_FAKEGEM_TASK_DOC=""