diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-09-12 07:16:04 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-09-12 07:16:04 +0200 |
commit | 91a09c698fb58ea551c0e68ccff015c7a742f537 (patch) | |
tree | 008ff644e64f024fa9fa5a05a87fec27af9e51ad /dev-ruby/execjs | |
parent | dev-python/Nuitka: Bump to 1.8.1 (diff) | |
download | gentoo-91a09c698fb58ea551c0e68ccff015c7a742f537.tar.gz gentoo-91a09c698fb58ea551c0e68ccff015c7a742f537.tar.bz2 gentoo-91a09c698fb58ea551c0e68ccff015c7a742f537.zip |
dev-ruby/execjs: add 2.9.0
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.9.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/execjs/Manifest b/dev-ruby/execjs/Manifest index 9bc8a12e5bc7..f96daaf98ec9 100644 --- a/dev-ruby/execjs/Manifest +++ b/dev-ruby/execjs/Manifest @@ -1 +1,2 @@ DIST execjs-2.8.1.tar.gz 425838 BLAKE2B e81c2cfb803e3ffcfb9fbde3ce907147e577f81563500dd74a6a6aa560f13a0318246530a4e54c7139f86c8fe76fe79c9a2961c3b0d685e65c5e7d9d395ba82d SHA512 ec808d3feccf1cfa2500f4ce17a497a31e5886cdd7482c56fdc0cc952aa8967ca50f09c33eb83545713e04aa73fbb8a201459cdb72647e8f8c291f8846f3f230 +DIST execjs-2.9.0.tar.gz 427260 BLAKE2B 0e9323581ab51e9abb4089d018018044b4277fe992206052e733decd27a1fab59465485e126e6fff9f75f3f37bd377d9e18b69a0d52a5b0d0ffebde50a3b02de SHA512 cce6b64d29a8b586fb74308707e659229cd18b2d1745d42202d02fb432d10669f8783ef8e8a16c21252061bcc84974d1a39d40bfb6064028fb55ec09fd47cd9a diff --git a/dev-ruby/execjs/execjs-2.9.0.ebuild b/dev-ruby/execjs/execjs-2.9.0.ebuild new file mode 100644 index 000000000000..ad23c4d39afd --- /dev/null +++ b/dev-ruby/execjs/execjs-2.9.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +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 ~riscv ~sparc ~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 +} |