diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-03 06:31:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-03 06:31:16 +0000 |
commit | 5087ee3bf0055aae666159351774f2fb3610e571 (patch) | |
tree | 203f4d869518e7391a255055ca9a4b874e7b2d19 /dev-java | |
parent | ff733bfb4d0bd82175e03255004faef8721b53ea (diff) |
gentoo auto-resync : 03:01:2025 - 06:31:16
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/Manifest.gz | bin | 55386 -> 55389 bytes | |||
-rw-r--r-- | dev-java/gradle-bin/Manifest | 4 | ||||
-rw-r--r-- | dev-java/gradle-bin/gradle-bin-8.12.ebuild | 59 | ||||
-rw-r--r-- | dev-java/gradle-bin/metadata.xml | 21 | ||||
-rw-r--r-- | dev-java/scala-cli-bin/Manifest | 4 | ||||
-rw-r--r-- | dev-java/scala-cli-bin/scala-cli-bin-1.5.4.ebuild | 78 |
6 files changed, 157 insertions, 9 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex c8bfa5ad58bd..aa1cee7b4b76 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest index 9fb1e4bbb702..e03fb78a675a 100644 --- a/dev-java/gradle-bin/Manifest +++ b/dev-java/gradle-bin/Manifest @@ -1,9 +1,11 @@ DIST gradle-bin-8.10.2.zip 227989293 BLAKE2B 3eaafca3c06bb82b6c95026421f40d1e24f590d2660f781aca8f3eaac72a8077bbb735297465d8ad430507003fd9231db848369e96542276098614942076258f SHA512 b2fbf57701e7d8f02b425988afe3fcad7a22814823b4748db68ea4c1c7f3027110b3d3b5f6797eded037cc28356b630b1bd6b24e0169107b85abdc860184ee53 +DIST gradle-bin-8.12.zip 229762718 BLAKE2B e3a8429c0e2012a58243743b25f6adf45b722032162df64dbf8e28293b7be71649f3084328726bbfed9351870b7126c171428dabadd5c6be7d08a029fc518d2a SHA512 238d3ca819e1ec8c5b14e25481eff1e0d25e71c151f14ebfeb6a1787f189c6a18a239570e5215f762608769fed90c6eeab3c26c30b40bb897faccabdb46b9f89 DIST gradle-bin-8.4.zip 212870963 BLAKE2B da32c1010e85f6cded0c1b539b243db6d41fcd033266be3b03b389e6a2e317bea17ddbe65c597c7ea82628cc5bec913954ec998d018b68daa67d39f9a8958e7e SHA512 52d5f622b8ad0ab36ff84589733b47423b12f94211086a84eca9810690af29e396877f1155ee31279c4325e98cd1d55b32137d52efcf48eb1e258caeece08f22 DIST gradle-bin-8.5.zip 218636663 BLAKE2B 0360f240f6183abec540f7755a966767a8dc175ca0ea047273e05c4b2219fd80cb92e62e9b961481d646157418cc91ea211eb83530cc6ec815ea790f6ad8380a SHA512 37a1c2989c46dad0f843565d05fd29010df10ac199d81f0ccddf56ffd490642039046d43a320ba04d1f87cbbc6d4cebf20ff66ce45ec005931cfc85aee2e0180 DIST gradle-bin-8.7.zip 224435312 BLAKE2B 1926765aea8931b25a9f0b7b9a224dd70756cfd337eecb364c6d288486187dd6311f888c7e1c36b1fc81b454c3514d2807884343e7782f1be45fce03e611496b SHA512 fc18863654cbe8dd2357f388c0fc5f699ca2d40ffd32c283f00cfd5bda94e1711ab7b7a3b154e7da66c17468f00c3c72fe6b6603c4a29617b33b0f292cbac3de EBUILD gradle-bin-8.10.2.ebuild 1090 BLAKE2B ca546f31c768bcccb4a186d006a2a1b7810a25099829758a3de45b45af697299e1cf9564aaefd37821bf569ef5ddb28ed0507e09a65a6ea0f63116bbdb5070de SHA512 48ce25fd203a21269c9d028ad9d1d94aa600c47cbfd6dbacc56abfb2c7ee62eb4c6bf820aa63c0971aaf7ebb80fd41528026784d95d0fceddf5315b988457844 +EBUILD gradle-bin-8.12.ebuild 1091 BLAKE2B b7c340ef0c5dffe50a20e9802ae2cc30fb8334788d2188be062e4d6ab546bc1e4679b62289c9bb4fc30212800a38150095efecd020dd6a16e5fa930a8503e0e0 SHA512 525855e0400f260b63a74dfc033d41c29ce532381354b773f6b6f170dd1b44b2c1e527590def1623d0748d3c2b8627749166fd469cd49fb4fce2301e756a6c47 EBUILD gradle-bin-8.4.ebuild 1103 BLAKE2B cc65b54d1c64900a60a64e029f41758b6a56b80b554668bf4ed0765609ed7a3b4714c97eac52a4770eb24ee3132d7b24853b816d3affd97c566743957cbb88ce SHA512 13040bc4f8b6a6e0c0bbec7e4c77c635b12a546a04024082e1fd1729356b0b9c6b8180460c996fd21ab805bd4a3ec4e70bd02c4e0ad3c6caade3786e8aca931e EBUILD gradle-bin-8.5.ebuild 1103 BLAKE2B cc65b54d1c64900a60a64e029f41758b6a56b80b554668bf4ed0765609ed7a3b4714c97eac52a4770eb24ee3132d7b24853b816d3affd97c566743957cbb88ce SHA512 13040bc4f8b6a6e0c0bbec7e4c77c635b12a546a04024082e1fd1729356b0b9c6b8180460c996fd21ab805bd4a3ec4e70bd02c4e0ad3c6caade3786e8aca931e EBUILD gradle-bin-8.7.ebuild 1103 BLAKE2B cc65b54d1c64900a60a64e029f41758b6a56b80b554668bf4ed0765609ed7a3b4714c97eac52a4770eb24ee3132d7b24853b816d3affd97c566743957cbb88ce SHA512 13040bc4f8b6a6e0c0bbec7e4c77c635b12a546a04024082e1fd1729356b0b9c6b8180460c996fd21ab805bd4a3ec4e70bd02c4e0ad3c6caade3786e8aca931e -MISC metadata.xml 356 BLAKE2B fa5433b47d358144596ec5c02ea3d766d13561cbf383a2dcb492ca66f9ebae593e12534630edf229ee6e136f336a0ff091dedeb67e155cb43bd219284fd1f4d3 SHA512 d8e58592957b0707bb016273f8209e3ba975a907a691b60d610e8ef4204a62ed89e4475b8b198659afb9f9b654b71c0f52eb3ce7a00e46fa17831da69dc24470 +MISC metadata.xml 550 BLAKE2B 6ffdf8a9d97739752de40984e3aac1fb88dbbbfbb624e9016d47b7db27d894f10bc9817ab731d2d4b936b4f6945199a69b4bafe667639467ab28a6ab011d3ac2 SHA512 061a24452d385794570ea03b7d2a3bac8ab6f0ee8eda7b2fe51fed7fa31234856668d65a487bb0743f9d081877a51c8fefeec8b136e8a7efe885340bb4630ff1 diff --git a/dev-java/gradle-bin/gradle-bin-8.12.ebuild b/dev-java/gradle-bin/gradle-bin-8.12.ebuild new file mode 100644 index 000000000000..ec8906f55248 --- /dev/null +++ b/dev-java/gradle-bin/gradle-bin-8.12.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 + +MY_PN=${PN%%-bin} +MY_P="${MY_PN}-${PV/_rc/-rc-}" + +DESCRIPTION="A project automation and build tool with a Groovy based DSL" +HOMEPAGE="https://gradle.org" +SRC_URI="https://services.gradle.org/distributions/${MY_P}-all.zip -> ${P}.zip" + +S="${WORKDIR}/${MY_P}" +LICENSE="Apache-2.0" +SLOT="${PV}" +KEYWORDS="~amd64" + +DEPEND="app-eselect/eselect-gradle" +BDEPEND="app-arch/unzip" +RDEPEND=" + ${DEPEND} + >=virtual/jre-1.8:* +" + +src_compile() { + : +} + +src_install() { + local gradle_dir="/usr/share/${PN}-${SLOT}" + + if use source; then + java-pkg_dosrc src + fi + + docinto html + dodoc -r docs/release-notes.html + if use doc; then + dodoc -r docs/{dsl,userguide} + java-pkg_dojavadoc docs/javadoc + fi + + insinto "${gradle_dir}" + doins -r bin/ lib/ + fperms 755 "${gradle_dir}/bin/gradle" + dosym "${gradle_dir}/bin/gradle" "/usr/bin/${PN}-${SLOT}" +} + +pkg_postinst() { + eselect gradle update ifunset +} + +pkg_postrm() { + eselect gradle update ifunset +} diff --git a/dev-java/gradle-bin/metadata.xml b/dev-java/gradle-bin/metadata.xml index a16401d9805a..39a065022e21 100644 --- a/dev-java/gradle-bin/metadata.xml +++ b/dev-java/gradle-bin/metadata.xml @@ -1,12 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>flow@gentoo.org</email> - <name>Florian Schmaus</name> - </maintainer> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> + <maintainer type="person"> + <email>flow@gentoo.org</email> + <name>Florian Schmaus</name> + </maintainer> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <upstream> + <remote-id type="github">gradle/gradle</remote-id> + <bugs-to>https://github.com/gradle/gradle/issues</bugs-to> + <changelog>https://github.com/gradle/gradle/releases</changelog> + </upstream> </pkgmetadata> diff --git a/dev-java/scala-cli-bin/Manifest b/dev-java/scala-cli-bin/Manifest index 5320f908d187..8bbba965cb06 100644 --- a/dev-java/scala-cli-bin/Manifest +++ b/dev-java/scala-cli-bin/Manifest @@ -1,5 +1,9 @@ DIST scala-cli-amd64-1.5.1.gz 34375992 BLAKE2B 4af5f420df9ef15e4252bc65dc17b3c9df516e784cf5d5e48cc93686c6a068e13b5098c552d8c9155739eb56cecb7e410289025f3281135b9d7d4cfc5e0d5cd5 SHA512 0adcc503fd7de00d0df97c5c31c7fca18e6ce4e6f91b8a07ae4f94107b289f7301513d22ab6ab06f74a956b0ceb648cd487105ab5289c477c52287466e1d6e45 +DIST scala-cli-amd64-1.5.4.gz 34280702 BLAKE2B 9bbfa286a66bfb41dce3222496a302b30f45c021cf2c82a3657c4de786f91ce79b4c551213bbaa4cc3ca34b289c9c440203aeb65093633f79df538881c5cb08e SHA512 bc905499117e24b78c5beca91fb4cf34063c2bb48000b920c085346ae11db15b9c0905ec6846794ac706bd06874130e8981a2f5ff4a47f5f93a1238e530e3709 DIST scala-cli-arm64-1.5.1.gz 34284162 BLAKE2B 1db3c49d52a47ab276600d6e29179a920256ba56262cac0368dd8e8ddfd6f1b570a5124b64bc4005a7212801ad8615997a3f91f807e878a989e1359d053ea10e SHA512 026cfde5c108df8d91acf3394a53dfb49a962cd6ac1a1be78c4601afa4823d410205ad147bb8830b17923d209a0333d75b50dede1a00208081f64928e4198364 +DIST scala-cli-arm64-1.5.4.gz 34215069 BLAKE2B 0e54f4580a5c28c8992ca48ed96e5d31104016320060c2e56c1687267211b03401ed3f5486138f80abe5349bd218bf86966c9f57d44240aa6a2416e7af52f797 SHA512 ad90eb6436f1d82d9625cce250fc5c8d614dab9d9918dd8243993a5df6648f91f4969df96ead50774cf9712d22f161a5852ba47746f89b27f8225850f3f3395d DIST scala-cli-non-native-1.5.1 8105280 BLAKE2B 2957eeda0c27f6c91de9cb36f103d5f9bfdcff5110e8c5b51c6067c756c1592f6e5e94f59b9471260bcd50369f50874ca6901466e4bc2e654e51c3666763620e SHA512 600b66c8db534f6e04c8a3ada969b998bb5923e9ec2322dc1919032c4221bfb3c259dda7abdf7f862d9693d4658fedef607d6a85094d1e6c6ed7f4655d9a8146 +DIST scala-cli-non-native-1.5.4 8122943 BLAKE2B 10e3ef02dcdc72e3d3ca0de693242d82ea18fc6358c955a71be77a0086bd6f67ec7ceddabb1746a00f125a55a0bad2800d54dfc0d94fc53cbd6ffb8ae185f604 SHA512 f0068a4b7f338b5fd59020270a2fb7bc15773bee3fb12a52311ef3b587e2ceb7f3cbe81480d2198e68f3bb1997f2861ddd90f89a7c7bc0c153d4f541075fa6c3 EBUILD scala-cli-bin-1.5.1.ebuild 1818 BLAKE2B a4d6474f97c3b2d541aa34cbfb38ed46b2f7fcf5c7c846cbc267bc4166a8253461b5492efd40774ef66561547b09d331a4d65e4b43ab367e7d30ed0edf1005b8 SHA512 fa372922a0f21402badac4d0c796097fdef48b0db43e56a4a31d7131b794d25c32301acfdb333821c9ea5ecdd9a6e206632037f76d7f7aff9d892e8ece25dcca +EBUILD scala-cli-bin-1.5.4.ebuild 1819 BLAKE2B a6c864c6973d3c525f92f9039b403f3e1d8046ec261da70a039c11bf33f434fd14804f931389284a4eb2ac35fa62e403314c2101def1bf384c6bb45aadff38f6 SHA512 5e4f083d624c7dd239f89136673b41c09404af2a63d83374f964bcac2204c9252d12863a4674daf357b59fafad4cdee2c25d34ce0f5d06bd30d124648f525359 MISC metadata.xml 471 BLAKE2B 651dc485aacabfc581d9f5d5ab1cf524601b38fd2024113fbd8986090131e6c458db3c2d9649e9876df74f0e7471cdc66c8f1307ed71baa18508754143c10411 SHA512 6906a09bc65b6d1887a9a17d9be2e7afc990ea017439cad751fcfee806df0c456006473141b69f52b5373227cfd6e2f66e7750903d4bd9736f40d6c93cbede4e diff --git a/dev-java/scala-cli-bin/scala-cli-bin-1.5.4.ebuild b/dev-java/scala-cli-bin/scala-cli-bin-1.5.4.ebuild new file mode 100644 index 000000000000..8265419c2174 --- /dev/null +++ b/dev-java/scala-cli-bin/scala-cli-bin-1.5.4.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 + +UPSTREAM_PV=${PV/_/-} +UPSTREAM_PV=${UPSTREAM_PV/rc/RC} + +DESCRIPTION="CLI to interact with Scala and Java" +HOMEPAGE="https://scala-cli.virtuslab.org/" +SRC_URI=" + !amd64? ( !arm64? ( + https://github.com/VirtusLab/scala-cli/releases/download/v${UPSTREAM_PV}/scala-cli + -> scala-cli-non-native-${UPSTREAM_PV} + ) ) + amd64? ( + https://github.com/VirtusLab/scala-cli/releases/download/v${UPSTREAM_PV}/scala-cli-x86_64-pc-linux.gz + -> scala-cli-amd64-${UPSTREAM_PV}.gz + ) + arm64? ( + https://github.com/VirtusLab/scala-cli/releases/download/v${UPSTREAM_PV}/scala-cli-aarch64-pc-linux.gz + -> scala-cli-arm64-${UPSTREAM_PV}.gz + ) +" + +S="${WORKDIR}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +# A JRE is not strictly required if native images of scala-cli are used +# (amd64, arm64). However we may want a system JRE anyway, and having JRE +# in RDEPEND reduces the chances that scala-cli needs to install one +# for the user. +RDEPEND=" + >=virtual/jre-11 + sys-libs/zlib +" +BDEPEND="!amd64? ( !arm64? ( >=virtual/jre-11 ) )" + +QA_TEXTRELS="*" +QA_FLAGS_IGNORED="/usr/bin/scala-cli" + +src_prepare() { + default + + if use amd64; then + mv scala-cli-amd64-${UPSTREAM_PV} scala-cli || die + elif use arm64; then + mv scala-cli-arm64-${UPSTREAM_PV} scala-cli || die + else + mv scala-cli-non-native-${UPSTREAM_PV} scala-cli || die + fi + + chmod +x scala-cli || die +} + +src_compile() { + for shell in bash zsh; do + ./scala-cli install-completions \ + --shell ${shell} \ + --env \ + --output "${S}" \ + > ${shell}-completion || die + done +} + +src_install() { + dobin scala-cli + + newbashcomp bash-completion scala-cli + + insinto /usr/share/zsh/site-functions + doins zsh/_scala-cli +} |