Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/closure-compiler-bin/
Date: Wed, 24 Nov 2021 00:20:15
Message-Id: 1637713207.6fbb485df7e48d5f8a5b08f2c303f83e94393e45.marecki@gentoo
1 commit: 6fbb485df7e48d5f8a5b08f2c303f83e94393e45
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 24 00:19:13 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 24 00:20:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fbb485d
7
8 dev-lang/closure-compiler-bin: add 20211107, remove 20170218
9
10 EAPI 5 -> 7
11
12 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
13
14 dev-lang/closure-compiler-bin/Manifest | 2 +-
15 .../closure-compiler-bin-20170218.ebuild | 29 -----------------
16 .../closure-compiler-bin-20211107.ebuild | 38 ++++++++++++++++++++++
17 3 files changed, 39 insertions(+), 30 deletions(-)
18
19 diff --git a/dev-lang/closure-compiler-bin/Manifest b/dev-lang/closure-compiler-bin/Manifest
20 index 8ef636f3f9a8..6b07424dc362 100644
21 --- a/dev-lang/closure-compiler-bin/Manifest
22 +++ b/dev-lang/closure-compiler-bin/Manifest
23 @@ -1 +1 @@
24 -DIST closure-compiler-bin-20170218.tar.gz 6515448 BLAKE2B ddf7600776445c90059bcee037596af9c7b14265d55c51c1c4a2a55acf2fc97e8f9ab04f854f8a7ba0a32147e63c9e4e7723f4d7f34e842efae96fc86953d305 SHA512 4ddbb339615edb104ddcb84775b1da2f096d49dc921b70c5094a7b7afba25e40c1212bbc9f0e51ad643a3a72bfc46a301efcadd7909d09a77d0bb5e68e41bd81
25 +DIST closure-compiler-v20211107.jar 13141765 BLAKE2B 0875fe9cc1963383185d387311ca693857c31cd811605a0896b331ebee92a10bda6182dc6d9b9f4e097b68da278764c56237f398e0042f16a30dea04428d6694 SHA512 6fda64ba9233874acd910f3579397b957667e0a19dcc9884cd1c5ed6087b5d2ae66093ac43d0381611a3adeb02be59a750c98704bda481be1b30601c8138aeb1
26
27 diff --git a/dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild b/dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild
28 deleted file mode 100644
29 index de842c3bfd89..000000000000
30 --- a/dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild
31 +++ /dev/null
32 @@ -1,29 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="5"
37 -
38 -inherit java-pkg-2
39 -
40 -DESCRIPTION="JavaScript optimizing compiler"
41 -HOMEPAGE="https://github.com/google/closure-compiler"
42 -SRC_URI="https://dl.google.com/closure-compiler/compiler-${PV}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="Apache-2.0"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE=""
48 -
49 -RDEPEND=">=virtual/jre-1.6"
50 -
51 -S=${WORKDIR}
52 -
53 -src_install() {
54 - java-pkg_jarinto /opt/${PN}-${SLOT}/lib
55 - java-pkg_newjar ${PN%-bin}-v${PV}.jar ${PN}.jar
56 - java-pkg_dolauncher \
57 - ${PN%-bin} \
58 - --jar /opt/${PN}-${SLOT}/lib/${PN}.jar \
59 - -into /opt
60 - dodoc README.md
61 -}
62
63 diff --git a/dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild b/dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild
64 new file mode 100644
65 index 000000000000..caecdb89ffdd
66 --- /dev/null
67 +++ b/dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild
68 @@ -0,0 +1,38 @@
69 +# Copyright 1999-2021 Gentoo Authors
70 +# Distributed under the terms of the GNU General Public License v2
71 +
72 +EAPI=7
73 +
74 +inherit java-pkg-2
75 +
76 +MY_PN="${PN%-bin}"
77 +MY_P="${MY_PN}-v${PV}"
78 +
79 +DESCRIPTION="JavaScript optimizing compiler"
80 +HOMEPAGE="https://developers.google.com/closure/compiler/ https://github.com/google/closure-compiler"
81 +SRC_URI="https://repo1.maven.org/maven2/com/google/javascript/${MY_PN}/v${PV}/${MY_P}.jar"
82 +
83 +LICENSE="Apache-2.0"
84 +SLOT="0"
85 +KEYWORDS="~amd64 ~x86"
86 +
87 +RDEPEND=">=virtual/jre-1.8"
88 +
89 +S="${WORKDIR}"
90 +
91 +src_unpack() {
92 + :
93 +}
94 +
95 +src_compile() {
96 + :
97 +}
98 +
99 +src_install() {
100 + java-pkg_jarinto /opt/${PN}-${SLOT}/lib
101 + java-pkg_newjar "${DISTDIR}"/${MY_P}.jar ${PN}.jar
102 + java-pkg_dolauncher \
103 + ${MY_PN} \
104 + --jar /opt/${PN}-${SLOT}/lib/${PN}.jar \
105 + -into /opt
106 +}