diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-05-29 12:44:16 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-05-29 12:44:16 +0000 |
commit | fcc40b38d5049f73c5811e4ea6e98e76d1ed177a (patch) | |
tree | 835f6dd83b493bb6303c4c4305d4b4ee409c579b /dev-java | |
parent | revbump. migrate -> distutils-r1, remove old ebuild (diff) | |
download | historical-fcc40b38d5049f73c5811e4ea6e98e76d1ed177a.tar.gz historical-fcc40b38d5049f73c5811e4ea6e98e76d1ed177a.tar.bz2 historical-fcc40b38d5049f73c5811e4ea6e98e76d1ed177a.zip |
Version bump to 3.2.
Package-Manager: portage-2.1.12.2/cvs/Linux x86_64
Manifest-Sign-Key: 0x6D34E57D
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/commons-math/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/commons-math/Manifest | 19 | ||||
-rw-r--r-- | dev-java/commons-math/commons-math-3.2.ebuild | 54 | ||||
-rw-r--r-- | dev-java/commons-math/files/commons-math-3.2-build.xml | 288 |
4 files changed, 368 insertions, 4 deletions
diff --git a/dev-java/commons-math/ChangeLog b/dev-java/commons-math/ChangeLog index 72724ed97bfc..26870e7bdab4 100644 --- a/dev-java/commons-math/ChangeLog +++ b/dev-java/commons-math/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/commons-math -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-math/ChangeLog,v 1.8 2010/12/12 06:36:02 ken69267 Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-math/ChangeLog,v 1.9 2013/05/29 12:44:02 tomwij Exp $ + +*commons-math-3.2 (29 May 2013) + + 29 May 2013; Tom Wijsman <TomWij@gentoo.org> +commons-math-3.2.ebuild, + +files/commons-math-3.2-build.xml: + Version bump to 3.2. 12 Dec 2010; Kenneth Prugh <ken69267@gentoo.org> commons-math-2.1-r1.ebuild: @@ -43,4 +49,3 @@ 02 Oct 2009; Andrey Kislyuk <weaver@gentoo.org> +metadata.xml, +commons-math-1.2.ebuild, +commons-math-2.0.ebuild: Import from Java overlay and rewrite - diff --git a/dev-java/commons-math/Manifest b/dev-java/commons-math/Manifest index 3933173977f0..2c7ca60a7a0a 100644 --- a/dev-java/commons-math/Manifest +++ b/dev-java/commons-math/Manifest @@ -1,7 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX commons-math-2.1-r1-buildfixes.patch 770 SHA256 5e1c6f770f1e123f45a59c7387ad0607a92721249be74601662c90202a5f82d1 SHA512 75a0174c839425a7f1387ef582a08899b7433dcc2090d773642ea120dc220c69d741fef5b44508ad9fdb3e2f24d8fe2b9dfc92146985f88416dae8178a5d7798 WHIRLPOOL bf6cbb70fde2aff6378f77533c256f9c245e494e26814b13810df986743d8b4a1118092c678e254d5c4c474561c7cdfdc5f7bb6030aa489739709cc53e4e95fe +AUX commons-math-3.2-build.xml 12448 SHA256 32857e3dcc312dd99aeb0e30aa151bdab46c32f0b8be5a9d93becca142506aa0 SHA512 7f7d4a469843b218e90e3482360101058f027cf7d2319f1f7a5a4af7c09b6e4b05237c594eb217d5ffc3f07793fcabaa733be52686148af94a12727e4fda89ed WHIRLPOOL f1003cff821cd380f7febc91d3aa1d8f023aa3b6d7238e8190665114a23c2b47e2356515fdbbfd309b79e98e106efd975c6f675af53798736c1f52edc901b389 DIST commons-math-2.0-src.tar.gz 1044286 SHA256 5c40855b63e5614fd68f77a45588c92ccd4af2e8162d9ebee3e33e225b04b802 SHA512 79a75f72a9a2588f20d51dcda4b10f9f295ac034cc572e71cc8c6d3f8ee00dc91bebdbe31a913aa043458af52c40844e1b34a81ff5dd6095c81b15af91f39d49 WHIRLPOOL 6c2babf2da49af7a89f2f703b562f3609da805be07e68899b2de77bb5a3d77cddd8d5d5994281a7c01d2b87ef6ca280e36b789d8103759542086e90fe47199b3 DIST commons-math-2.1-src.tar.gz 1099423 SHA256 f31e098afa916a7f17bd8d8a15163d761ddb54c28d8d64f7f57ce86167f2c48b SHA512 53ed8c0400402c588d824c15365ebe60bef41697ff9728270a9fdc3ac30eb60c4c397caf939ccda839eb701453d98af4eac9eae2090575fcfdee4df2d6f6045b WHIRLPOOL c36a4f6936f6f20a0aa5ad1885e563e980c6f3c02412c4b8cc26de03a6e0a122e6fa0d918992d80ef7912d74e8b9c9ee5006a29972450adbc82249453c2b3e1e +DIST commons-math3-3.2-src.tar.gz 2602474 SHA256 07992f0630aea0e973c41a34330fe8109b867fc30507b566142a62ec2e483310 SHA512 132c4725be582e25f67a955c7b3b8c7ef155606d8f4da07770464c422ded6b5e6efd1a13a6e98cff222f4fcac73606d512ee1ab9e3b1c4befcc1ba16ab68787b WHIRLPOOL 801fa951b3a0972f14bfc18482e8cd194faa276581406b15314411fb9e6d1c6c256299e2144fbffe76b4c550937dea64dc6df7f92772bf7dab0f4b70b96e309d EBUILD commons-math-2.0.ebuild 1061 SHA256 3dda191af959e6a9110867264a862fdd3a33ee504218da4022b78c90918de558 SHA512 769ec2bb7faf6d26ecb6aefe420af6faa8800989f1dd6aa71b53fe5d103ebcf6ff8ed37a4a3cf4828cab6e6c517b8cff44dfae40594f7842fe9cbeeee9a72654 WHIRLPOOL f3e5985e376d6ac114a6f9b821d6639baa689c7eda2c40c50070e1ce4cb6ef41fffe434208d3090fdbe51e378eb4794a221ad525e920fe28bea3b1cdb2524c98 EBUILD commons-math-2.1-r1.ebuild 1048 SHA256 870228e49b3f51a45926b89cc76689608921ec65846f0698fc550d3f7df20d6b SHA512 d08c9c550bd66a276293052a62b5360ab9b134eb80bb425ab9a90295b1b2982cfcdc3ccc3511f151378e0177c1f320ba91db30ed053b1579710273dcf0a86b33 WHIRLPOOL c614c6c31cdbf35d88e25d30e5230fae8ef6f8794ee83ec3f3cc5b5242ae861bfe9f6add2a56a7d8592cbe43963a91bfcb1061fa5edc20044aba5da948669c6a -MISC ChangeLog 1669 SHA256 8b23faf09d8d195b2f235889b945cf96046adbe8b17b80eff725158a4cfe2edf SHA512 41351b3ae498265918f7e5e0f420618fb87e462a7160d319fddd04fa26c20999075478b457add7d5a3171f4f190d9fb65745f018d379fca090004bc1a05af5a1 WHIRLPOOL 169ccc97681f5c4ceaac6fdfe8e712bfd1f1798ca1c7dff31175d8dce84d627445b81708779b6ed5b2c7ca4bf89025344b1c50bd890a501edb826146efb4f40e +EBUILD commons-math-3.2.ebuild 1431 SHA256 832c4e57e387b1387dc8686ae23cd10394f7e490c9331aeb54a9c3217e967fd9 SHA512 5ac4c2002e0e1c6fd7b7b91ba728c6d33d012f5cd1669740093fe313818515ec1d41716c6a114d41b7eba3e9dfda55e6e4bea47f86269e78d071ad53a7c537b0 WHIRLPOOL 8ada34ea8253adae4c8c3e194d4f554ebf5dede1ea63057208cec4f2305098fe43e1c2501f7156ab7b203e16bbb0c76a81ac8d7861761893b4dd0bbaa4b93029 +MISC ChangeLog 1833 SHA256 559b5aae056b34f6f09202e8f95b06b9d4ca15cba7c6d83b646aab4f8f0bf07f SHA512 be1a4b9efb5b61f5c9fc21e5f3fec046316ae9abae3750b2a44ce17739215ccade946abea31362047260acd092e9a149105bbaa0b5abc495c77f15499853697b WHIRLPOOL 0fd9059d5500ebd495470df24c582e9436f3cbd767ea9b04b2c6c867216e4bea20e6973a15ca75612a841d0d79893dc5067c2fe2e078a018e658455218eb3af2 MISC metadata.xml 252 SHA256 68dd5ed36b7be999ccbcd7ba5f0a5e9174eb3d13bdfc715d93cbc4d2302a9f62 SHA512 48908e9529c81cbf25289419dd2f1b647e373cc61e058ef8085fab8e01db1f1f6de7f412fa047224756a95eff8744b971e8fcd849e5d1afa96ad8e698dbdd073 WHIRLPOOL b4c60289abbf75fbae2af307ed1198a484cf136e6857f31374d7749444edb5445a2d38d8bd1633d4c807af7f59962dc214f8ac3c42b7295158cce6955c8fba83 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iQEcBAEBCAAGBQJRpfedAAoJEJWyH81tNOV9AHEH/0El1ocbveF4c/rkcJUE1oNc +KNDAkbzLouCXJ5wUy02cUOmki4ereyRILVWjx3+oKWtx2e7DUFuY9RLxzWZ/QveH +biD5sc5pQ0yOGUXpRamxXy0YMggW/UDJM1a3q2eOqXaKo1putsgM8cMLfaG/KzNl +hKuGbYK1s++BevLGgT84aFHBH0ZN4GC+p6vWfRd5zu/l0qi+k2m4bLVK3SuLXpIr +0RiXYAjuiy9Fv46+3uPdK7YlVWJrQgyOD9fJmfpHXpvVpUK7k582TLxlEeQ3sgQ6 +a8Wo0+iSiPZX4DWadBqqu/KA1GFR7pM+KBqb+OrcRkGx3ujQRbUkEb90vfUfiwE= +=87KY +-----END PGP SIGNATURE----- diff --git a/dev-java/commons-math/commons-math-3.2.ebuild b/dev-java/commons-math/commons-math-3.2.ebuild new file mode 100644 index 000000000000..01d955094677 --- /dev/null +++ b/dev-java/commons-math/commons-math-3.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-math/commons-math-3.2.ebuild,v 1.1 2013/05/29 12:44:02 tomwij Exp $ + +EAPI="5" + +# Tests are currently broken due to nasty -lib argument. +JAVA_PKG_IUSE="doc source" # test + +inherit java-pkg-2 java-ant-2 java-osgi + +MY_PN="${PN}3" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Lightweight, self-contained mathematics and statistics components" +HOMEPAGE="http://commons.apache.org/math/" +SRC_URI="mirror://apache/commons/math/source/${MY_P}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="~amd64 ~x86" + +DEPEND=">=virtual/jdk-1.5" + +# Tests are currently broken due to nasty -lib argument. +# test? ( +# dev-java/ant-junit4 +# dev-java/hamcrest-core:0 +# )" + +RDEPEND=">=virtual/jre-1.5" + +S="${WORKDIR}/${MY_P}-src" + +java_prepare() { + cp "${FILESDIR}"/${P}-build.xml build.xml || die + + sed -i 's/manifest=".*MANIFEST.MF"//g' build.xml || die + sed -i '/name="Main-Class"/d' build.xml || die +} + +# Tests are currently broken due to nasty -lib argument. +# src_test() { +# java-pkg_jar-from junit-4 +# java-pkg_jar-from hamcrest-core +# ANT_TASKS="ant-junit4" eant -Djunit.jar=junit.jar test +# } + +src_install() { + java-osgi_newjar target/${MY_P}.jar ${MY_PN} ${MY_PN} "Export-Package: ${MY_PN}" + + use doc && java-pkg_dojavadoc target/apidocs + use source && java-pkg_dosrc src/main/java/org +} diff --git a/dev-java/commons-math/files/commons-math-3.2-build.xml b/dev-java/commons-math/files/commons-math-3.2-build.xml new file mode 100644 index 000000000000..905d12657e26 --- /dev/null +++ b/dev-java/commons-math/files/commons-math-3.2-build.xml @@ -0,0 +1,288 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- ====================================================================== --> +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> +<!-- ====================================================================== --> + +<!-- ====================================================================== --> +<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> +<!-- ====================================================================== --> +<!-- --> +<!-- Any modifications will be overwritten. --> +<!-- --> +<!-- Generated by Maven Ant Plugin on 5/29/13 1:59 PM --> +<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> +<!-- --> +<!-- ====================================================================== --> + +<project name="commons-math3-from-maven" default="package" basedir="."> + + <!-- ====================================================================== --> + <!-- Build environment properties --> + <!-- ====================================================================== --> + + <property file="${user.home}/.m2/maven.properties"/> + <property file="maven-build.properties"/> + + <property name="maven.build.finalName" value="commons-math3-3.2"/> + <property name="maven.build.dir" value="target"/> + <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> + <property name="maven.build.srcDir.0" value="src/main/java"/> + <property name="maven.build.resourceDir.0" value="src/main/resources"/> + <property name="maven.build.resourceDir.1" value="."/> + <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> + <property name="maven.build.testDir.0" value="src/test/java"/> + <property name="maven.build.testResourceDir.0" value="src/test/resources"/> + <property name="maven.build.testResourceDir.1" value="."/> + <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> + <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> + + <property name="maven.repo.local" value="${user.home}/.m2/repository"/> + <property name="maven.settings.offline" value="false"/> + <property name="maven.settings.interactiveMode" value="true"/> + + <!-- ====================================================================== --> + <!-- Defining classpaths --> + <!-- ====================================================================== --> + + <path id="build.classpath"/> + <path id="build.test.classpath"> + <pathelement location="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"/> + <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/> + </path> + + <!-- ====================================================================== --> + <!-- Cleaning up target --> + <!-- ====================================================================== --> + + <target name="clean" description="Clean the output directory"> + <delete dir="${maven.build.dir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Compilation target --> + <!-- ====================================================================== --> + + <target name="compile" depends="get-deps" description="Compile the code"> + <mkdir dir="${maven.build.outputDir}"/> + <javac destdir="${maven.build.outputDir}" + encoding="UTF-8" + nowarn="false" + debug="true" + optimize="false" + deprecation="true" + target="1.5" + verbose="false" + fork="false" + source="1.5"> + <src> + <pathelement location="${maven.build.srcDir.0}"/> + </src> + <classpath refid="build.classpath"/> + </javac> + <copy todir="${maven.build.outputDir}"> + <fileset dir="${maven.build.resourceDir.0}"/> + </copy> + <mkdir dir="${maven.build.outputDir}/META-INF"/> + <copy todir="${maven.build.outputDir}/META-INF"> + <fileset dir="${maven.build.resourceDir.1}"> + <include name="NOTICE.txt"/> + <include name="LICENSE.txt"/> + </fileset> + </copy> + </target> + + <!-- ====================================================================== --> + <!-- Test-compilation target --> + <!-- ====================================================================== --> + + <target name="compile-tests" + depends="compile" + description="Compile the test code" + unless="maven.test.skip"> + <mkdir dir="${maven.build.testOutputDir}"/> + <javac destdir="${maven.build.testOutputDir}" + encoding="UTF-8" + nowarn="false" + debug="true" + optimize="false" + deprecation="true" + target="1.5" + verbose="false" + fork="false" + source="1.5"> + <src> + <pathelement location="${maven.build.testDir.0}"/> + </src> + <classpath> + <path refid="build.test.classpath"/> + <pathelement location="${maven.build.outputDir}"/> + </classpath> + </javac> + <copy todir="${maven.build.testOutputDir}"> + <fileset dir="${maven.build.testResourceDir.0}"/> + </copy> + <mkdir dir="${maven.build.testOutputDir}/META-INF"/> + <copy todir="${maven.build.testOutputDir}/META-INF"> + <fileset dir="${maven.build.testResourceDir.1}"> + <include name="NOTICE.txt"/> + <include name="LICENSE.txt"/> + </fileset> + </copy> + </target> + + <!-- ====================================================================== --> + <!-- Run all tests --> + <!-- ====================================================================== --> + + <target name="test" + depends="compile-tests, junit-missing" + unless="junit.skipped" + description="Run the test cases"> + <mkdir dir="${maven.test.reports}"/> + <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> + <sysproperty key="basedir" value="."/> + <formatter type="xml"/> + <formatter type="plain" usefile="false"/> + <classpath> + <path refid="build.test.classpath"/> + <pathelement location="${maven.build.outputDir}"/> + <pathelement location="${maven.build.testOutputDir}"/> + </classpath> + <batchtest todir="${maven.test.reports}" unless="test"> + <fileset dir="${maven.build.testDir.0}"> + <include name="**/*Test.java"/> + <include name="**/*TestBinary.java"/> + <include name="**/*TestPermutations.java"/> + <exclude name="**/*AbstractTest.java"/> + </fileset> + </batchtest> + <batchtest todir="${maven.test.reports}" if="test"> + <fileset dir="${maven.build.testDir.0}"> + <include name="**/${test}.java"/> + <exclude name="**/*AbstractTest.java"/> + </fileset> + </batchtest> + </junit> + </target> + + <target name="test-junit-present"> + <available classname="junit.framework.Test" property="junit.present"/> + </target> + + <target name="test-junit-status" + depends="test-junit-present"> + <condition property="junit.missing"> + <and> + <isfalse value="${junit.present}"/> + <isfalse value="${maven.test.skip}"/> + </and> + </condition> + <condition property="junit.skipped"> + <or> + <isfalse value="${junit.present}"/> + <istrue value="${maven.test.skip}"/> + </or> + </condition> + </target> + + <target name="junit-missing" + depends="test-junit-status" + if="junit.missing"> + <echo>=================================== WARNING ===================================</echo> + <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> + <echo>===============================================================================</echo> + </target> + + <!-- ====================================================================== --> + <!-- Javadoc target --> + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"> + <javadoc sourcepath="${maven.build.srcDir.0}" + packagenames="*" + destdir="${maven.reporting.outputDirectory}/apidocs" + access="protected" + old="false" + verbose="false" + encoding="UTF-8" + version="true" + use="true" + author="true" + splitindex="false" + nodeprecated="false" + nodeprecatedlist="false" + notree="false" + noindex="false" + nohelp="false" + nonavbar="false" + serialwarn="false" + charset="ISO-8859-1" + docencoding="UTF-8" + source="1.5" + linksource="true" + breakiterator="false"> + <link href="http://download.oracle.com/javase/6/docs/api/"/> + <link href="http://download.oracle.com/javaee/6/api/"/> + </javadoc> + </target> + + <!-- ====================================================================== --> + <!-- Package target --> + <!-- ====================================================================== --> + + <target name="package" depends="compile,test" description="Package the application"> + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" + manifest="/var/tmp/portage/dev-java/commons-math-3.2/work/commons-math3-3.2-src/target/osgi/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> + <manifest> + <attribute name="Main-Class"/> + </manifest> + </jar> + </target> + + <!-- ====================================================================== --> + <!-- A dummy target for the package named after the type it creates --> + <!-- ====================================================================== --> + + <target name="jar" depends="package" description="Builds the jar for the application"/> + + <!-- ====================================================================== --> + <!-- Download dependencies target --> + <!-- ====================================================================== --> + + <target name="test-offline"> + <condition property="maven.mode.offline"> + <equals arg1="${maven.settings.offline}" arg2="true"/> + </condition> + </target> + + <target name="get-deps" + depends="test-offline" + description="Download all dependencies" + unless="maven.mode.offline"> + <mkdir dir="${maven.repo.local}"/> + <mkdir dir="${maven.repo.local}/junit/junit/4.10"/> + <get src="http://repository.apache.org/snapshots/junit/junit/4.10/junit-4.10.jar" + dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar" + usetimestamp="false" + ignoreerrors="true"/> + <get src="http://repo.maven.apache.org/maven2/junit/junit/4.10/junit-4.10.jar" + dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1"/> + <get src="http://repository.apache.org/snapshots/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" + dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" + dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + </target> + +</project> |