summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2009-07-06 20:34:51 +0000
committerAlistair Bush <ali_bush@gentoo.org>2009-07-06 20:34:51 +0000
commitb7d6a47aa66179ecbecf4a860d2c2564986d5b07 (patch)
tree2dc6e249d9def7717511975ee54366fa6a16d58e
parentdisabling tests because known to fail, bug 276321 (diff)
downloadgentoo-2-b7d6a47aa66179ecbecf4a860d2c2564986d5b07.tar.gz
gentoo-2-b7d6a47aa66179ecbecf4a860d2c2564986d5b07.tar.bz2
gentoo-2-b7d6a47aa66179ecbecf4a860d2c2564986d5b07.zip
Keyword ~x86. Move to main tree.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
-rw-r--r--dev-java/easyneurons/ChangeLog23
-rw-r--r--dev-java/easyneurons/easyneurons-2.2.ebuild72
-rw-r--r--dev-java/easyneurons/metadata.xml10
3 files changed, 105 insertions, 0 deletions
diff --git a/dev-java/easyneurons/ChangeLog b/dev-java/easyneurons/ChangeLog
new file mode 100644
index 000000000000..d8b08a914116
--- /dev/null
+++ b/dev-java/easyneurons/ChangeLog
@@ -0,0 +1,23 @@
+# ChangeLog for dev-java/easyneurons
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/easyneurons/ChangeLog,v 1.1 2009/07/06 20:34:51 ali_bush Exp $
+
+ 06 Jul 2009; Alistair Bush <ali_bush@gentoo.org> +easyneurons-2.2.ebuild,
+ +metadata.xml:
+ Keyword ~x86. Move to main tree.
+
+ 06 Jul 2009; Alistair Bush <ali_bush@gentoo.org>
+ -easyneurons-2.1.1_beta_pre.ebuild:
+ Cleanup
+
+*easyneurons-2.2 (06 Jul 2009)
+
+ 06 Jul 2009; Alistair Bush <ali_bush@gentoo.org> +easyneurons-2.2.ebuild:
+ Version bump to 2.2
+
+*easyneurons-2.1.1_beta_pre (24 May 2009)
+
+ 24 May 2009; Alistair Bush <ali_bush@gentoo.org>
+ +easyneurons-2.1.1_beta_pre.ebuild, +metadata.xml:
+ New Package easyneurons
+
diff --git a/dev-java/easyneurons/easyneurons-2.2.ebuild b/dev-java/easyneurons/easyneurons-2.2.ebuild
new file mode 100644
index 000000000000..0972f503cb64
--- /dev/null
+++ b/dev-java/easyneurons/easyneurons-2.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/easyneurons/easyneurons-2.2.ebuild,v 1.1 2009/07/06 20:34:51 ali_bush Exp $
+
+JAVA_PKG_IUSE="source"
+EAPI="2"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="GUI neural network editor for neuroph"
+HOMEPAGE="http://neuroph.sourceforge.net/"
+SRC_URI="mirror://sourceforge/neuroph/neuroph_${PV}_nb.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+COMMON_DEP="dev-java/colt:0
+ dev-java/appframework:0
+ dev-java/commons-collections:0
+ dev-java/absolutelayout:0
+ dev-java/jung:0
+ dev-java/xstream:0
+ ~dev-java/neuroph-${PV}
+ dev-java/javahelp:0"
+
+RDEPEND=">=virtual/jre-1.6
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/neuroph_${PV}_nb/${PN}"
+
+java_prepare() {
+ rm -R "${S}/../neuroph"
+ mv lib/CopyLibs/*.jar "${T}"/ || die
+
+ find "${WORKDIR}" -iname '*.jar' -delete
+ find "${WORKDIR}" -iname '*.class' -delete
+ mv "${T}"/org*.jar lib/CopyLibs/
+
+ java-pkg_jar-from --into lib commons-collections \
+ commons-collections.jar commons-collections-3.2.1.jar
+ #java-pkg_jar-from --into lib colt colt.jar
+ java-pkg_jar-from --into lib/swing-app-framework appframework \
+ appframework.jar appframework-1.0.3.jar
+ java-pkg_jar-from --into lib jung jung.jar jung-1.7.6.jar
+ java-pkg_jar-from --into lib/absolutelayout absolutelayout \
+ absolutelayout.jar AbsoluteLayout.jar
+ java-pkg_jar-from --into lib xstream xstream.jar \
+ xstream-1.3.1.jar
+ java-pkg_jar-from --into lib javahelp jh.jar
+ mkdir -p ../neuroph/dist
+ java-pkg_jar-from --into ../neuroph/dist neuroph
+}
+
+src_compile() {
+ eant -Dno.deps=True -Dreference.neuroph=lib/neuroph.jar jar
+}
+
+src_install() {
+ java-pkg_dojar "dist/${PN}.jar"
+ use source && java-pkg_dosrc src
+
+ java-pkg_dolauncher ${PN} \
+ --main org.neuroph.easyneurons.EasyNeuronsApplication
+
+}
+
diff --git a/dev-java/easyneurons/metadata.xml b/dev-java/easyneurons/metadata.xml
new file mode 100644
index 000000000000..2b2d4e0b17b5
--- /dev/null
+++ b/dev-java/easyneurons/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>ali_bush@gentoo.org</email>
+ <name>Alistair Bush</name>
+ </maintainer>
+</pkgmetadata>
+