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 7C16015808B for ; Sat, 26 Mar 2022 14:30:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85365E086F; Sat, 26 Mar 2022 14:30:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 32BC0E0877 for ; Sat, 26 Mar 2022 14:30:56 +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 6A9A8343462 for ; Sat, 26 Mar 2022 14:30:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BBCDE34C for ; Sat, 26 Mar 2022 14:30:52 +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: <1648304989.d54d40ac278acf33a2aff6ec097fa88cc91cb830.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/uglifier/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/uglifier/uglifier-4.2.0-r1.ebuild X-VCS-Directories: dev-ruby/uglifier/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d54d40ac278acf33a2aff6ec097fa88cc91cb830 X-VCS-Branch: master Date: Sat, 26 Mar 2022 14:30:52 +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: 596c98f5-b04c-4499-96ff-1fa69b605844 X-Archives-Hash: 808123169cea320e86ad418698ad244a commit: d54d40ac278acf33a2aff6ec097fa88cc91cb830 Author: Hans de Graaff gentoo org> AuthorDate: Sat Mar 26 13:44:03 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 26 14:29:49 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d54d40ac dev-ruby/uglifier: add ruby31; EAPI 8 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/uglifier/uglifier-4.2.0-r1.ebuild | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/dev-ruby/uglifier/uglifier-4.2.0-r1.ebuild b/dev-ruby/uglifier/uglifier-4.2.0-r1.ebuild new file mode 100644 index 000000000000..c06d265668f0 --- /dev/null +++ b/dev-ruby/uglifier/uglifier-4.2.0-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby wrapper for UglifyJS JavaScript compressor" +HOMEPAGE="https://github.com/lautis/uglifier" +SRC_URI="https://github.com/lautis/uglifier/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/execjs-0.3.0:*" + +ruby_add_bdepend "test? ( dev-ruby/sourcemap )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +}