From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 04577138AE9 for ; Wed, 27 Dec 2017 15:16:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18115E0CAE; Wed, 27 Dec 2017 15:16:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9B91E0CAE for ; Wed, 27 Dec 2017 15:16:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D8D2633BE2E for ; Wed, 27 Dec 2017 15:16:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7214AAF37 for ; Wed, 27 Dec 2017 15:16:44 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1514387782.a4416ff4084ca806661d79a641e2efc19ae3bd5b.flow@gentoo> Subject: [gentoo-commits] proj/java:master commit in: dev-java/gradle-bin/ X-VCS-Repository: proj/java X-VCS-Files: dev-java/gradle-bin/Manifest dev-java/gradle-bin/gradle-bin-4.4.1.ebuild X-VCS-Directories: dev-java/gradle-bin/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: a4416ff4084ca806661d79a641e2efc19ae3bd5b X-VCS-Branch: master Date: Wed, 27 Dec 2017 15:16:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: db94f7cf-e6f3-4f1e-8398-354cafdbfdcd X-Archives-Hash: da9d6f054b501a4a46032e8379abc7c9 commit: a4416ff4084ca806661d79a641e2efc19ae3bd5b Author: Florian Schmaus geekplace eu> AuthorDate: Wed Dec 27 15:16:22 2017 +0000 Commit: Florian Schmaus geekplace eu> CommitDate: Wed Dec 27 15:16:22 2017 +0000 URL: https://gitweb.gentoo.org/proj/java.git/commit/?id=a4416ff4 dev-java/gradle-bin: Add gradle-bin-4.4.1 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-java/gradle-bin/Manifest | 1 + dev-java/gradle-bin/gradle-bin-4.4.1.ebuild | 60 +++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest index e4db9438..7ea87843 100644 --- a/dev-java/gradle-bin/Manifest +++ b/dev-java/gradle-bin/Manifest @@ -7,3 +7,4 @@ DIST gradle-3.5-all.zip 95084513 SHA256 d84bf6b6113da081d0082bcb63bd8547824c6967 DIST gradle-4.0-all.zip 90002272 SHA256 a0af75d3d35799a90f56255a24de69c53cd9aea90f0b532586c8f818668e1734 SHA512 4a7ad4519bde94e63f7e14f83180524ee5c63d496d49c41ac7add64ccad1b105bd9a20f2e4bc0791c539845f97e6985328bd732b8ad8d5029afd87ff8b59b2eb WHIRLPOOL 0b1bb585646a83bd17a7d609e8a0f96abf5da16a737a2236c7aace19fc499fddc74a4a412a076835cf8ff9a2bda32447a81fc832871c415a706a29dc451a81fd DIST gradle-4.2.1-all.zip 94169326 SHA256 7897b59fb45148cd8a79f078e5e4cef3861a252dd1a1af729d0c6e8a0a8703a8 SHA512 f49418108809c16eba4436ba8eb101fee2ac028bd306437c146b6c8bba8dccaf8e0aaed2da9d1ea89368ea6e9459f149cf26fa1669d3f91dcc8568dd10d5efd2 WHIRLPOOL ed9cf347df6b1af2a4219a048ad387074766feee7b979e03cb677b85faf1c72e7a0787a0f3a1fdea39a524fbab33abaade9f4a2d4e244c40e52e8630ff4c3ac8 DIST gradle-4.3.1-all.zip 96293086 SHA256 c5b67330a8a211539d713852c56a6a80fdea365d8902df92d1759d913d18fa2d SHA512 579e4516e53b0ed3ac51f115ba1aa46afec02b7f7839a572f67c464e11ee6ba892b6b1747b90288ce40869f1d7997468fb96c4e6c227ab51820a3d080fc70a06 WHIRLPOOL f2f2930948d6051be9d9a25846c07dcffac20f1038d57dce7dfd59b7a26a2792750c723329f444d31a80cccc8495ca3e5130298663143d4ee73aafbf369aaa5b +DIST gradle-4.4.1-all.zip 99180462 SHA256 dd9b24950dc4fca7d1ca5f1ccd57ca8c5b9eb407e3e6e0f48174fde4bb19ed06 SHA512 f281be409fee7c0b554c0920dd01a09eee0449cc8894e364a0174181836cf4ab986d078ea9fa48acfd16c8900d44cafedf3daeb804f0996f67af2438f5857233 WHIRLPOOL e18552e8e2d330b01068aa8468e86cff2637b82b8c1194327cebc2541020293828b7193168e2cb8c94ae61427e4815e1b694509d5af0965cd633042710d2b635 diff --git a/dev-java/gradle-bin/gradle-bin-4.4.1.ebuild b/dev-java/gradle-bin/gradle-bin-4.4.1.ebuild new file mode 100644 index 00000000..013665cc --- /dev/null +++ b/dev-java/gradle-bin/gradle-bin-4.4.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +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="http://services.gradle.org/distributions/${MY_P}-all.zip" +HOMEPAGE="http://www.gradle.org/" +LICENSE="Apache-2.0" +SLOT="${PV}" +KEYWORDS="~x86 ~amd64" + +DEPEND="app-arch/zip + app-eselect/eselect-gradle" +RDEPEND=">=virtual/jdk-1.6" + +IUSE="source doc examples" + +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/${PN}-${SLOT}" +} + +pkg_postinst() { + eselect gradle update ifunset +} + +pkg_postrm() { + eselect gradle update ifunset +}