From: William Thomson Date: Tue, 13 Feb 2007 22:33:15 +0000 (+0000) Subject: Initial ebuild for 2.0, needs review and possible clean up. Minor API changes, did... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6e06b01d3f00e072c1e12715cdef45e4b474ee0a;p=gentoo.git Initial ebuild for 2.0, needs review and possible clean up. Minor API changes, did not justify slot IMHO. Mostly just a version bump from 1.1-r3 Package-Manager: portage-2.1.2-r9 --- diff --git a/dev-java/commons-modeler/ChangeLog b/dev-java/commons-modeler/ChangeLog index 92962a3a6218..ce6755add082 100644 --- a/dev-java/commons-modeler/ChangeLog +++ b/dev-java/commons-modeler/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/commons-modeler # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.20 2007/01/05 20:25:49 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.21 2007/02/13 22:33:15 wltjr Exp $ + +*commons-modeler-2.0 (13 Feb 2007) + + 13 Feb 2007; William L. Thomson Jr. + +commons-modeler-2.0.ebuild: + Initial ebuild for 2.0, needs review and possible clean up. Minor API + changes, did not justify slot IMHO. Mostly just a version bump from 1.1-r3 05 Jan 2007; Vlastimil Babka commons-modeler-1.1-r2.ebuild: diff --git a/dev-java/commons-modeler/Manifest b/dev-java/commons-modeler/Manifest index 0078ab668693..044995a22858 100644 --- a/dev-java/commons-modeler/Manifest +++ b/dev-java/commons-modeler/Manifest @@ -6,6 +6,7 @@ AUX gentoo.diff 510 RMD160 d3e9aa460b2308ca79624a8242536fb20a32d255 SHA1 9771433 MD5 6cd2a42a25b29cb85c58037271a97037 files/gentoo.diff 510 RMD160 d3e9aa460b2308ca79624a8242536fb20a32d255 files/gentoo.diff 510 SHA256 e002206cc3a326a2bd492bb177f8f7a0a954826abdc13e590c75236be61e1ff1 files/gentoo.diff 510 +DIST commons-modeler-2.0-src.tar.gz 115756 RMD160 3b5165ade1b6f54b63100af210e44f86eb5e0499 SHA1 8ae3fcd1b45975a95e52c031a84a39a89341a102 SHA256 3576b4703f6e851ac4b54d2f2347760248ceecb4a2586adc08d70223d3a0288a DIST modeler-1.1-src.tar.gz 92211 RMD160 dd1d1548784ff4fbc5549294b7a6bed16e319803 SHA1 1ae5000e42daddf8f9a545c10c80395c122013ef SHA256 41146b9e3614eda22064fbdde457750608b0cbc0ff2d904a39c5938b165fc2e7 EBUILD commons-modeler-1.1-r1.ebuild 1684 RMD160 9aa0b5a9abfc399dba8d9b518e723ace27d99c62 SHA1 99a2522176acdfcfdaae562faf4e560a28ea19eb SHA256 e06ba2f021e560794d673b2fd7b51085bb7beb81b751603c5d003503a462741f MD5 7357f8fff33675b37420a88984cee4c8 commons-modeler-1.1-r1.ebuild 1684 @@ -15,18 +16,22 @@ EBUILD commons-modeler-1.1-r2.ebuild 1809 RMD160 54f93bd73a9cc375866131cebaf95f5 MD5 5bf1f4cff6ca28c9028133d8db9a4df2 commons-modeler-1.1-r2.ebuild 1809 RMD160 54f93bd73a9cc375866131cebaf95f5eb70a798c commons-modeler-1.1-r2.ebuild 1809 SHA256 8c8a4f91ce14bcce1ae01c5ae7242a993e43b6f03e15c792305b6e06f5fea46c commons-modeler-1.1-r2.ebuild 1809 -EBUILD commons-modeler-1.1-r3.ebuild 2115 RMD160 176831bc1e7f5c63c08b2141ef27c7e1ec027d64 SHA1 a3d4a873eb5aa27954fa8927f8adf8bcb79646b6 SHA256 357654eb8913db6f90e6ab0da947cda0069ab9c6884760c90855458af7fa6e5d -MD5 dda5d8987647498339adde6b2c0c9bda commons-modeler-1.1-r3.ebuild 2115 -RMD160 176831bc1e7f5c63c08b2141ef27c7e1ec027d64 commons-modeler-1.1-r3.ebuild 2115 -SHA256 357654eb8913db6f90e6ab0da947cda0069ab9c6884760c90855458af7fa6e5d commons-modeler-1.1-r3.ebuild 2115 +EBUILD commons-modeler-1.1-r3.ebuild 2115 RMD160 75458e585c2e5cdbdc6f621e5d2d026c1bb62bf1 SHA1 133f33a228341cfb95ff7890642b63dacc8b52ee SHA256 dcfb03db7b34f9c45c9449ea916b346fefda92e4f391e98a512059771106e285 +MD5 3504be81e15359afcc475445d5c6f31d commons-modeler-1.1-r3.ebuild 2115 +RMD160 75458e585c2e5cdbdc6f621e5d2d026c1bb62bf1 commons-modeler-1.1-r3.ebuild 2115 +SHA256 dcfb03db7b34f9c45c9449ea916b346fefda92e4f391e98a512059771106e285 commons-modeler-1.1-r3.ebuild 2115 EBUILD commons-modeler-1.1.ebuild 1758 RMD160 6245530bdbe6b26660da7505ac1fdb9ee3cb1649 SHA1 5538c181352044aaefaf125a21887fd2bef08e05 SHA256 0fbc22d6e7fed13c8318ce99172c073925f746946f03fc16686d7f450673603c MD5 06ed7856de3e3cbeb14fca948fb55bae commons-modeler-1.1.ebuild 1758 RMD160 6245530bdbe6b26660da7505ac1fdb9ee3cb1649 commons-modeler-1.1.ebuild 1758 SHA256 0fbc22d6e7fed13c8318ce99172c073925f746946f03fc16686d7f450673603c commons-modeler-1.1.ebuild 1758 -MISC ChangeLog 2939 RMD160 642d3e2348655517d9890cc9e6a6444069024a9a SHA1 eac5fd4fc23ed822aefb07e15dc520e08de21c04 SHA256 9143056709c36b09ba486b8d88e55a35e5b17fb4ada19fe6041a7eade9c23078 -MD5 4a24b66c92c3413f14f56c83efc76f9f ChangeLog 2939 -RMD160 642d3e2348655517d9890cc9e6a6444069024a9a ChangeLog 2939 -SHA256 9143056709c36b09ba486b8d88e55a35e5b17fb4ada19fe6041a7eade9c23078 ChangeLog 2939 +EBUILD commons-modeler-2.0.ebuild 2102 RMD160 589387cc1737b14502baae148b51ce09da11451d SHA1 a5df1370e25d9a22c3c6d9b5a32f34dbdc4114b4 SHA256 28d945cffe5151f324425bcb933c2a9f4e86d7bdfe1d76afa8c63ffd38e56fcf +MD5 cfc98553e79cfe77286d16e2f5fc0ed4 commons-modeler-2.0.ebuild 2102 +RMD160 589387cc1737b14502baae148b51ce09da11451d commons-modeler-2.0.ebuild 2102 +SHA256 28d945cffe5151f324425bcb933c2a9f4e86d7bdfe1d76afa8c63ffd38e56fcf commons-modeler-2.0.ebuild 2102 +MISC ChangeLog 3212 RMD160 5b0f1823cbcd729ac95e6a17ef98ab03a60e4f0f SHA1 ef000f68fc17b819c83aa8ef60848c86b8c97f17 SHA256 303bd4f28ff59ec756f507786827a47dd3998e7b3bd07b69d72665e550d23250 +MD5 4d906fcc76d1ef3dd685844df15d3339 ChangeLog 3212 +RMD160 5b0f1823cbcd729ac95e6a17ef98ab03a60e4f0f ChangeLog 3212 +SHA256 303bd4f28ff59ec756f507786827a47dd3998e7b3bd07b69d72665e550d23250 ChangeLog 3212 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 @@ -43,3 +48,6 @@ SHA256 a71565242314c79297eafc39bf43da0d5e12a30fcd1f3ae78af13f5c84b1cfb4 files/di MD5 fdcf46f8fe00529b6413ace99a2d2d94 files/digest-commons-modeler-1.1-r3 244 RMD160 2b404db60bfe2b326ae635f8bd7cfd30a696720f files/digest-commons-modeler-1.1-r3 244 SHA256 a71565242314c79297eafc39bf43da0d5e12a30fcd1f3ae78af13f5c84b1cfb4 files/digest-commons-modeler-1.1-r3 244 +MD5 8e3030dc8e47b74acfe4cf69a6e45dca files/digest-commons-modeler-2.0 271 +RMD160 6b3d2cd27822c09689d66166c6e7aecc871043ce files/digest-commons-modeler-2.0 271 +SHA256 b77c1275aceb71a7f97552f825cf97a3506a952d684d3700db520be55e987fee files/digest-commons-modeler-2.0 271 diff --git a/dev-java/commons-modeler/commons-modeler-1.1-r3.ebuild b/dev-java/commons-modeler/commons-modeler-1.1-r3.ebuild index 9504a8d68d16..62a45a38bb06 100644 --- a/dev-java/commons-modeler/commons-modeler-1.1-r3.ebuild +++ b/dev-java/commons-modeler/commons-modeler-1.1-r3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/commons-modeler-1.1-r3.ebuild,v 1.3 2006/12/27 19:40:19 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/commons-modeler-1.1-r3.ebuild,v 1.4 2007/02/13 22:33:15 wltjr Exp $ inherit java-pkg-2 java-ant-2 diff --git a/dev-java/commons-modeler/commons-modeler-2.0.ebuild b/dev-java/commons-modeler/commons-modeler-2.0.ebuild new file mode 100644 index 000000000000..c31ddb13578d --- /dev/null +++ b/dev-java/commons-modeler/commons-modeler-2.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2007 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.ebuild,v 1.1 2007/02/13 22:33:15 wltjr Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A lib to make the setup of Java Management Extensions easier" +SRC_URI="mirror://apache/jakarta/commons/modeler/source/${P}-src.tar.gz" +HOMEPAGE="http://jakarta.apache.org/commons/modeler/" +LICENSE="Apache-1.1" +SLOT="0" + +# Provides ant tasks for ant to use +RDEPEND=">=virtual/jre-1.4 + =dev-java/mx4j-core-3* + >=dev-java/commons-logging-1.0.3 + dev-java/ant-core + commons-digester? ( >=dev-java/commons-digester-1.4.1 )" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + source? ( app-arch/zip )" + +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="commons-digester doc source test" + +S=${WORKDIR}/${P}-src + +src_unpack() { + unpack ${A} + cd ${S} + +# epatch "${FILESDIR}/1.1-commons-digester.patch" + + # 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 + + #Probably only needed with 1.3 + #echo "jaxp.xalan.jar=$(java-pkg_getjars xalan)" >> build.properties + mkdir dist +} + +src_compile() { + eant $(use_doc) 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 RELEASE-NOTES.txt + use doc && java-pkg_dohtml -r dist/docs/* + use source && java-pkg_dosrc src/java/* +} +pkg_postinst() { + elog "Changed to mx4j from sun-jmx due to fetch restrictions" + elog "If you don't like it tell us at java@gentoo.org" +} diff --git a/dev-java/commons-modeler/files/digest-commons-modeler-2.0 b/dev-java/commons-modeler/files/digest-commons-modeler-2.0 new file mode 100644 index 000000000000..39ef11c8fa61 --- /dev/null +++ b/dev-java/commons-modeler/files/digest-commons-modeler-2.0 @@ -0,0 +1,3 @@ +MD5 43983c66113ddaa9880e4a7ea7d38db4 commons-modeler-2.0-src.tar.gz 115756 +RMD160 3b5165ade1b6f54b63100af210e44f86eb5e0499 commons-modeler-2.0-src.tar.gz 115756 +SHA256 3576b4703f6e851ac4b54d2f2347760248ceecb4a2586adc08d70223d3a0288a commons-modeler-2.0-src.tar.gz 115756