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 106F61384B4 for ; Mon, 9 Nov 2015 09:27:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D1ED21C027; 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 924F421C028 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 5282733FFDD 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 74EB12370 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: <1447061093.e77dd2b253ab92d12456b41e26ac8dfbc1a76188.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-4.0-r1.ebuild X-VCS-Directories: dev-java/asm/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: e77dd2b253ab92d12456b41e26ac8dfbc1a76188 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: bcc794e6-f723-4c02-9da2-1e39255cd27e X-Archives-Hash: 82c4206b8c0c5096c21f18c94a0d008a commit: e77dd2b253ab92d12456b41e26ac8dfbc1a76188 Author: Patrice Clement gentoo org> AuthorDate: Mon Nov 9 08:41:12 2015 +0000 Commit: Patrice Clement gentoo org> CommitDate: Mon Nov 9 09:24:53 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e77dd2b2 dev-java/asm: EAPI 5 bump. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement gentoo.org> dev-java/asm/asm-4.0-r1.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/dev-java/asm/asm-4.0-r1.ebuild b/dev-java/asm/asm-4.0-r1.ebuild new file mode 100644 index 0000000..f3dc1e6 --- /dev/null +++ b/dev-java/asm/asm-4.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="${PN}-${PV/rc/RC}" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.ow2.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="4" +IUSE="" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x64-macos" + +DEPEND=">=virtual/jdk-1.5" +RDEPEND=">=virtual/jre-1.5" + +# Needs dependencies we don't have yet. +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" +EANT_DOC_TARGET="jdoc" + +# Fails if this objectweb.ant.tasks.path is not set. +# Java generics seem to break unless product.noshrink is set. +EANT_EXTRA_ARGS="-Dobjectweb.ant.tasks.path=foobar -Dproduct.noshrink=true" + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar "${x}" $(basename "${x%-*}.jar") + done + + use doc && java-pkg_dojavadoc output/dist/doc/javadoc/user/ + use source && java-pkg_dosrc src/* +}