From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1414A15802F for ; Tue, 28 Mar 2023 16:25:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52EDAE08A8; Tue, 28 Mar 2023 16:25:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3F08DE08A8 for ; Tue, 28 Mar 2023 16:25:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 70953340FFB for ; Tue, 28 Mar 2023 16:25:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D0329A3 for ; Tue, 28 Mar 2023 16:25:35 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1680020732.0595fbd3de862b715a3da2cd6e34351b19e78552.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/execjs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/execjs/execjs-2.8.1-r1.ebuild X-VCS-Directories: dev-ruby/execjs/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 0595fbd3de862b715a3da2cd6e34351b19e78552 X-VCS-Branch: master Date: Tue, 28 Mar 2023 16:25:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: af9f72bb-4829-4d5b-85be-c833c67cc59c X-Archives-Hash: c1a22b284d13223449de47bc102d0120 commit: 0595fbd3de862b715a3da2cd6e34351b19e78552 Author: Hans de Graaff gentoo org> AuthorDate: Tue Mar 28 16:24:44 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Mar 28 16:25:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0595fbd3 dev-ruby/execjs: update EAPI 7 -> 8, add ruby32 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/execjs/execjs-2.8.1-r1.ebuild | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/dev-ruby/execjs/execjs-2.8.1-r1.ebuild b/dev-ruby/execjs/execjs-2.8.1-r1.ebuild new file mode 100644 index 000000000000..c7be19c05ace --- /dev/null +++ b/dev-ruby/execjs/execjs-2.8.1-r1.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="ruby27 ruby30 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 ~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 +}