diff options
Diffstat (limited to 'dev-ruby/execjs')
-rw-r--r-- | dev-ruby/execjs/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/execjs/execjs-2.7.0-r1.ebuild | 35 | ||||
-rw-r--r-- | dev-ruby/execjs/execjs-2.7.0.ebuild | 2 |
3 files changed, 38 insertions, 2 deletions
diff --git a/dev-ruby/execjs/Manifest b/dev-ruby/execjs/Manifest index fe4beb6fca66..982cdf70f00c 100644 --- a/dev-ruby/execjs/Manifest +++ b/dev-ruby/execjs/Manifest @@ -1,3 +1,4 @@ DIST execjs-2.7.0.tar.gz 425361 BLAKE2B 8dd3bb5557a6993667abfa6c424cbea6377c1ea7b3928b9b60a6ba084f1df8a109d10d1a616c9d302e1b98a2031ece9e710d7dd933791cbfb3eaa48e45b9a595 SHA512 9627f466e8a363404c940b29227d08a8ad067b53383989a3d8f4f902e8c050c0e81facdbdafbb660c41f7c8dc2fbdd3bd357ca708e612af4d223b5412c6c1fb7 -EBUILD execjs-2.7.0.ebuild 1165 BLAKE2B 4e4a6d1d507feece4967423d9a2fb6541cb113eb140edd6ff2627f30a893bcc60275a062d72a0b3adef9ec8324675e949b7d8fe0f54838c75f285b880fe6ee90 SHA512 11a70dc6c6ec5240654de05acebc6f39c1e7929113a209cae6e302bbb756fb4a7e7862f64f13fe464322eafdb3c799aa99c5c21bc809de63044b52dec0fc48e6 +EBUILD execjs-2.7.0-r1.ebuild 1021 BLAKE2B ae8f9081626b160d365f5179449ff8b09cc519f0ecf5c8decd7eda6527f9f6d21595b465a9bf55b7c31b493ddc996623fa24e855bce2178561cc16be3999cf84 SHA512 5495d5f96499dfbe9f3e4604b22c78b611e34df6b396e798942483572b8c602eb5952be01cc3bb3a4f7af0bbca3b8fc987b99b4c97924cc235b9e04d023d871d +EBUILD execjs-2.7.0.ebuild 1160 BLAKE2B 2a438bb2d819abf3915778f3e849aa7b3563bf19bee28b929969dcb303c49dd1ebf791a403a1b8d8d13e1439ffa51b25f7ce7ad77f2f6409c718d3737845c1d2 SHA512 143ae9fc7118d8f2e52b89717e2d1e5537964bf08358167c33c7c1eabd21040ae0e29508b94eaaba83bb1d41682035d2fd8980e9d4cf19f9ded725ee9f4a11da MISC metadata.xml 338 BLAKE2B deb976ed7b368fddcb7e6b7b553ff8fc748f90c61d23f84cc251e7154f6f5f5c79c7d3d962dd2bc8061df7be36dc719ffb2c247c759e6fc7e4e4ff211eba6e16 SHA512 34e46d203d186a98cb50f83fc6508457a8ec536920b9640b7c0ce2f6f00e96643f1265c750a0f8555e57eb14ac1d19f0487bbe6e7fe5afe0870d8ecb162e2f27 diff --git a/dev-ruby/execjs/execjs-2.7.0-r1.ebuild b/dev-ruby/execjs/execjs-2.7.0-r1.ebuild new file mode 100644 index 000000000000..507e2b0a4aae --- /dev/null +++ b/dev-ruby/execjs/execjs-2.7.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +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 +} diff --git a/dev-ruby/execjs/execjs-2.7.0.ebuild b/dev-ruby/execjs/execjs-2.7.0.ebuild index 6ee18c149d13..b67bdd792e28 100644 --- a/dev-ruby/execjs/execjs-2.7.0.ebuild +++ b/dev-ruby/execjs/execjs-2.7.0.ebuild @@ -17,7 +17,7 @@ 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" +KEYWORDS="amd64 arm arm64 ppc64 x86 ~amd64-linux ~x64-macos" IUSE="test" |