diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2006-12-27 23:13:24 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2006-12-27 23:13:24 +0000 |
commit | d4fbed3dc452f84cfc1eff82321dbbb8364f3897 (patch) | |
tree | 368ccb2fd4bb5c9b0b86ce8d99dbc617b979592f /dev-db/octopus | |
parent | Actually 1.1.4 version works with flac-1.1.3 finally. (diff) | |
download | gentoo-2-d4fbed3dc452f84cfc1eff82321dbbb8364f3897.tar.gz gentoo-2-d4fbed3dc452f84cfc1eff82321dbbb8364f3897.tar.bz2 gentoo-2-d4fbed3dc452f84cfc1eff82321dbbb8364f3897.zip |
Migrated to generation 2. Does not use any packed jars. Fixes bug #110905.
(Portage version: 2.1.2_rc4-r1)
Diffstat (limited to 'dev-db/octopus')
-rw-r--r-- | dev-db/octopus/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/octopus/files/digest-octopus-3.0.1 | 4 | ||||
-rw-r--r-- | dev-db/octopus/files/digest-octopus-3.0.1-r1 | 6 | ||||
-rw-r--r-- | dev-db/octopus/octopus-3.0.1-r1.ebuild | 67 |
4 files changed, 84 insertions, 1 deletions
diff --git a/dev-db/octopus/ChangeLog b/dev-db/octopus/ChangeLog index 8430fd957d26..874ce57681cb 100644 --- a/dev-db/octopus/ChangeLog +++ b/dev-db/octopus/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/octopus # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/octopus/ChangeLog,v 1.3 2006/11/30 15:17:59 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/octopus/ChangeLog,v 1.4 2006/12/27 23:13:24 betelgeuse Exp $ + +*octopus-3.0.1-r1 (27 Dec 2006) + + 27 Dec 2006; Petteri Räty <betelgeuse@gentoo.org> + +octopus-3.0.1-r1.ebuild: + Migrated to generation 2. Does not use any packed jars. Fixes bug #110905. 30 Nov 2006; Vlastimil Babka <caster@gentoo.org> octopus-3.0.1.ebuild: Update xerces dep for upcoming 2.6 slotmove. diff --git a/dev-db/octopus/files/digest-octopus-3.0.1 b/dev-db/octopus/files/digest-octopus-3.0.1 index 082387fe869a..cd48e73b876a 100644 --- a/dev-db/octopus/files/digest-octopus-3.0.1 +++ b/dev-db/octopus/files/digest-octopus-3.0.1 @@ -1,2 +1,6 @@ MD5 f10c24812c25006dedf71ee8e9c1a754 octopus-3.0-1.src.tar.gz 25968343 +RMD160 cb55e7fb574f522c4396bc83905dca9d8e94b983 octopus-3.0-1.src.tar.gz 25968343 +SHA256 9f37514f0540c64aba2163b4c4faa5d5327db6c7f1946fcbe7dc0a36a2097cac octopus-3.0-1.src.tar.gz 25968343 MD5 68e08cccd4251b577b2becef5d64b26c octopus-xmls-3.0.1.tar.bz2 22492 +RMD160 c99466a70cf1d7ab17a69c606fad49fc3bdf8279 octopus-xmls-3.0.1.tar.bz2 22492 +SHA256 e92e32cfca1955e7de2cd6a02bdd9bf279b2cf9471bd0ba93a4e13532e4f4095 octopus-xmls-3.0.1.tar.bz2 22492 diff --git a/dev-db/octopus/files/digest-octopus-3.0.1-r1 b/dev-db/octopus/files/digest-octopus-3.0.1-r1 new file mode 100644 index 000000000000..cd48e73b876a --- /dev/null +++ b/dev-db/octopus/files/digest-octopus-3.0.1-r1 @@ -0,0 +1,6 @@ +MD5 f10c24812c25006dedf71ee8e9c1a754 octopus-3.0-1.src.tar.gz 25968343 +RMD160 cb55e7fb574f522c4396bc83905dca9d8e94b983 octopus-3.0-1.src.tar.gz 25968343 +SHA256 9f37514f0540c64aba2163b4c4faa5d5327db6c7f1946fcbe7dc0a36a2097cac octopus-3.0-1.src.tar.gz 25968343 +MD5 68e08cccd4251b577b2becef5d64b26c octopus-xmls-3.0.1.tar.bz2 22492 +RMD160 c99466a70cf1d7ab17a69c606fad49fc3bdf8279 octopus-xmls-3.0.1.tar.bz2 22492 +SHA256 e92e32cfca1955e7de2cd6a02bdd9bf279b2cf9471bd0ba93a4e13532e4f4095 octopus-xmls-3.0.1.tar.bz2 22492 diff --git a/dev-db/octopus/octopus-3.0.1-r1.ebuild b/dev-db/octopus/octopus-3.0.1-r1.ebuild new file mode 100644 index 000000000000..d6959e1e6d20 --- /dev/null +++ b/dev-db/octopus/octopus-3.0.1-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/octopus/octopus-3.0.1-r1.ebuild,v 1.1 2006/12/27 23:13:24 betelgeuse Exp $ + +inherit versionator java-pkg-2 java-ant-2 + +MY_PV=${PV//./-} +MY_PV=${MY_PV/-/.} +DESCRIPTION="A Java-based Extraction, Transformation, and Loading (ETL) tool. It may connect to any JDBC data sources and perform transformations defined in an XML file." +SRC_URI="http://download.forge.objectweb.org/${PN}/${PN}-${MY_PV}.src.tar.gz + mirror://gentoo/${PN}-xmls-${PV}.tar.bz2" +HOMEPAGE="http://octopus.objectweb.org" +LICENSE="LGPL-2.1" +SLOT="3.0" +KEYWORDS="~amd64 ~x86" +IUSE="doc source" +# Does not like org.w3c.dom.Node +# from 1.6 +RDEPEND="|| ( =virtual/jre-1.4* =virtual/jdk-1.5* ) + >=dev-java/xerces-2.7 + >=dev-java/log4j-1.2.8 + =dev-java/rhino-1.6* + dev-java/junit + >=dev-java/ant-core-1.4" + +DEPEND="|| ( =virtual/jdk-1.4* =virtual/jdk-1.5* ) + ${RDEPEND} + source? ( app-arch/zip )" + +TOPDIR="${PN}-$(get_version_component_range 1-2)" +S=${WORKDIR}/${TOPDIR}/Octopus-src + +src_unpack() { + unpack ${A} + rm -fr ${TOPDIR}/maven + + mv xmls "${S}"/modules/Octopus + + cd "${S}"/modules + cp ${FILESDIR}/${P}-gentoo-build.xml build.xml + java-ant_rewrite-classpath build.xml +} + +src_compile() { + cd ${S}/modules + + use source && antflags="${antflags} sourcezip-all" + + deps="xerces-2,rhino-1.6,ant-core,junit,log4j" + eant jar-all $(use_doc docs-all) ${antflags} \ + -Dgentoo.classpath="$(java-pkg_getjars ${deps})" +} + +src_install() { + dodoc ChangeLog.txt ReleaseNotes.txt + + cd ${S}/modules + java-pkg_dojar dist/*.jar + + if use source; then + dodir /usr/share/doc/${PF}/source + cp dist/*-src.zip ${D}usr/share/doc/${PF}/source + fi + if use doc; then + java-pkg_dohtml -r docs/* + fi +} |