diff options
author | Florian Schmaus <flow@gentoo.org> | 2022-09-30 12:25:20 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-09-30 12:25:57 +0200 |
commit | e76f24c5b634908b654a3af0194ed549f461ba7b (patch) | |
tree | f70e749fafe2b1a3e1962d06e20b1faa32cc62cf /dev-java/gradle-bin | |
parent | dev-java/gradle-bin: drop 7.5.1 (diff) | |
download | gentoo-e76f24c5b634908b654a3af0194ed549f461ba7b.tar.gz gentoo-e76f24c5b634908b654a3af0194ed549f461ba7b.tar.bz2 gentoo-e76f24c5b634908b654a3af0194ed549f461ba7b.zip |
Revert "dev-java/gradle-bin: drop 7.5.1"
This reverts commit f65c71d101479a64e62c71ac632c61fa7fccf4ab.
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java/gradle-bin')
-rw-r--r-- | dev-java/gradle-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-java/gradle-bin/gradle-bin-7.5.1.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest index 35f1fc4b3edd..a1c6edac9a0d 100644 --- a/dev-java/gradle-bin/Manifest +++ b/dev-java/gradle-bin/Manifest @@ -3,4 +3,5 @@ DIST gradle-bin-7.1.1.zip 154838841 BLAKE2B 0a0ad08101f0c5fa7c0cb2a4c9ad6e53320c DIST gradle-bin-7.2.zip 157058280 BLAKE2B 918213df58ac2afbd075c74588f60676cd7dc99030834828138c621348ac1abd368e0b54c2f6937cbfc9533e55e310b46cf841c92dcb1039b898c6f456032d38 SHA512 6ccc79f08afdc20b3d5abf876c3cabb69114d1ab4285cdb77158cd8c5e09207589edefb6c79f2bcffe4629a38c6b9e2f473de42dab29a24310965bc5816b907d DIST gradle-bin-7.3.3.zip 158875257 BLAKE2B 94f86e06da3eae4a9522d35a28577d033d64ce1bc2f36d0f5c1992e9b92ec311d25bd98bbeaf4b8a9869f22d93e14c88952e12166e436a0a6c206541d1f967aa SHA512 03f2bdd77202788cd43bb3e3a6390340f4d083d69ade5a53e0163204fb85307f5bbbbf4e04077c6ae558bc36ab3c478674f941079bc14a8344f55631fbba1490 DIST gradle-bin-7.4.2.zip 159315974 BLAKE2B c7c8dbe82d22dec699d1997a781f3a66110c9910dfe67df2304c48cead96c130ca072550b8c5fa2362744cd2ea3c9723c45a6ecf6e0737fe3c9b7e286b44f4ae SHA512 2e1d05486baa9661d5c8ffead2df87874a66f6cfc958ee6840432b89d221d8b0af9e3cad3675766f5413d12aa61c5b5fb0dd82f4164e5da3022865eba9ceadbf +DIST gradle-bin-7.5.1.zip 166101707 BLAKE2B e018f8ae0e4cbe1fff2e3fb3029ef4c3f35e1bf541ce75f22561e16c43d8501c2f2501db72081656a836ab1c3358020dbf0be3499e7c16b385d9940c852c62ae SHA512 89189d529df1258a01ad2e6c38b1374dfb3a1440706c1c7f27ace89b6fd5b6849f9809f209e3e410f226aeeb9348d144de70397ac94b4e59fd311a2b0dee0dc9 DIST gradle-bin-7.5.zip 166044548 BLAKE2B 2814ebe54bbe7165e6337be087bf2c841ff308c5d3f6c01e7a4d1dd63c13e723e9c06c395632edb32b7c9f84d174e1c0dd8c6ffee1f35f0b33201e24615b6521 SHA512 48646d59cd89836c33805fe3899587d338b46665f8f9c9d1535aa862b2a331e3045aa77cf4f2523e85b88ca3d2c58e0b4990fc02b84fb79e327817e37d9c6319 diff --git a/dev-java/gradle-bin/gradle-bin-7.5.1.ebuild b/dev-java/gradle-bin/gradle-bin-7.5.1.ebuild new file mode 100644 index 000000000000..0e7b49ee8847 --- /dev/null +++ b/dev-java/gradle-bin/gradle-bin-7.5.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +IUSE="doc" +JAVA_PKG_IUSE="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" +SRC_URI="https://services.gradle.org/distributions/${MY_P}-all.zip -> ${P}.zip" +HOMEPAGE="https://www.gradle.org/" + +LICENSE="Apache-2.0" +SLOT="${PV}" +KEYWORDS="amd64 x86" + +DEPEND="app-eselect/eselect-gradle" +BDEPEND="app-arch/unzip" +RDEPEND=" + ${DEPEND} + >=virtual/jre-1.8:* +" + +S="${WORKDIR}/${MY_P}" + +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 +} |