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 CACF6158095 for ; Wed, 21 Sep 2022 20:52:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BECB0E0B1C; Wed, 21 Sep 2022 20:52:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0F3C2E0B1C for ; Wed, 21 Sep 2022 20:52:10 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 90D6134113E for ; Wed, 21 Sep 2022 20:52:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE30E5DB for ; Wed, 21 Sep 2022 20:52:07 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1663793478.c406621761a09e9cd7aa33fa3d2cd19dc96b045e.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/uglifyjs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/uglifyjs/Manifest dev-util/uglifyjs/uglifyjs-3.17.1.ebuild X-VCS-Directories: dev-util/uglifyjs/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: c406621761a09e9cd7aa33fa3d2cd19dc96b045e X-VCS-Branch: master Date: Wed, 21 Sep 2022 20:52:07 +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: 4455f0b5-6bdc-411c-bda2-a5ade0d54dc3 X-Archives-Hash: 540fbe8d4bf25e1b422975e6d2a7a084 commit: c406621761a09e9cd7aa33fa3d2cd19dc96b045e Author: James Le Cuirot gentoo org> AuthorDate: Wed Sep 21 20:51:18 2022 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Wed Sep 21 20:51:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4066217 dev-util/uglifyjs: Version bump to 3.17.1 Signed-off-by: James Le Cuirot gentoo.org> dev-util/uglifyjs/Manifest | 1 + dev-util/uglifyjs/uglifyjs-3.17.1.ebuild | 40 ++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-util/uglifyjs/Manifest b/dev-util/uglifyjs/Manifest index 3f17193adc61..396ce6edc87b 100644 --- a/dev-util/uglifyjs/Manifest +++ b/dev-util/uglifyjs/Manifest @@ -1,3 +1,4 @@ DIST uglifyjs-3.16.1.tar.gz 519333 BLAKE2B 6e4978aa776256be575ea91fd6cd584fe8885886300db1b77cc889af5112615175cd40d527ac6356d653e60ab3ed404670355f80e0391da538313b494bb1104b SHA512 e0ef3e2b82cb6f211120b1d66132b5b5b13bc48dd946d7e7bbeddd1bee16330c9a3541d07f51b6eddf9036b0e520a527849ddc3cf6de467331b42f1fba37e66e DIST uglifyjs-3.16.3.tar.gz 527549 BLAKE2B 9fa89b62d2b38a543c07d5e02c8e07228eadbf1d577e96491961af1e5bbead5e8268536cf3e2c64b5a6274d7badb22ea926b87e9faddc9ed8b1d83642b69267d SHA512 173eacc7914fd4dba2671018760f0c1fb7c9d695c199003b80cdaa6ef8bda303efe647c0abbc3a7a95156512a6d2b99058340cc70a124758683d5c3829fed3bc DIST uglifyjs-3.17.0.tar.gz 531823 BLAKE2B 5163b392a22431a5f622fccfbb2eaa005eb4c42650446bc55c94ddf564b4c629ecad4a62ed6499f7aaab2ebe05b08ab0de7b56a18db74cb284497ea661edcace SHA512 0af47bfa5f10432edb8eb5245ef194ce73db49e3e35db094c8faa8cb7a22bf89e5b9b8933b2f23113a02537f61e4e3dd3a4eeb22bf65602ee50ff78cf28bfdf9 +DIST uglifyjs-3.17.1.tar.gz 535821 BLAKE2B 43a09eff7073b00d45aef714c22bfd291dba22a0074c16d04bbd06a51bd99b480e5d8d8ac3afd187a65f895fcda2af855cd338dabeaf4cee0b8c048307fcf6c2 SHA512 87ae4b99acbdefb3ca99b653bfe321920e8910da50a2ee094b360bd411b2412a5d64afc1730f89d1afdfa30f4c28cb7830dcb4f9e8a14a64174a384efd4c88d4 diff --git a/dev-util/uglifyjs/uglifyjs-3.17.1.ebuild b/dev-util/uglifyjs/uglifyjs-3.17.1.ebuild new file mode 100644 index 000000000000..1a44c1a32320 --- /dev/null +++ b/dev-util/uglifyjs/uglifyjs-3.17.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="UglifyJS" +DESCRIPTION="JavaScript parser, minifier, compressor and beautifier toolkit" +HOMEPAGE="https://lisperator.net/uglifyjs/" +SRC_URI="https://github.com/mishoo/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="net-libs/nodejs[npm]" +RDEPEND="net-libs/nodejs" + +S="${WORKDIR}/${MY_PN}-${PV}" + +NPM_FLAGS=( + --audit false + --color false + --foreground-scripts + --global + --offline + --progress false + --save false + --verbose +) + +src_compile() { + npm "${NPM_FLAGS[@]}" pack || die +} + +src_install() { + npm "${NPM_FLAGS[@]}" \ + --prefix "${ED}"/usr \ + install \ + uglify-js-${PV}.tgz || die +}