summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/easyneurons
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/easyneurons')
-rw-r--r--dev-java/easyneurons/Manifest1
-rw-r--r--dev-java/easyneurons/easyneurons-2.3.ebuild74
-rw-r--r--dev-java/easyneurons/metadata.xml8
3 files changed, 83 insertions, 0 deletions
diff --git a/dev-java/easyneurons/Manifest b/dev-java/easyneurons/Manifest
new file mode 100644
index 000000000000..b10d733e2f1c
--- /dev/null
+++ b/dev-java/easyneurons/Manifest
@@ -0,0 +1 @@
+DIST neuroph_2.3_nb.zip 8257618 SHA256 b126485f212e16f8c0162b35dcbbb25eb66da1ae1523bc5bd420d8bd82cf0faa SHA512 f2d6c87862435fe5217259842b3d9829780fe82dc87a682bc3ce38ecb708968b2458bf2d8631daeba209ccb9ca8e7c74fd1e5dd3c6ca606cf8b9ce4ea23db485 WHIRLPOOL 60366565c900deb2034e0d2d6527b23339486ebbe81ec203622be3bcea50b6dfe3ab001f2c0c82733f599aaaff60c812231f4742883506729a62a15fdc5bcdd9
diff --git a/dev-java/easyneurons/easyneurons-2.3.ebuild b/dev-java/easyneurons/easyneurons-2.3.ebuild
new file mode 100644
index 000000000000..4720d8d51494
--- /dev/null
+++ b/dev-java/easyneurons/easyneurons-2.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+JAVA_PKG_IUSE="source"
+
+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
+ dev-java/appframework: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 appframework appframework.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.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 \
+ -Dlibs.swing-app-framework.classpath=lib/appframework.jar \
+ -Dlibs.absolutelayout.classpath=lib/absolutelayout.jar jar
+}
+
+src_install() {
+ java-pkg_newjar "dist/easyNeurons.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..b88f3d4a8c7c
--- /dev/null
+++ b/dev-java/easyneurons/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <upstream>
+ <remote-id type="sourceforge">neuroph</remote-id>
+ </upstream>
+</pkgmetadata>