diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-09 16:53:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-09 16:53:27 +0000 |
commit | 80208fb578cf92cc308906660ca6d7860c6b2a1f (patch) | |
tree | 6f06818031b553c506fc10dfe9908a835df288aa /dev-java/commons-math | |
parent | 06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (diff) |
gentoo resync : 09.03.2018
Diffstat (limited to 'dev-java/commons-math')
-rw-r--r-- | dev-java/commons-math/Manifest | 3 | ||||
-rw-r--r-- | dev-java/commons-math/commons-math-2.1-r2.ebuild | 42 | ||||
-rw-r--r-- | dev-java/commons-math/commons-math-3.2.ebuild | 4 |
3 files changed, 46 insertions, 3 deletions
diff --git a/dev-java/commons-math/Manifest b/dev-java/commons-math/Manifest index b74d9795f909..c986f1898e54 100644 --- a/dev-java/commons-math/Manifest +++ b/dev-java/commons-math/Manifest @@ -3,5 +3,6 @@ AUX commons-math-3.2-build.xml 12448 BLAKE2B 04021b793945a00a95152ef98772dfb5735 DIST commons-math-2.1-src.tar.gz 1099423 BLAKE2B 83c52abc10eebb6c749aec218aa435df4cd05106e6bcbead5061df7381d168aa9392ab70dce8eb0b8e254d6d95a372cacddc8f7714198a186a95a04a394bda9d SHA512 53ed8c0400402c588d824c15365ebe60bef41697ff9728270a9fdc3ac30eb60c4c397caf939ccda839eb701453d98af4eac9eae2090575fcfdee4df2d6f6045b DIST commons-math3-3.2-src.tar.gz 2602474 BLAKE2B a818ca5ab1b9799359bad1c84d2774329c7c2605aeea3e13769eed9f1578d412555ad90a8de68971daa42b270d4bcd5fbf0fe79714e839d41b08077e32633125 SHA512 132c4725be582e25f67a955c7b3b8c7ef155606d8f4da07770464c422ded6b5e6efd1a13a6e98cff222f4fcac73606d512ee1ab9e3b1c4befcc1ba16ab68787b EBUILD commons-math-2.1-r1.ebuild 923 BLAKE2B ba238f19102de7511a9b5fbfe42d4a6b9b32d035ee7f6a28fc500eb4d139f7edb9c02d1f46c1c4bbcffc8499c2ef2a4d7a75879c01501ff9d77bc7619cd2ca2a SHA512 27e322ceeae09a6b38fe639f4eada113e73ce14d86995585a2640324339b5cb9cfee77b8ad63b8b9cb806dbdc6902f5b8d126ca88e0f089d18e55cb823c702cc -EBUILD commons-math-3.2.ebuild 1314 BLAKE2B 2091d5e19b5f125b55836e3d27fa0dbbfbcf882e05ab348a626f7ca6e89f5ae42720763a64f4a6641ef9909899a1a5269e3b751a9cb2ccce988d9d51335bdd36 SHA512 5acf238a479ebafa4d15b6fb8606b1dda8d1d6a1b2fb8e9a4c3d26fd12557b0b7ff6840b594b1e4f5fabbd5e055d81dc41e43a46dda451e093ddf7e90eca244f +EBUILD commons-math-2.1-r2.ebuild 905 BLAKE2B b8f1b7372aacb9371321fdec06721060d3b040a15218e452365bf0871e4fc522039e37ee5792c8df7fe976029f8a24b0cd30274731b79f4b5b1a90e0f345e86e SHA512 491637d6c600a2075e5477256d7c0cf3cd77df61e2dfa402d1ec1a11e2538541869b102a07cc375fb32937dac1047579187930ec61d12765af5cbb6422d126d1 +EBUILD commons-math-3.2.ebuild 1315 BLAKE2B a0fe207cc34dae87b52df7709e27f9fc4588e591347d507f8b69cf46ded1eb0b2d23943a93af9997ab215146873fd60479628c80fbcc72dcf8cd1d3c5dc1b72f SHA512 a1f5e7f79e7b36e011a16ed87de7aecf5a9cf8ae8570cdc5fff90a79505bde6120c475df96e188129daec1c436d0409e1260136849c36edafef29e9a70389329 MISC metadata.xml 236 BLAKE2B 5a64c4404c26415501f50132968e687d4f1b852738cb0e1a5aef8cc4de9e4ea623066f46068fce3d80514ff122d85304e3fd12282c4b1513a4084523ef8bef07 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 diff --git a/dev-java/commons-math/commons-math-2.1-r2.ebuild b/dev-java/commons-math/commons-math-2.1-r2.ebuild new file mode 100644 index 000000000000..9f447d65ff8c --- /dev/null +++ b/dev-java/commons-math/commons-math-2.1-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc test source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Lightweight, self-contained mathematics and statistics components" +HOMEPAGE="https://commons.apache.org/math/" +SRC_URI="mirror://apache/commons/math/source/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + >=virtual/jdk-1.6 + test? ( + dev-java/ant-junit4 + dev-java/hamcrest-core:0 + )" + +RDEPEND=" + >=virtual/jre-1.6" + +S="${WORKDIR}/${P}-src" + +PATCHES=( "${FILESDIR}"/${PF}-buildfixes.patch ) + +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-pkg_newjar target/${P}.jar ${PN}.jar + + use doc && java-pkg_dojavadoc target/apidocs + use source && java-pkg_dosrc src/main/java/org +} diff --git a/dev-java/commons-math/commons-math-3.2.ebuild b/dev-java/commons-math/commons-math-3.2.ebuild index 746cb389e319..7d4b8f2dc93e 100644 --- a/dev-java/commons-math/commons-math-3.2.ebuild +++ b/dev-java/commons-math/commons-math-3.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -12,7 +12,7 @@ MY_PN="${PN}3" MY_P="${MY_PN}-${PV}" DESCRIPTION="Lightweight, self-contained mathematics and statistics components" -HOMEPAGE="http://commons.apache.org/math/" +HOMEPAGE="https://commons.apache.org/math/" SRC_URI="mirror://apache/commons/math/source/${MY_P}-src.tar.gz" LICENSE="Apache-2.0" |