From d1989de9d66ba4285e46f80cd571d5a82beae871 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 19 Aug 2022 02:35:40 +0100 Subject: gentoo auto-resync : 19:08:2022 - 02:35:40 --- dev-util/uglifyjs/Manifest | 2 ++ dev-util/uglifyjs/uglifyjs-3.17.0.ebuild | 40 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-util/uglifyjs/uglifyjs-3.17.0.ebuild (limited to 'dev-util/uglifyjs') diff --git a/dev-util/uglifyjs/Manifest b/dev-util/uglifyjs/Manifest index b540975d3dd3..275edd1466fe 100644 --- a/dev-util/uglifyjs/Manifest +++ b/dev-util/uglifyjs/Manifest @@ -1,5 +1,7 @@ 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 EBUILD uglifyjs-3.16.1.ebuild 775 BLAKE2B bcc377d38ae642d595fdd2f0dc4a78ad946d4a2c29af09f1ae7e798e21caeb96a5b5f6ce4aea4338d4fb0e84934a1befc1925d056020620573225a9202fff6ff SHA512 e4928b36e7bf3e0b61173d1bef56a389cedac5e06afb6a0426ffb82f4f33aadc1cfa9a0e6151011bc2e671769be700d78c347426cfa674a76cbc01162dd21bb5 EBUILD uglifyjs-3.16.3.ebuild 776 BLAKE2B 02765a0ccff1ed52a7242f972f701066f2c397d7aaebfb18edf8c86511549d2cfc3b9c2e1aef19734a27491231760db7cae2c788a3220177a8dccb670fd018c6 SHA512 f54336748ca69b332555aa90283c8bf5105d70536e31bfb7e513f277198e7b3093c65e4bf231f07805a98f9387e358e9142dee62d3b1e6c3f1c8e66fc4ed29f5 +EBUILD uglifyjs-3.17.0.ebuild 776 BLAKE2B 02765a0ccff1ed52a7242f972f701066f2c397d7aaebfb18edf8c86511549d2cfc3b9c2e1aef19734a27491231760db7cae2c788a3220177a8dccb670fd018c6 SHA512 f54336748ca69b332555aa90283c8bf5105d70536e31bfb7e513f277198e7b3093c65e4bf231f07805a98f9387e358e9142dee62d3b1e6c3f1c8e66fc4ed29f5 MISC metadata.xml 328 BLAKE2B 74d4d808f158dcb49e996da74b67d65fe12956d7486b91941b03f3bb237d7d13387ac629b9689ebce8bd0580b0ce24d359a788911134fef6f006546c5365f2d8 SHA512 3db3efc0f0f5f0f3c7d453d4edae27d0ddfc62aa7cb778684d58460cfd55187fdd90c06bfb2629fb0d84874ff378dbccbc7ef182a10e35fd4b85991c5777a213 diff --git a/dev-util/uglifyjs/uglifyjs-3.17.0.ebuild b/dev-util/uglifyjs/uglifyjs-3.17.0.ebuild new file mode 100644 index 000000000000..1a44c1a32320 --- /dev/null +++ b/dev-util/uglifyjs/uglifyjs-3.17.0.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