summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-11-24 01:19:13 +0100
committerMarek Szuba <marecki@gentoo.org>2021-11-24 01:20:07 +0100
commit6fbb485df7e48d5f8a5b08f2c303f83e94393e45 (patch)
tree1d9aa3e861b1b4f9e3a511809299415d5cde822a /dev-lang/closure-compiler-bin
parentdev-perl/PadWalker: Remove old (diff)
downloadgentoo-6fbb485df7e48d5f8a5b08f2c303f83e94393e45.tar.gz
gentoo-6fbb485df7e48d5f8a5b08f2c303f83e94393e45.tar.bz2
gentoo-6fbb485df7e48d5f8a5b08f2c303f83e94393e45.zip
dev-lang/closure-compiler-bin: add 20211107, remove 20170218
EAPI 5 -> 7 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-lang/closure-compiler-bin')
-rw-r--r--dev-lang/closure-compiler-bin/Manifest2
-rw-r--r--dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild29
-rw-r--r--dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild38
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
+}