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 9B6641384B4 for ; Mon, 9 Nov 2015 09:27:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2370F21C028; Mon, 9 Nov 2015 09:27:19 +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 833B621C027 for ; Mon, 9 Nov 2015 09:27:18 +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 8E1433404A5 for ; Mon, 9 Nov 2015 09:27:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51D21236E for ; Mon, 9 Nov 2015 09:27:14 +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: <1447061079.ce4c7b3b321a55118c115de7e18f510a5d063550.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/asm/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/asm/asm-2.2.3-r2.ebuild X-VCS-Directories: dev-java/asm/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: ce4c7b3b321a55118c115de7e18f510a5d063550 X-VCS-Branch: master Date: Mon, 9 Nov 2015 09:27:14 +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: 2566738f-e8ff-4a28-a3b1-a3407f3e7213 X-Archives-Hash: 5467cd8a84e6dde1bf74b6ae9242a592 commit: ce4c7b3b321a55118c115de7e18f510a5d063550 Author: Patrice Clement gentoo org> AuthorDate: Mon Nov 9 08:37:59 2015 +0000 Commit: Patrice Clement gentoo org> CommitDate: Mon Nov 9 09:24:39 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce4c7b3b dev-java/asm: EAPI 5 bump. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement gentoo.org> dev-java/asm/asm-2.2.3-r2.ebuild | 52 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/dev-java/asm/asm-2.2.3-r2.ebuild b/dev-java/asm/asm-2.2.3-r2.ebuild new file mode 100644 index 0000000..0b96970 --- /dev/null +++ b/dev-java/asm/asm-2.2.3-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.objectweb.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz" +LICENSE="BSD" +SLOT="2.2" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="doc source" + +CDEPEND="dev-java/ant-core:0 + dev-java/ant-owanttask:0" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +DEPEND=" + ${CDEPEND} + source? ( app-arch/zip ) + >=virtual/jdk-1.6" + +PATCHES=( + "${FILESDIR}/${P}-build.xml.patch" + "${FILESDIR}/${P}-commons.patch" +) + +JAVA_ANT_ENCODING="ISO-8859-1" +EANT_DOC_TARGET="jdoc" + +# Needs unpackaged deps. +# https://bugs.gentoo.org/show_bug.cgi?id=212860 +RESTRICT="test" + +java_prepare() { + epatch "${PATCHES[@]}" + echo "objectweb.ant.tasks.path = $(java-pkg_getjar --build-only ant-owanttask ow_util_ant_tasks.jar)" >> build.properties || die +} + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar ${x} $(basename ${x/-${PV}}) + done + use doc && java-pkg_dohtml -r output/dist/doc/javadoc/user/* + use source && java-pkg_dosrc src/* +}