summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-07-30 22:25:07 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-07-30 22:25:07 +0000
commit0ba7cff9f03c04c7a11292efad7c871856a79c48 (patch)
tree4e4059db1dbecafe0fb9fa6cb5c9aa500023f31b /dev-java/aspectwerkz
parentVersion bump. (diff)
downloadgentoo-2-0ba7cff9f03c04c7a11292efad7c871856a79c48.tar.gz
gentoo-2-0ba7cff9f03c04c7a11292efad7c871856a79c48.tar.bz2
gentoo-2-0ba7cff9f03c04c7a11292efad7c871856a79c48.zip
Remove unneeded dependencies pointed out by java-dep-check.
(Portage version: 2.2_rc4/cvs/Linux 2.6.26-gentoo i686)
Diffstat (limited to 'dev-java/aspectwerkz')
-rw-r--r--dev-java/aspectwerkz/ChangeLog8
-rw-r--r--dev-java/aspectwerkz/aspectwerkz-2.0_rc2-r3.ebuild66
2 files changed, 73 insertions, 1 deletions
diff --git a/dev-java/aspectwerkz/ChangeLog b/dev-java/aspectwerkz/ChangeLog
index 27a49a202ab5..db955540f3ed 100644
--- a/dev-java/aspectwerkz/ChangeLog
+++ b/dev-java/aspectwerkz/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/aspectwerkz
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectwerkz/ChangeLog,v 1.23 2008/03/30 17:12:41 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectwerkz/ChangeLog,v 1.24 2008/07/30 22:25:07 betelgeuse Exp $
+
+*aspectwerkz-2.0_rc2-r3 (30 Jul 2008)
+
+ 30 Jul 2008; Petteri Räty <betelgeuse@gentoo.org>
+ +aspectwerkz-2.0_rc2-r3.ebuild:
+ Remove unneeded dependencies pointed out by java-dep-check.
30 Mar 2008; Markus Rothe <corsair@gentoo.org>
aspectwerkz-2.0_rc2-r2.ebuild:
diff --git a/dev-java/aspectwerkz/aspectwerkz-2.0_rc2-r3.ebuild b/dev-java/aspectwerkz/aspectwerkz-2.0_rc2-r3.ebuild
new file mode 100644
index 000000000000..0c3886aaa271
--- /dev/null
+++ b/dev-java/aspectwerkz/aspectwerkz-2.0_rc2-r3.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectwerkz/aspectwerkz-2.0_rc2-r3.ebuild,v 1.1 2008/07/30 22:25:07 betelgeuse Exp $
+
+EAPI=1
+# no rewriting required since we patch build.xml to contain target/source
+JAVA_PKG_BSFIX="off"
+JAVA_PKG_IUSE="java5 source"
+
+inherit java-pkg-2 eutils java-ant-2
+
+DESCRIPTION="AspectWerkz is a dynamic, lightweight and high-performant AOP/AOSD framework for Java."
+SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P/_rc/.RC}.zip"
+HOMEPAGE="http://aspectwerkz.codehaus.org"
+LICENSE="LGPL-2.1"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+RDEPEND=">=virtual/jre-1.3
+ dev-java/asm:1.5
+ dev-java/concurrent-util:0
+ dev-java/dom4j:1
+ dev-java/jrexx:0
+ dev-java/junit:0
+ dev-java/trove:0
+ dev-java/qdox:1.6"
+DEPEND="java5? ( >=virtual/jdk-1.5 )
+ !java5? ( >=virtual/jdk-1.3 )
+ ${RDEPEND}
+ app-arch/unzip"
+IUSE=""
+
+S=${WORKDIR}/aw_2_0_2
+
+# These fail
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ epatch "${FILESDIR}"/${P}-jdk15.patch
+
+ find . -name '*.jar' -exec rm -v {} \; || die
+ find . -name '*.class' -exec rm -v {} \; || die
+ cd "${S}"/lib
+ java-pkg_jar-from asm-1.5
+ java-pkg_jar-from concurrent-util
+ java-pkg_jar-from dom4j-1
+ java-pkg_jar-from jrexx
+ java-pkg_jar-from junit
+ java-pkg_jar-from trove
+ java-pkg_jar-from qdox-1.6
+}
+
+src_compile() {
+ local antflags
+ use "!java5" && antflags="-Dnojdk15=true"
+ eant ${antflags} dist || die "eant failed"
+}
+
+src_install() {
+ java-pkg_dojar lib/${PN}*.jar
+
+ use source && java-pkg_dosrc src/*
+}