commit:     d18ee68ee16a406888411936c099b8f1710acb47
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 16 12:53:46 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Apr 16 12:54:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d18ee68e

dev-java/commons-math: removed unused slot 2

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/commons-math/Manifest                     |  1 -
 dev-java/commons-math/commons-math-2.1-r2.ebuild   | 42 ----------------------
 .../files/commons-math-2.1-r2-buildfixes.patch     | 19 ----------
 3 files changed, 62 deletions(-)

diff --git a/dev-java/commons-math/Manifest b/dev-java/commons-math/Manifest
index ff7a701a410..753de6caac6 100644
--- a/dev-java/commons-math/Manifest
+++ b/dev-java/commons-math/Manifest
@@ -1,3 +1,2 @@
-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
 DIST commons-math3-3.6.1.jar 2514690 BLAKE2B 
ce5dc1a5bdccf85aa780dd648b64c0ed78b4d5a36d15d9737f661135f4f1ec962c3c44a0c4d8fc7d12c667e62b19860cb2a47f507c8c3e6da6cce57e1b9caf54
 SHA512 
eab6003834c0f1b7e67eee242d33db43f85d388ac32e37caa6bd16d74340db5c189ff5c7fd112ef13b9009d2fbcf2bad6650b6e5d9124316b59493b2d07d065d

diff --git a/dev-java/commons-math/commons-math-2.1-r2.ebuild 
b/dev-java/commons-math/commons-math-2.1-r2.ebuild
deleted file mode 100644
index b18fc803124..00000000000
--- a/dev-java/commons-math/commons-math-2.1-r2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# 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/files/commons-math-2.1-r2-buildfixes.patch 
b/dev-java/commons-math/files/commons-math-2.1-r2-buildfixes.patch
deleted file mode 100644
index 6d768969e79..00000000000
--- a/dev-java/commons-math/files/commons-math-2.1-r2-buildfixes.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- build.xml  2010-10-24 11:20:46.000000000 +0300
-+++ build.xml.fixed    2010-10-24 11:25:42.000000000 +0300
-@@ -114,6 +114,7 @@
-     <pathelement location="${build.home}/classes"/>
-     <pathelement location="${build.home}/test-classes"/>
-     <pathelement location="${junit.jar}"/>
-+    <pathelement location="hamcrest-core.jar"/>
-     <path refid="downloaded.lib.classpath"/>
-   </path>
- 
-@@ -232,7 +233,7 @@
- 
- <!-- ========== Create Jar ================================================ 
-->
- 
--  <target name="jar" depends="test" description="Create jar file">
-+  <target name="jar" depends="compile" description="Create jar file">
- 
-     <mkdir dir="${build.home}/classes/META-INF"/>
-     <copy file="LICENSE.txt" 
tofile="${build.home}/classes/META-INF/LICENSE.txt"/>

Reply via email to