diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-03-05 17:25:17 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-03-05 17:25:17 +0000 |
commit | 4f0a464e5a18cb2bdac04eacba25f3e5d7008bd1 (patch) | |
tree | cd8e7f1058de215a72cce2670e785c86d85cef7a /dev-java/commons-lang | |
parent | Add src_test support. (diff) | |
download | gentoo-2-4f0a464e5a18cb2bdac04eacba25f3e5d7008bd1.tar.gz gentoo-2-4f0a464e5a18cb2bdac04eacba25f3e5d7008bd1.tar.bz2 gentoo-2-4f0a464e5a18cb2bdac04eacba25f3e5d7008bd1.zip |
Fix to work with generic src_test that will be soon added.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-java/commons-lang')
-rw-r--r-- | dev-java/commons-lang/ChangeLog | 12 | ||||
-rw-r--r-- | dev-java/commons-lang/commons-lang-2.1-r1.ebuild | 33 | ||||
-rw-r--r-- | dev-java/commons-lang/commons-lang-2.3.ebuild | 10 |
3 files changed, 16 insertions, 39 deletions
diff --git a/dev-java/commons-lang/ChangeLog b/dev-java/commons-lang/ChangeLog index f356d95f3e20..e6f22f0ba70f 100644 --- a/dev-java/commons-lang/ChangeLog +++ b/dev-java/commons-lang/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-java/commons-lang -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/ChangeLog,v 1.49 2007/11/25 10:08:06 nelchael Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/ChangeLog,v 1.50 2008/03/05 17:25:17 betelgeuse Exp $ + + 05 Mar 2008; Petteri Räty <betelgeuse@gentoo.org> + -commons-lang-2.1-r1.ebuild, commons-lang-2.3.ebuild: + Fix to work with generic src_test that will be soon added. + + 27 Jan 2008; Petteri Räty <betelgeuse@gentoo.org> + -commons-lang-2.1-r1.ebuild: + Delete old version. 25 Nov 2007; Krzysiek Pawlik <nelchael@gentoo.org> commons-lang-2.3.ebuild: diff --git a/dev-java/commons-lang/commons-lang-2.1-r1.ebuild b/dev-java/commons-lang/commons-lang-2.1-r1.ebuild deleted file mode 100644 index f7a95534cb6f..000000000000 --- a/dev-java/commons-lang/commons-lang-2.1-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/commons-lang-2.1-r1.ebuild,v 1.7 2007/03/15 17:46:09 corsair Exp $ - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Jakarta components to manipulate core java classes" -HOMEPAGE="http://jakarta.apache.org/commons/lang/" -SRC_URI="mirror://apache/jakarta/commons/lang/source/${P}-src.tar.gz" -DEPEND=">=virtual/jdk-1.3 - >=dev-java/ant-core-1.6" -RDEPEND=">=virtual/jre-1.3" -LICENSE="Apache-2.0" -SLOT="2.1" -KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd" -IUSE="doc source" - -src_compile() { - local antflags="jar" - use doc && antflags="${antflags} javadoc" - ant ${antflags} || die "compilation failed" -} - -src_install() { - java-pkg_newjar dist/${P}.jar ${PN}.jar - - if use doc; then - dodoc RELEASE-NOTES.txt - java-pkg_dohtml DEVELOPERS-GUIDE.html PROPOSAL.html STATUS.html - java-pkg_dohtml -r dist/docs/ - fi - use source && java-pkg_dosrc src/java/* -} diff --git a/dev-java/commons-lang/commons-lang-2.3.ebuild b/dev-java/commons-lang/commons-lang-2.3.ebuild index 51729ec59546..38239d892b00 100644 --- a/dev-java/commons-lang/commons-lang-2.3.ebuild +++ b/dev-java/commons-lang/commons-lang-2.3.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/commons-lang-2.3.ebuild,v 1.5 2007/11/25 10:08:06 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/commons-lang-2.3.ebuild,v 1.6 2008/03/05 17:25:17 betelgeuse Exp $ -JAVA_PKG_IUSE="doc source" +EAPI=1 +JAVA_PKG_IUSE="doc source test" inherit java-pkg-2 java-ant-2 @@ -11,7 +12,8 @@ HOMEPAGE="http://jakarta.apache.org/commons/lang/" SRC_URI="mirror://apache/jakarta/commons/lang/source/${P}-src.tar.gz" IUSE="" -DEPEND=">=virtual/jdk-1.4" +DEPEND=">=virtual/jdk-1.4 + test? ( dev-java/ant-junit:0 )" RDEPEND=">=virtual/jre-1.4" LICENSE="Apache-2.0" |