diff options
author | Andrey Kislyuk <weaver@gentoo.org> | 2009-01-25 19:31:56 +0000 |
---|---|---|
committer | Andrey Kislyuk <weaver@gentoo.org> | 2009-01-25 19:31:56 +0000 |
commit | c15976f7cdc3a8c9214f8e74d0152a6a7d924774 (patch) | |
tree | 309112197cc9f2e4b7aad8a3de08b1e11e428648 /dev-java/jgrapht | |
parent | Import dev-java/biojava and dependencies from Java overlay, thanks to serkan (diff) | |
download | gentoo-2-c15976f7cdc3a8c9214f8e74d0152a6a7d924774.tar.gz gentoo-2-c15976f7cdc3a8c9214f8e74d0152a6a7d924774.tar.bz2 gentoo-2-c15976f7cdc3a8c9214f8e74d0152a6a7d924774.zip |
Import dev-java/biojava and dependencies from Java overlay, thanks to serkan
(Portage version: 2.2_rc20/cvs/Linux 2.6.26-gentoo-r4 x86_64)
Diffstat (limited to 'dev-java/jgrapht')
-rw-r--r-- | dev-java/jgrapht/ChangeLog | 13 | ||||
-rw-r--r-- | dev-java/jgrapht/jgrapht-0.7.3.ebuild | 48 | ||||
-rw-r--r-- | dev-java/jgrapht/metadata.xml | 6 |
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-java/jgrapht/ChangeLog b/dev-java/jgrapht/ChangeLog new file mode 100644 index 000000000000..5660d95547dd --- /dev/null +++ b/dev-java/jgrapht/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for dev-java/jgrapht +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jgrapht/ChangeLog,v 1.1 2009/01/25 19:31:56 weaver Exp $ + +*jgrapht-0.7.3 (25 Jan 2009) + + 25 Jan 2009; weaver <weaver@gentoo.org> +metadata.xml, + +jgrapht-0.7.3.ebuild: + Import from Java overlay, dependency for dev-java/biojava, thanks to serkan + + 22 Jan 2009; Alistair Bush <ali_bush@gentoo.org> ChangeLog: + Add ChangeLog for QA. + diff --git a/dev-java/jgrapht/jgrapht-0.7.3.ebuild b/dev-java/jgrapht/jgrapht-0.7.3.ebuild new file mode 100644 index 000000000000..14f590c2545f --- /dev/null +++ b/dev-java/jgrapht/jgrapht-0.7.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jgrapht/jgrapht-0.7.3.ebuild,v 1.1 2009/01/25 19:31:56 weaver Exp $ + +EAPI="1" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Graph library that is a simpler and faster alternative to JGraph" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://jgrapht.sourceforge.net" +KEYWORDS="~amd64" +SLOT="0" +LICENSE="LGPL-2.1" +IUSE="test" + +CDEPEND="dev-java/touchgraph-graphlayout + dev-java/jgraph" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.5 + test? ( dev-java/ant-junit + dev-java/xmlunit:1 )" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.4" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="touchgraph-graphlayout jgraph" +EANT_DOC_TARGET="javadoc" + +src_unpack() { + unpack ${A} + rm -rf "${S}/lib" || die +} + +src_install() { + java-pkg_newjar ${PN}*.jar || die + + dohtml README.html || die + use doc && java-pkg_dojavadoc javadoc + use source && java-pkg_dosrc src/org +} + +src_test() { + EANT_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH} xmlunit:1" ANT_TASKS="ant-junit" eant test +} diff --git a/dev-java/jgrapht/metadata.xml b/dev-java/jgrapht/metadata.xml new file mode 100644 index 000000000000..604e0a4238bb --- /dev/null +++ b/dev-java/jgrapht/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> + |