From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 17F4113888F for ; Wed, 21 Oct 2015 15:49:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 631C1E07F2; Wed, 21 Oct 2015 15:49:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC7AFE07F2 for ; Wed, 21 Oct 2015 15:49:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8860340656 for ; Wed, 21 Oct 2015 15:49:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04F1F1570 for ; Wed, 21 Oct 2015 15:49:03 +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: <1445442522.da5768f245e235a0290934144d56a5ff2ba16651.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-2.8.ebuild X-VCS-Directories: dev-java/gradle-bin/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: da5768f245e235a0290934144d56a5ff2ba16651 X-VCS-Branch: master Date: Wed, 21 Oct 2015 15:49:03 +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: 150949a7-32f9-4646-a00e-fe89d2823880 X-Archives-Hash: 571e864de51a3b7093f9e433ebbadacb commit: da5768f245e235a0290934144d56a5ff2ba16651 Author: Florian Schmaus geekplace eu> AuthorDate: Wed Oct 21 15:48:42 2015 +0000 Commit: Florian Schmaus geekplace eu> CommitDate: Wed Oct 21 15:48:42 2015 +0000 URL: https://gitweb.gentoo.org/proj/java.git/commit/?id=da5768f2 Add dev-java/gradle-bin-2.8 dev-java/gradle-bin/Manifest | 1 + dev-java/gradle-bin/gradle-bin-2.8.ebuild | 73 +++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest index 609caed..1e0e8dc 100644 --- a/dev-java/gradle-bin/Manifest +++ b/dev-java/gradle-bin/Manifest @@ -5,3 +5,4 @@ DIST gradle-2.3-all.zip 60081333 SHA256 515962aeec8c3e67b97f0c13c4575beeed1b5da1 DIST gradle-2.4-all.zip 65433094 SHA256 371cb9fbebbe9880d147f59bab36d61eee122854ef8c9ee1ecf12b82368bcf10 SHA512 a09b94f3453043ee3d73fbf9e029df8f82f94f27071338a1557e9504a0cf69ddd0f58821a021e23d798d66872c54c52c9e850bdfb559c674b9d418de78de60d5 WHIRLPOOL 816e04e67c55c36f1224534a40f5398f7aa32abe8f40d336d5596ccccb260d784de0fa86e8684e7cae3b1c00a0ffffd3067d61294aca44e23bef50ddd7627e41 DIST gradle-2.6-all.zip 65594074 SHA256 5489234fc9c9733fc4115055618763ccb4d916d667980e6ab4fa57fc81197d16 SHA512 29ec0ba12d5ac0658e7925ad760b25462384d7bfcb249638b42a0ff608b88aa9d7ec04c5e590d4c368c7ed8529b6d6a07dde552c2ae6dda7e33578a16cd4d41b WHIRLPOOL d7f8cdfef17960426685aff149c26151c25d82973b91f3d26ace39f21d030e09460fad3f77fd41c4932c3c5cdce8f9e78e38a30e6b365255c28d4dfb913d9564 DIST gradle-2.7-all.zip 65866593 SHA256 2ba0aaa11a3e96ec0af31d532d808e1f09cc6dcad0954e637902a1ab544b9e60 SHA512 89d2ec75d94b7e341dfd6b41813174ea08b12d097a4b58ecf31f56feea3335d52b897d3d03df7876b5b6182e09bbb215906d958531e60026bfd72541adc48ed7 WHIRLPOOL 4542918bcacface934b027620633b6821359b837996e530effd0a4bf435750320cd055fee8f6f26cd247fab0768cb8d4c03cc608b142c4bd4b9beafa3b663dfb +DIST gradle-2.8-all.zip 66378720 SHA256 65f3880dcb5f728b9d198b14d7f0a678d35ecd33668efc219815a9b4713848be SHA512 94ed03c08748688aa54ed48c4c634d97a7909c2f479d82508d736cbf0f4cf44da7d17922643abe275d4602d6e73fabb3aa5a95dc907bd98910f70675433464e7 WHIRLPOOL de9c9014000915aef9fde5e4a7143847fbc72df3cc409db4044ce4c37ec0f1d7cd035528ccf178018d551588a7c09d64f64d7033fe3ce490e98df881b9f92014 diff --git a/dev-java/gradle-bin/gradle-bin-2.8.ebuild b/dev-java/gradle-bin/gradle-bin-2.8.ebuild new file mode 100644 index 0000000..7b262af --- /dev/null +++ b/dev-java/gradle-bin/gradle-bin-2.8.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit java-pkg-2 + +MY_PN=${PN%%-bin} +MY_P="${MY_PN}-${PV/_rc/-rc-}" + +DESCRIPTION="A project automation and build tool similar to Apache Ant and Apache Maven 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.5" + +IUSE="source doc examples" + +S="${WORKDIR}/${MY_P}" + +src_install() { + local gradle_dir="${EROOT}usr/share/${PN}-${SLOT}" + + dodoc changelog.txt 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 + fi + + # examples + if use examples ; then + java-pkg_doexamples samples + fi + + # jars in lib/ + # Note that we can't strip the version from the gradle jars, + # because then gradle won't find them. + cd lib || die "lib/ not found" + for jar in *.jar; do + java-pkg_newjar ${jar} ${jar} + done + + # plugins in lib/plugins + cd plugins + java-pkg_jarinto ${JAVA_PKG_JARDEST}/plugins + for jar in *.jar; do + java-pkg_newjar ${jar} ${jar} + done + + java-pkg_dolauncher "${P}" --main org.gradle.launcher.GradleMain --java_args "-Dgradle.home=${gradle_dir}/lib \${GRADLE_OPTS}" +} + +pkg_postinst() { + eselect gradle update ifunset +} + +pkg_postrm() { + eselect gradle update ifunset +}