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/colt
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/colt')
-rw-r--r--dev-java/colt/Manifest1
-rw-r--r--dev-java/colt/colt-1.2.0-r2.ebuild43
-rw-r--r--dev-java/colt/files/colt-1.2.0-benchmark-no-deprecation.patch31
-rw-r--r--dev-java/colt/metadata.xml5
4 files changed, 80 insertions, 0 deletions
diff --git a/dev-java/colt/Manifest b/dev-java/colt/Manifest
new file mode 100644
index 000000000000..a369f12f7499
--- /dev/null
+++ b/dev-java/colt/Manifest
@@ -0,0 +1 @@
+DIST colt-1.2.0.tar.gz 2545695 SHA256 da26942314a4ab7ab6dc449460970b4ada464b6594f69cba1b88268effbdddbb SHA512 a5e88e0cf671faeb336241d120daeb1ad90f1e2061827d06c0c2dc507cd3ae2ab45f2b80451aaedca0f5a8b3de66c13533178e3b6352ed8b2df886d25a924ce0 WHIRLPOOL 666b49fe22cd40ca3967523a85d1e6b43a7bbbec9f76b197f633e258e2d148b0743308e09f65fc8aad113020477002512f4224d7b412447f0685f2c44f410aad
diff --git a/dev-java/colt/colt-1.2.0-r2.ebuild b/dev-java/colt/colt-1.2.0-r2.ebuild
new file mode 100644
index 000000000000..39bbe44a2736
--- /dev/null
+++ b/dev-java/colt/colt-1.2.0-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="source doc"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="A set of Open Source Libraries for High Performance Scientific and Technical Computing in Java"
+SRC_URI="http://dsd.lbl.gov/~hoschek/colt-download/releases/${P}.tar.gz"
+HOMEPAGE="http://www-itg.lbl.gov/~hoschek/colt/"
+
+LICENSE="colt"
+IUSE=""
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/concurrent-util-1.3.4:0"
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/concurrent-util-1.3.4:0"
+
+S="${WORKDIR}/${PN}"
+
+EANT_BUILD_TARGET="javac jar"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="concurrent-util"
+
+java_prepare() {
+ find "${S}" -iname '*.jar' -delete || die
+
+ epatch "${FILESDIR}/${P}-benchmark-no-deprecation.patch"
+}
+
+src_install() {
+ java-pkg_dojar lib/${PN}.jar
+
+ dohtml README.html || die
+ use doc && java-pkg_dojavadoc doc/api
+ use source && java-pkg_dosrc src/*
+}
diff --git a/dev-java/colt/files/colt-1.2.0-benchmark-no-deprecation.patch b/dev-java/colt/files/colt-1.2.0-benchmark-no-deprecation.patch
new file mode 100644
index 000000000000..2617dc49ad57
--- /dev/null
+++ b/dev-java/colt/files/colt-1.2.0-benchmark-no-deprecation.patch
@@ -0,0 +1,31 @@
+--- src/cern/colt/matrix/impl/BenchmarkMatrix2D.java 2005-12-13 00:57:28.000000000 -0600
++++ src/cern/colt/matrix/impl/BenchmarkMatrix2D.java 2005-12-13 01:20:09.000000000 -0600
+@@ -331,6 +331,8 @@
+ cern.colt.Timer timer1 = new cern.colt.Timer();
+ cern.colt.Timer timer2 = new cern.colt.Timer();
+
++ cern.jet.math.Functions F = cern.jet.math.Functions.functions;
++
+ long size = (((long)rows)*columns)*runs;
+
+ DoubleMatrix2D matrix = null;
+@@ -344,7 +346,8 @@
+ //if (kind.equals("sparse")) ((SparseDoubleMatrix2D)matrix).elements.hashCollisions = 0;
+ for (int i=0; i<runs; i++) {
+ timer1.start();
+- cern.colt.matrix.doublealgo.Transform.mult(matrix, 3);
++ //cern.colt.matrix.doublealgo.Transform.mult(matrix, 3);
++ matrix.assign(F.mult(3));
+ timer1.stop();
+ }
+ timer1.display();
+@@ -366,7 +369,8 @@
+ //if (kind.equals("sparse")) ((SparseDoubleMatrix2D)matrix).elements.hashCollisions = 0;
+ for (int i=0; i<runs; i++) {
+ timer2.start();
+- cern.colt.matrix.doublealgo.Transform.mult(matrix,3);
++ // cern.colt.matrix.doublealgo.Transform.mult(matrix,3);
++ matrix.assign(F.mult(3));
+ timer2.stop();
+ }
+ timer2.display();
diff --git a/dev-java/colt/metadata.xml b/dev-java/colt/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/colt/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>