diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-12 10:40:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-12 10:40:56 +0100 |
commit | fc1125ea4b3373e327ba0e157daa1d7e8aee15f9 (patch) | |
tree | 44c9694d007e95c09700bf72177701759333a717 /dev-ruby/execjs | |
parent | 5d5e56d92268c2b9b6ccc38eeaa3516ce9b1e8fd (diff) |
gentoo auto-resync : 12:09:2023 - 10:40:55
Diffstat (limited to 'dev-ruby/execjs')
-rw-r--r-- | dev-ruby/execjs/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/execjs/execjs-2.9.0.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/execjs/Manifest b/dev-ruby/execjs/Manifest index 2b929b55275a..84e3d2f60263 100644 --- a/dev-ruby/execjs/Manifest +++ b/dev-ruby/execjs/Manifest @@ -1,3 +1,5 @@ DIST execjs-2.8.1.tar.gz 425838 BLAKE2B e81c2cfb803e3ffcfb9fbde3ce907147e577f81563500dd74a6a6aa560f13a0318246530a4e54c7139f86c8fe76fe79c9a2961c3b0d685e65c5e7d9d395ba82d SHA512 ec808d3feccf1cfa2500f4ce17a497a31e5886cdd7482c56fdc0cc952aa8967ca50f09c33eb83545713e04aa73fbb8a201459cdb72647e8f8c291f8846f3f230 +DIST execjs-2.9.0.tar.gz 427260 BLAKE2B 0e9323581ab51e9abb4089d018018044b4277fe992206052e733decd27a1fab59465485e126e6fff9f75f3f37bd377d9e18b69a0d52a5b0d0ffebde50a3b02de SHA512 cce6b64d29a8b586fb74308707e659229cd18b2d1745d42202d02fb432d10669f8783ef8e8a16c21252061bcc84974d1a39d40bfb6064028fb55ec09fd47cd9a EBUILD execjs-2.8.1-r1.ebuild 1037 BLAKE2B 9e367d398eda92c2db78bcdd08eda02446002707f7867e4c126d9a18e6196971fdbdcb80e248662ba0207f880ccd87866e003de5d1505614c31908ca0030715b SHA512 1be4e069f71eb6599fcd4e1d79413440e660a317082b3ecba8c419b6b944dea0ab9633f6475dff1bdf6ec65c1ea5a82a671f17ed2e45884098b13a0760916eb5 +EBUILD execjs-2.9.0.ebuild 1029 BLAKE2B c81e6f1ed62fa4c87bc628dc4fbc6b3ae42aaff7228ebb6a85c6e5dbae107b6a375b240798b8744c62ef5ce4709f862357cf890f782c9055ac862e6586b49b0a SHA512 f40c03fa06dfc1720f94b0bf16b78cd8f29d6c17d0402238f3d369179483ddeeb6d841f49f116aae081b2ba813f6f5d50c4a991df9143784fd764dbb473c682f MISC metadata.xml 339 BLAKE2B c570f6191f5de8c4aabc788863f8543fa3cc298d6a86653c3be02ad26c7648232ca2f6d53fbcad6efcb2b7443626885c76b4755a36d1d7835dc164388f3db0bb SHA512 b9032df75adc4978d11fbc0d62dec6a9c26c86369c0debe38b0c9e1656b9a6d7c166398ba3e4628ae4eb4d4a3e75307e2e5780cec81db0e3b05183b1037080e4 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 +} |