diff options
-rw-r--r-- | dev-java/commons-modeler/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/commons-modeler/Manifest | 5 | ||||
-rw-r--r-- | dev-java/commons-modeler/commons-modeler-2.0.1.ebuild | 57 | ||||
-rw-r--r-- | dev-java/commons-modeler/files/1.1-commons-digester.patch | 15 |
4 files changed, 68 insertions, 19 deletions
diff --git a/dev-java/commons-modeler/ChangeLog b/dev-java/commons-modeler/ChangeLog index a4aa63c4ae3e..93f73ddf14fa 100644 --- a/dev-java/commons-modeler/ChangeLog +++ b/dev-java/commons-modeler/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/commons-modeler -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.30 2008/01/10 23:04:12 caster Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.31 2009/02/15 20:28:30 caster Exp $ + +*commons-modeler-2.0.1 (15 Feb 2009) + + 15 Feb 2009; Vlastimil Babka <caster@gentoo.org> + -files/1.1-commons-digester.patch, +commons-modeler-2.0.1.ebuild: + Version bump. 10 Jan 2008; Vlastimil Babka <caster@gentoo.org> commons-modeler-2.0.ebuild: diff --git a/dev-java/commons-modeler/Manifest b/dev-java/commons-modeler/Manifest index bbf2edd5d60f..566405015b9b 100644 --- a/dev-java/commons-modeler/Manifest +++ b/dev-java/commons-modeler/Manifest @@ -1,5 +1,6 @@ -AUX 1.1-commons-digester.patch 740 RMD160 6a325f080775d878680422a32128ef050e4fdbe9 SHA1 e34c4c7dd01ff258a60778b523bb90b467171fa7 SHA256 78466ec39edddfaa21963750b39ac0a819f7a89ff73d500d90db5813bbaaa7ee DIST commons-modeler-2.0-src.tar.gz 115756 RMD160 3b5165ade1b6f54b63100af210e44f86eb5e0499 SHA1 8ae3fcd1b45975a95e52c031a84a39a89341a102 SHA256 3576b4703f6e851ac4b54d2f2347760248ceecb4a2586adc08d70223d3a0288a +DIST commons-modeler-2.0.1-src.tar.gz 116785 RMD160 b85b66efaa55e329213eda802ac713de27a679cb SHA1 7c3d5dc183895892ebe1b7eab222f6907c824301 SHA256 e10a7ac6b6827cba25f40fed43380051023097244fe34b012227aabd5d01e8f0 +EBUILD commons-modeler-2.0.1.ebuild 1828 RMD160 c9e6d898342a0e067f6855039fc2beb46c7ab4d7 SHA1 90cb4fe1bcb877db11b42427eb9026096010b68c SHA256 5e1263fa6b6eff0ed0eae82156ee7e14a5d2927ddf729950fd64e749143c600c EBUILD commons-modeler-2.0.ebuild 1979 RMD160 b0dda241805a6d17e625a05d841e7cdaa51180fe SHA1 b552e7b6aa7602560a5ef6423c565b719993b56f SHA256 d1a3f906a24d66a003901e8dd75b732e5fcfdfbe91656cc8fd6210cf985a9bb0 -MISC ChangeLog 4678 RMD160 0e755ad1b5ff4320a8dc6a38aa9ef4cdb360a1d3 SHA1 bfdfc320df6aef737a53c3ab326733eaaf92cd77 SHA256 2a590ac080174ad254e003f6a1e63208218e5a54c553c724df46a27eeb399574 +MISC ChangeLog 4852 RMD160 2d0917dc4232598d61a9706d183d2dcf7eb17e2b SHA1 4cb2f58e2f26c0608c91edfa1a1f6d7ad36aea61 SHA256 26dcf62a62ec876a8bcb5fce59b29e1b35885abaa4f45d66072ee1a6fe940b2a MISC metadata.xml 285 RMD160 5fdaa1d37b0df035e4552e7a0c8fe9d4514fdcb4 SHA1 85b3f4f0c17b9a141940a1a2240e2d60e1abdf30 SHA256 899f45fd0a253d16177baf9a6aa89e573b1b242a0e71f0355a3bf3ef62eeec22 diff --git a/dev-java/commons-modeler/commons-modeler-2.0.1.ebuild b/dev-java/commons-modeler/commons-modeler-2.0.1.ebuild new file mode 100644 index 000000000000..a6fedf144611 --- /dev/null +++ b/dev-java/commons-modeler/commons-modeler-2.0.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/commons-modeler-2.0.1.ebuild,v 1.1 2009/02/15 20:28:30 caster Exp $ + +EAPI=1 +JAVA_PKG_IUSE="doc source test" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A lib to make the setup of Java Management Extensions easier" +SRC_URI="mirror://apache/commons/modeler/source/${P}-src.tar.gz" +HOMEPAGE="http://commons.apache.org/modeler/" +LICENSE="Apache-2.0" +SLOT="0" + +# Provides ant tasks for ant to use +RDEPEND=">=virtual/jre-1.4 + dev-java/mx4j-core:3.0 + >=dev-java/commons-logging-1.0.3:0 + commons-digester? ( >=dev-java/commons-digester-1.4.1:0 )" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + source? ( app-arch/zip ) + test? ( dev-java/junit:0 )" + +KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd" +IUSE="commons-digester" + +S=${WORKDIR}/${P}-src + +src_unpack() { + unpack ${A} + cd "${S}" + + # Setup the build environment + use commons-digester && echo "commons-digester.jar=$(java-pkg_getjar commons-digester commons-digester.jar)" >> build.properties + echo "commons-logging.jar=$(java-pkg_getjar commons-logging commons-logging.jar)" >> build.properties + echo "jmx.jar=$(java-pkg_getjar mx4j-core-3.0 mx4j.jar)" >> build.properties + + # This is something the build.xml tries to run. Could of course package it + # separately using dolauncher. Use the demo target for this. + #use examples && echo "jmxtools.jar=$(java-pkg_getjar mx4j-tools-3.0 mx4j-tools.jar)" >> build.properties + + mkdir dist || die +} + +EANT_BUILD_TARGET="prepare jar" + +src_test() { + eant test -Djunit.jar=$(java-pkg_getjar --build-only junit junit.jar) +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + dodoc RELEASE-NOTES.txt || die + use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/commons-modeler/files/1.1-commons-digester.patch b/dev-java/commons-modeler/files/1.1-commons-digester.patch deleted file mode 100644 index 92d09e7dd831..000000000000 --- a/dev-java/commons-modeler/files/1.1-commons-digester.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: build.xml -=================================================================== ---- build.xml (revision 483551) -+++ build.xml (working copy) -@@ -150,8 +150,8 @@ - - - <target name="compile-only" > -- <available property="ant16.available" classname="org.apache.tools.ant.PropertyHelper" /> -- <available property="digester.available" classname="org.apache.commons.digester.Digester" /> -+ <available property="ant16.available" classname="org.apache.tools.ant.PropertyHelper" classpathref="compile.classpath" /> -+ <available property="digester.available" classname="org.apache.commons.digester.Digester" classpathref="compile.classpath" /> - - <javac srcdir="${source.home}" - destdir="${build.home}/classes" |