commit:     725f928e7578cad968d0c9a7b2ca91452232692e
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 23 17:17:59 2019 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Feb 23 19:53:01 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=725f928e

dev-java/gradle-bin: version bump.

Closes: https://bugs.gentoo.org/677228
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-java/gradle-bin/Manifest                |  1 +
 dev-java/gradle-bin/gradle-bin-5.2.1.ebuild | 56 +++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest
index cd385939f9a..c3636088586 100644
--- a/dev-java/gradle-bin/Manifest
+++ b/dev-java/gradle-bin/Manifest
@@ -1,2 +1,3 @@
 DIST gradle-3.3-all.zip 91388147 BLAKE2B 
15539ec06cadcdaee9d54928381d5626bf06bae3251eb304fee095e6d0362f23759e99e3841dac2b9a1eed50b6057ecce78230dafb45711bfe764bf107b1f704
 SHA512 
4b852eaf4030c780516fe9214c289e49fc93fc62672da70b7fd6bbbcd128e6912dd196195ce32570984503ea53b48593a41fbf4ec69b0f18b5e32c2fe9e556b3
 DIST gradle-3.4.1-all.zip 91604607 BLAKE2B 
1c4aaae4899f3faa94fc3ead84c4fd4bdb6212c0f579a255c7494896fd2a498890c58e853315892c3c9d78635b58da5423b1b2211b991639474d19eca1f2992f
 SHA512 
bdaabf747e60ae1cf2c9fedb0730a2e3deb914609db05ffc7e4cbd5402bc44e84d2c98154f14fdd7f944c2f49eb5dead0f44c119ac5a16bd7491c3369d784f5c
+DIST gradle-bin-5.2.1.zip 132549774 BLAKE2B 
c6d6fa9975bc28030672a99f22f0e9c4c2cb3d667ae3658c1062428d0ab2fd8c3b4df0479f4fde7b2d75b8fcb64c7f5b208e53c5b30a9b3c7afb5ad7e1a4139d
 SHA512 
e2a17072c10d27acbe4a0282dfdfed907ab5c57109668595feaec681ab1d4be017ac0f6090c2c2b64a057d71c1e244bb50f4047509d36c5930e894837a96171b

diff --git a/dev-java/gradle-bin/gradle-bin-5.2.1.ebuild 
b/dev-java/gradle-bin/gradle-bin-5.2.1.ebuild
new file mode 100644
index 00000000000..0f029927d1f
--- /dev/null
+++ b/dev-java/gradle-bin/gradle-bin-5.2.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit java-pkg-2
+
+IUSE="source doc examples"
+
+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="http://services.gradle.org/distributions/${MY_P}-all.zip -> ${P}.zip"
+HOMEPAGE="http://www.gradle.org/";
+
+LICENSE="Apache-2.0"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       >=virtual/jdk-1.6"
+
+DEPEND="
+       app-arch/zip
+       >=virtual/jre-1.6"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+       local gradle_dir="${EPREFIX}/usr/share/${PN}-${SLOT}"
+
+       dodoc docs/release-notes.html getting-started.html
+
+       insinto "${gradle_dir}"
+
+       # source
+       if use source ; then
+               java-pkg_dosrc src/*
+       fi
+
+       # docs
+       if use doc ; then
+               java-pkg_dojavadoc docs/javadoc
+       fi
+
+       # examples
+       if use examples ; then
+               java-pkg_doexamples samples
+       fi
+
+       insinto "${gradle_dir}"
+       doins -r bin/ lib/
+       fperms 755 "${gradle_dir}/bin/gradle"
+       dosym "${gradle_dir}/bin/gradle" "/usr/bin/${MY_PN}-${SLOT}"
+}

Reply via email to