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 E0D43158086 for ; Wed, 24 Nov 2021 00:20:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22B8FE091C; Wed, 24 Nov 2021 00:20:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B7933E091C for ; Wed, 24 Nov 2021 00:20:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 DA32833BF41 for ; Wed, 24 Nov 2021 00:20:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 548E61C8 for ; Wed, 24 Nov 2021 00:20:12 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1637713207.6fbb485df7e48d5f8a5b08f2c303f83e94393e45.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/closure-compiler-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/closure-compiler-bin/Manifest dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild X-VCS-Directories: dev-lang/closure-compiler-bin/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 6fbb485df7e48d5f8a5b08f2c303f83e94393e45 X-VCS-Branch: master Date: Wed, 24 Nov 2021 00:20:12 +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: 49fe65cf-b8e8-445f-b126-f7bbc9a018ee X-Archives-Hash: 6b87975371ef17699458dd24681af997 commit: 6fbb485df7e48d5f8a5b08f2c303f83e94393e45 Author: Marek Szuba gentoo org> AuthorDate: Wed Nov 24 00:19:13 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Wed Nov 24 00:20:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fbb485d dev-lang/closure-compiler-bin: add 20211107, remove 20170218 EAPI 5 -> 7 Signed-off-by: Marek Szuba gentoo.org> dev-lang/closure-compiler-bin/Manifest | 2 +- .../closure-compiler-bin-20170218.ebuild | 29 ----------------- .../closure-compiler-bin-20211107.ebuild | 38 ++++++++++++++++++++++ 3 files changed, 39 insertions(+), 30 deletions(-) diff --git a/dev-lang/closure-compiler-bin/Manifest b/dev-lang/closure-compiler-bin/Manifest index 8ef636f3f9a8..6b07424dc362 100644 --- a/dev-lang/closure-compiler-bin/Manifest +++ b/dev-lang/closure-compiler-bin/Manifest @@ -1 +1 @@ -DIST closure-compiler-bin-20170218.tar.gz 6515448 BLAKE2B ddf7600776445c90059bcee037596af9c7b14265d55c51c1c4a2a55acf2fc97e8f9ab04f854f8a7ba0a32147e63c9e4e7723f4d7f34e842efae96fc86953d305 SHA512 4ddbb339615edb104ddcb84775b1da2f096d49dc921b70c5094a7b7afba25e40c1212bbc9f0e51ad643a3a72bfc46a301efcadd7909d09a77d0bb5e68e41bd81 +DIST closure-compiler-v20211107.jar 13141765 BLAKE2B 0875fe9cc1963383185d387311ca693857c31cd811605a0896b331ebee92a10bda6182dc6d9b9f4e097b68da278764c56237f398e0042f16a30dea04428d6694 SHA512 6fda64ba9233874acd910f3579397b957667e0a19dcc9884cd1c5ed6087b5d2ae66093ac43d0381611a3adeb02be59a750c98704bda481be1b30601c8138aeb1 diff --git a/dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild b/dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild deleted file mode 100644 index de842c3bfd89..000000000000 --- a/dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit java-pkg-2 - -DESCRIPTION="JavaScript optimizing compiler" -HOMEPAGE="https://github.com/google/closure-compiler" -SRC_URI="https://dl.google.com/closure-compiler/compiler-${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=virtual/jre-1.6" - -S=${WORKDIR} - -src_install() { - java-pkg_jarinto /opt/${PN}-${SLOT}/lib - java-pkg_newjar ${PN%-bin}-v${PV}.jar ${PN}.jar - java-pkg_dolauncher \ - ${PN%-bin} \ - --jar /opt/${PN}-${SLOT}/lib/${PN}.jar \ - -into /opt - dodoc README.md -} diff --git a/dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild b/dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild new file mode 100644 index 000000000000..caecdb89ffdd --- /dev/null +++ b/dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit java-pkg-2 + +MY_PN="${PN%-bin}" +MY_P="${MY_PN}-v${PV}" + +DESCRIPTION="JavaScript optimizing compiler" +HOMEPAGE="https://developers.google.com/closure/compiler/ https://github.com/google/closure-compiler" +SRC_URI="https://repo1.maven.org/maven2/com/google/javascript/${MY_PN}/v${PV}/${MY_P}.jar" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=virtual/jre-1.8" + +S="${WORKDIR}" + +src_unpack() { + : +} + +src_compile() { + : +} + +src_install() { + java-pkg_jarinto /opt/${PN}-${SLOT}/lib + java-pkg_newjar "${DISTDIR}"/${MY_P}.jar ${PN}.jar + java-pkg_dolauncher \ + ${MY_PN} \ + --jar /opt/${PN}-${SLOT}/lib/${PN}.jar \ + -into /opt +}