From 2719f73b6813d11d13a9650cdd2ab8ec6e69385d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 9 Jul 2022 15:43:36 +0100 Subject: gentoo resync : 09.07.2022 --- dev-util/uglifyjs/Manifest | 4 +++- dev-util/uglifyjs/uglifyjs-3.16.1.ebuild | 2 +- dev-util/uglifyjs/uglifyjs-3.16.2.ebuild | 40 ++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 dev-util/uglifyjs/uglifyjs-3.16.2.ebuild (limited to 'dev-util/uglifyjs') diff --git a/dev-util/uglifyjs/Manifest b/dev-util/uglifyjs/Manifest index 4dabbcfe87ce..ecdcdcef2a78 100644 --- a/dev-util/uglifyjs/Manifest +++ b/dev-util/uglifyjs/Manifest @@ -1,3 +1,5 @@ DIST uglifyjs-3.16.1.tar.gz 519333 BLAKE2B 6e4978aa776256be575ea91fd6cd584fe8885886300db1b77cc889af5112615175cd40d527ac6356d653e60ab3ed404670355f80e0391da538313b494bb1104b SHA512 e0ef3e2b82cb6f211120b1d66132b5b5b13bc48dd946d7e7bbeddd1bee16330c9a3541d07f51b6eddf9036b0e520a527849ddc3cf6de467331b42f1fba37e66e -EBUILD uglifyjs-3.16.1.ebuild 776 BLAKE2B 02765a0ccff1ed52a7242f972f701066f2c397d7aaebfb18edf8c86511549d2cfc3b9c2e1aef19734a27491231760db7cae2c788a3220177a8dccb670fd018c6 SHA512 f54336748ca69b332555aa90283c8bf5105d70536e31bfb7e513f277198e7b3093c65e4bf231f07805a98f9387e358e9142dee62d3b1e6c3f1c8e66fc4ed29f5 +DIST uglifyjs-3.16.2.tar.gz 521877 BLAKE2B d9c40425b7911a08f90b64c1bbafe1d69ea2b7f7127b2f6b08065d5d99f776a582c27f29c827394ec89f0652cf03ef51bf1da24a4428ecd6b4dd1fa59107ce1c SHA512 ce714f8fab93c4ce3e9774321c6fd81dc050962a50b599ddff2a42d4ea60dc05f672fafb7cc473adcee37a9ce75f85e4d6fc58b1c174c559fe9a66a9230b9da5 +EBUILD uglifyjs-3.16.1.ebuild 775 BLAKE2B bcc377d38ae642d595fdd2f0dc4a78ad946d4a2c29af09f1ae7e798e21caeb96a5b5f6ce4aea4338d4fb0e84934a1befc1925d056020620573225a9202fff6ff SHA512 e4928b36e7bf3e0b61173d1bef56a389cedac5e06afb6a0426ffb82f4f33aadc1cfa9a0e6151011bc2e671769be700d78c347426cfa674a76cbc01162dd21bb5 +EBUILD uglifyjs-3.16.2.ebuild 776 BLAKE2B 02765a0ccff1ed52a7242f972f701066f2c397d7aaebfb18edf8c86511549d2cfc3b9c2e1aef19734a27491231760db7cae2c788a3220177a8dccb670fd018c6 SHA512 f54336748ca69b332555aa90283c8bf5105d70536e31bfb7e513f277198e7b3093c65e4bf231f07805a98f9387e358e9142dee62d3b1e6c3f1c8e66fc4ed29f5 MISC metadata.xml 328 BLAKE2B 74d4d808f158dcb49e996da74b67d65fe12956d7486b91941b03f3bb237d7d13387ac629b9689ebce8bd0580b0ce24d359a788911134fef6f006546c5365f2d8 SHA512 3db3efc0f0f5f0f3c7d453d4edae27d0ddfc62aa7cb778684d58460cfd55187fdd90c06bfb2629fb0d84874ff378dbccbc7ef182a10e35fd4b85991c5777a213 diff --git a/dev-util/uglifyjs/uglifyjs-3.16.1.ebuild b/dev-util/uglifyjs/uglifyjs-3.16.1.ebuild index 1a44c1a32320..4817ccc4e92c 100644 --- a/dev-util/uglifyjs/uglifyjs-3.16.1.ebuild +++ b/dev-util/uglifyjs/uglifyjs-3.16.1.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://github.com/mishoo/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> $ LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" BDEPEND="net-libs/nodejs[npm]" RDEPEND="net-libs/nodejs" diff --git a/dev-util/uglifyjs/uglifyjs-3.16.2.ebuild b/dev-util/uglifyjs/uglifyjs-3.16.2.ebuild new file mode 100644 index 000000000000..1a44c1a32320 --- /dev/null +++ b/dev-util/uglifyjs/uglifyjs-3.16.2.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 +} -- cgit v1.2.3