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 DE7051388C1 for ; Wed, 24 Feb 2016 14:17:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58B1021C02A; Wed, 24 Feb 2016 14:17:04 +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 C731021C02A for ; Wed, 24 Feb 2016 14:17:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D05D4340CAC for ; Wed, 24 Feb 2016 14:17:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF60D8F5 for ; Wed, 24 Feb 2016 14:17:00 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1456322610.ec8a19bb46913cac3724fabaf481954a6b1a81d9.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/trove/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/trove/trove-3.0.2-r2.ebuild X-VCS-Directories: dev-java/trove/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: ec8a19bb46913cac3724fabaf481954a6b1a81d9 X-VCS-Branch: master Date: Wed, 24 Feb 2016 14:17:00 +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: 46f078a5-6f04-4698-8a02-d1a54bd5e94a X-Archives-Hash: ecbf2a77c9ad82f9a869136d01308ab3 commit: ec8a19bb46913cac3724fabaf481954a6b1a81d9 Author: Patrice Clement gentoo org> AuthorDate: Wed Feb 24 14:01:24 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Wed Feb 24 14:03:30 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec8a19bb dev-java/trove: Switch to java-pkg-simple. Fixes bug 575552. Package-Manager: portage-2.2.26 dev-java/trove/trove-3.0.2-r2.ebuild | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/dev-java/trove/trove-3.0.2-r2.ebuild b/dev-java/trove/trove-3.0.2-r2.ebuild new file mode 100644 index 0000000..821035c --- /dev/null +++ b/dev-java/trove/trove-3.0.2-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="GNU Trove: High performance collections for Java" +SRC_URI="mirror://sourceforge/trove4j/${P}.tar.gz" +HOMEPAGE="http://trove4j.sourceforge.net" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" + +SLOT="0" +LICENSE="LGPL-2.1" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.6" + +DEPEND=" + app-arch/unzip + >=virtual/jdk-1.6" + +S="${WORKDIR}/${PV}" + +RESTRICT="test" + +JAVA_SRC_DIR="src" + +java_prepare() { + unzip -d "${P}" "${P}-src.jar" || die + cp -r "${P}"/* ./src || die + rm -rf "${P}" || die + find ./src \ + -type f \ + ! -name "*.java" \ + -exec rm -v {} \; || die + java-pkg_clean +}