diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-12 05:35:22 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-12 05:35:22 +0000 |
commit | c1b4edfc987ed3d2b1f39cdf70d1b9a19e725616 (patch) | |
tree | 8bcb81da4787d5fa0f49486bd34de95aa0db76a4 /dev-lang/closure-compiler-bin | |
parent | a3c403d854118e8ef0e2d661383445eb2d7ec732 (diff) |
gentoo auto-resync : 12:02:2024 - 05:35:22
Diffstat (limited to 'dev-lang/closure-compiler-bin')
-rw-r--r-- | dev-lang/closure-compiler-bin/Manifest | 6 | ||||
-rw-r--r-- | dev-lang/closure-compiler-bin/closure-compiler-bin-20211107-r1.ebuild (renamed from dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild) | 27 | ||||
-rw-r--r-- | dev-lang/closure-compiler-bin/closure-compiler-bin-20231112.ebuild | 43 | ||||
-rw-r--r-- | dev-lang/closure-compiler-bin/metadata.xml | 15 |
4 files changed, 77 insertions, 14 deletions
diff --git a/dev-lang/closure-compiler-bin/Manifest b/dev-lang/closure-compiler-bin/Manifest index f53fe12b81ac..73c822e62718 100644 --- a/dev-lang/closure-compiler-bin/Manifest +++ b/dev-lang/closure-compiler-bin/Manifest @@ -1,3 +1,5 @@ DIST closure-compiler-v20211107.jar 13141765 BLAKE2B 0875fe9cc1963383185d387311ca693857c31cd811605a0896b331ebee92a10bda6182dc6d9b9f4e097b68da278764c56237f398e0042f16a30dea04428d6694 SHA512 6fda64ba9233874acd910f3579397b957667e0a19dcc9884cd1c5ed6087b5d2ae66093ac43d0381611a3adeb02be59a750c98704bda481be1b30601c8138aeb1 -EBUILD closure-compiler-bin-20211107.ebuild 760 BLAKE2B 471c626a734cdad8d0be000d598bb8d1559ca58b995342659f840fa145aa6e8790ccc69fef47e7100eedfee6aad9d00bc041129ab317c936dfe823b085449c00 SHA512 c1290af7b3cc8f1b65962fb1d5a27545e99ae06464a11bd3ab5b241772e2cfc525dbf8c60b35e4bacb74bd95dff891872e8c2ae71a164dc3100c09435af62b25 -MISC metadata.xml 261 BLAKE2B 693889a73e9e0827b6c2e8b00d9b2e72db9841f052e3094851c934da3c61fe75a4e3b0f103f2f9f70dd7eb2827509b4899e5b506f734f1f2056a2d04ce98eeac SHA512 f9b8838ebadb2e26d4b87308afb0fbde00cb1e25dc3851f124221d36c05467f0ce68d3576306d63d9dbb82882b9184da6878a9f8ff69481d3860680fccc7ef7e +DIST closure-compiler-v20231112.jar 14084315 BLAKE2B e56777723c2c306d8c7ddb700778bc2cea9c96967f17d78e4e3dc31e9dcf1debe73ec6ff1b54b1b89f7407add12c3c16ebe4111b397bfca85d695278744db69f SHA512 e07ff9f57cf7672a79bc72fc8d5f447134df3009b72e50b7bbba644ebb6cbc080b3870f0dd7a47aa85a0b7d1b2e26bbeb0b4d057864e3d29fb5249c1ec8e3e13 +EBUILD closure-compiler-bin-20211107-r1.ebuild 824 BLAKE2B 3bc758d0b25ceea137a818dd2db97024f5c98526d2f935a64666ac63de2a3a59d53572e9034f955467337acb614ce417efcbaa2b138a2489a85c70f2c088bd33 SHA512 c4911a9a120c073b3cf6f4a24db4ca2ce4c81f935dc78fd47ad57f8b245c3fcdf03c5b7fb923f1b7929a574ab72d7013ebea42464255044fb302987778cd74b8 +EBUILD closure-compiler-bin-20231112.ebuild 824 BLAKE2B 3bc758d0b25ceea137a818dd2db97024f5c98526d2f935a64666ac63de2a3a59d53572e9034f955467337acb614ce417efcbaa2b138a2489a85c70f2c088bd33 SHA512 c4911a9a120c073b3cf6f4a24db4ca2ce4c81f935dc78fd47ad57f8b245c3fcdf03c5b7fb923f1b7929a574ab72d7013ebea42464255044fb302987778cd74b8 +MISC metadata.xml 906 BLAKE2B 806154be57433ec37b4a465670897ba718f75da23a9b5cf1fdde13d856931d28993c16f4db974436a3b4764c9d467816bc7d340d441e5b6e0fe6c90846a75919 SHA512 cd69b7d1dec75a640dc1fbc07f48625000ee17c31289adf326864cc0573f685cfd75b18e1c4183d33100ff68c85c1a2fa9c74b1e01e3ff0aaa3445954b10eb07 diff --git a/dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild b/dev-lang/closure-compiler-bin/closure-compiler-bin-20211107-r1.ebuild index caecdb89ffdd..1790b462aa70 100644 --- a/dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild +++ b/dev-lang/closure-compiler-bin/closure-compiler-bin-20211107-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit java-pkg-2 @@ -9,16 +9,18 @@ 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" +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" +S="${WORKDIR}" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND=">=virtual/jre-1.8" - -S="${WORKDIR}" +RDEPEND=" + >=virtual/jre-1.8:* +" src_unpack() { : @@ -29,10 +31,13 @@ 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 \ + java-pkg_jarinto "/opt/${PN}-${SLOT}/lib" + java-pkg_newjar "${DISTDIR}/${MY_P}.jar" "${PN}.jar" + + local -a dolauncher_opts=( + "${MY_PN}" + --jar "/opt/${PN}-${SLOT}/lib/${PN}.jar" -into /opt + ) + java-pkg_dolauncher "${dolauncher_opts[@]}" } diff --git a/dev-lang/closure-compiler-bin/closure-compiler-bin-20231112.ebuild b/dev-lang/closure-compiler-bin/closure-compiler-bin-20231112.ebuild new file mode 100644 index 000000000000..1790b462aa70 --- /dev/null +++ b/dev-lang/closure-compiler-bin/closure-compiler-bin-20231112.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" +S="${WORKDIR}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=virtual/jre-1.8:* +" + +src_unpack() { + : +} + +src_compile() { + : +} + +src_install() { + java-pkg_jarinto "/opt/${PN}-${SLOT}/lib" + java-pkg_newjar "${DISTDIR}/${MY_P}.jar" "${PN}.jar" + + local -a dolauncher_opts=( + "${MY_PN}" + --jar "/opt/${PN}-${SLOT}/lib/${PN}.jar" + -into /opt + ) + java-pkg_dolauncher "${dolauncher_opts[@]}" +} diff --git a/dev-lang/closure-compiler-bin/metadata.xml b/dev-lang/closure-compiler-bin/metadata.xml index 278d93933d15..d510a7025973 100644 --- a/dev-lang/closure-compiler-bin/metadata.xml +++ b/dev-lang/closure-compiler-bin/metadata.xml @@ -1,8 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>xgqt@gentoo.org</email> + <name>Maciej Barć</name> + </maintainer> + <longdescription> + The Closure Compiler is a tool for making JavaScript download and run + faster. It is a true compiler for JavaScript. Instead of compiling from a + source language to machine code, it compiles from JavaScript to better + JavaScript. It parses your JavaScript, analyzes it, removes dead code and + rewrites and minimizes what's left. It also checks syntax, variable + references, and types, and warns about common JavaScript pitfalls. + </longdescription> <upstream> + <bugs-to>https://github.com/google/closure-compiler/issues/</bugs-to> <remote-id type="github">google/closure-compiler</remote-id> </upstream> </pkgmetadata> |