From 086061c9695d7d4ca388405f6091bbc43275639f Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sat, 11 Sep 2021 11:11:12 +0100 Subject: dev-util/uglifyjs: Bump to 3.14.2, drop old 3.14.1 Signed-off-by: James Le Cuirot --- dev-util/uglifyjs/Manifest | 2 +- dev-util/uglifyjs/uglifyjs-3.14.1.ebuild | 40 -------------------------------- dev-util/uglifyjs/uglifyjs-3.14.2.ebuild | 40 ++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 dev-util/uglifyjs/uglifyjs-3.14.1.ebuild create mode 100644 dev-util/uglifyjs/uglifyjs-3.14.2.ebuild (limited to 'dev-util/uglifyjs') diff --git a/dev-util/uglifyjs/Manifest b/dev-util/uglifyjs/Manifest index f3374da82e1b..fcac75d574f5 100644 --- a/dev-util/uglifyjs/Manifest +++ b/dev-util/uglifyjs/Manifest @@ -1 +1 @@ -DIST uglifyjs-3.14.1.tar.gz 484510 BLAKE2B 4386bd5469f2a8877fb8b47957c8d5128726293919e741d0f0401074e37efaffbdbbe6cb7217122222cdddd431cd632ce69f7b934bbb4c91e47a1a5076166137 SHA512 e297e9744f017ae27ddab8cb264d5d7594141dd48ce65b932ed56b70618047f91ecad008dfa5a37251a048fdf7e95b5340ad8710f67db9c45373dc8b9150fad1 +DIST uglifyjs-3.14.2.tar.gz 485825 BLAKE2B f90845d832334d39e51ac011d4b92fbc1501586265aceb0a20522ee628903608503225e2ff1ad11be391068363dd68bbbd4de7aa5b88d2464cfb07b84c19f3ed SHA512 fa3c668e28043e0155f583bfe64375b92c1f796eaa1d9ae88c0f54d6799d95b9d8f25e9e0da79a8ac923f3dd2d408de4f70dfba39ad2b1156bbb99fcc536f6c9 diff --git a/dev-util/uglifyjs/uglifyjs-3.14.1.ebuild b/dev-util/uglifyjs/uglifyjs-3.14.1.ebuild deleted file mode 100644 index 66d57eae5391..000000000000 --- a/dev-util/uglifyjs/uglifyjs-3.14.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2021 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 -} diff --git a/dev-util/uglifyjs/uglifyjs-3.14.2.ebuild b/dev-util/uglifyjs/uglifyjs-3.14.2.ebuild new file mode 100644 index 000000000000..66d57eae5391 --- /dev/null +++ b/dev-util/uglifyjs/uglifyjs-3.14.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 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-65-gdbad