diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-05-12 07:47:52 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-05-12 08:19:57 +0200 |
commit | 478a7dd3844d02afd9ddafaf73990f7b97468e27 (patch) | |
tree | 07cc2a9845b9cafdcd11dc0a9a56b4080af36d32 /dev-ruby/execjs | |
parent | dev-ruby/equatable: add 0.7.0 (diff) | |
download | gentoo-478a7dd3844d02afd9ddafaf73990f7b97468e27.tar.gz gentoo-478a7dd3844d02afd9ddafaf73990f7b97468e27.tar.bz2 gentoo-478a7dd3844d02afd9ddafaf73990f7b97468e27.zip |
dev-ruby/execjs: add 2.8.0
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/execjs')
-rw-r--r-- | dev-ruby/execjs/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/execjs/execjs-2.8.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/execjs/Manifest b/dev-ruby/execjs/Manifest index 148e05ab80bc..ec2daeff2497 100644 --- a/dev-ruby/execjs/Manifest +++ b/dev-ruby/execjs/Manifest @@ -1 +1,2 @@ DIST execjs-2.7.0.tar.gz 425361 BLAKE2B 8dd3bb5557a6993667abfa6c424cbea6377c1ea7b3928b9b60a6ba084f1df8a109d10d1a616c9d302e1b98a2031ece9e710d7dd933791cbfb3eaa48e45b9a595 SHA512 9627f466e8a363404c940b29227d08a8ad067b53383989a3d8f4f902e8c050c0e81facdbdafbb660c41f7c8dc2fbdd3bd357ca708e612af4d223b5412c6c1fb7 +DIST execjs-2.8.0.tar.gz 425756 BLAKE2B dcf5943a4244597da4c25ebfbd5b80eeaecce622d51b3515bf26ec34f63ae92ec4ab96200dbe79b30370914de94fd8cb2e7205df640fd6e572f021d163c0c26d SHA512 3c1b8f5666a18b00e9e09e2206f87fded26482b032405acc093e9d8da20873a620392eccdecea4c68e6d46b958d2ae18a6658faf90a7090b3e704fa7db3e0595 diff --git a/dev-ruby/execjs/execjs-2.8.0.ebuild b/dev-ruby/execjs/execjs-2.8.0.ebuild new file mode 100644 index 000000000000..c90bb5a0f859 --- /dev/null +++ b/dev-ruby/execjs/execjs-2.8.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +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 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~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. + +RDEPEND+=" || ( dev-ruby/duktape-rb net-libs/nodejs )" + +all_ruby_prepare() { + sed -i -e "/bundler/d" Rakefile || die + # 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 +} |