1 |
commit: da24df6ecc81a364058b718dd8ca6d667dae9559 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 16 12:51:36 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 16 12:54:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da24df6e |
7 |
|
8 |
dev-java/commons-math: eapi7, min java 1.8, fixed slot |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
.../{commons-math-3.2.ebuild => commons-math-3.2-r1.ebuild} | 12 +++++++----- |
14 |
...ommons-math-3.6.1.ebuild => commons-math-3.6.1-r1.ebuild} | 8 ++++---- |
15 |
2 files changed, 11 insertions(+), 9 deletions(-) |
16 |
|
17 |
diff --git a/dev-java/commons-math/commons-math-3.2.ebuild b/dev-java/commons-math/commons-math-3.2-r1.ebuild |
18 |
similarity index 90% |
19 |
rename from dev-java/commons-math/commons-math-3.2.ebuild |
20 |
rename to dev-java/commons-math/commons-math-3.2-r1.ebuild |
21 |
index 0fcdf307223..504819e8dd6 100644 |
22 |
--- a/dev-java/commons-math/commons-math-3.2.ebuild |
23 |
+++ b/dev-java/commons-math/commons-math-3.2-r1.ebuild |
24 |
@@ -1,7 +1,7 @@ |
25 |
-# Copyright 1999-2018 Gentoo Foundation |
26 |
+# Copyright 1999-2021 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
-EAPI="5" |
30 |
+EAPI=7 |
31 |
|
32 |
# Tests are currently broken due to nasty -lib argument. |
33 |
JAVA_PKG_IUSE="doc source" # test |
34 |
@@ -19,7 +19,7 @@ LICENSE="Apache-2.0" |
35 |
SLOT="3" |
36 |
KEYWORDS="amd64 x86" |
37 |
|
38 |
-DEPEND=">=virtual/jdk-1.5" |
39 |
+DEPEND=">=virtual/jdk-1.8:*" |
40 |
|
41 |
# Tests are currently broken due to nasty -lib argument. |
42 |
# test? ( |
43 |
@@ -27,11 +27,13 @@ DEPEND=">=virtual/jdk-1.5" |
44 |
# dev-java/hamcrest-core:0 |
45 |
# )" |
46 |
|
47 |
-RDEPEND=">=virtual/jre-1.5" |
48 |
+RDEPEND=">=virtual/jre-1.8:*" |
49 |
|
50 |
S="${WORKDIR}/${MY_P}-src" |
51 |
|
52 |
-java_prepare() { |
53 |
+src_prepare() { |
54 |
+ default |
55 |
+ |
56 |
cp "${FILESDIR}"/${P}-build.xml build.xml || die |
57 |
|
58 |
sed -i 's/manifest=".*MANIFEST.MF"//g' build.xml || die |
59 |
|
60 |
diff --git a/dev-java/commons-math/commons-math-3.6.1.ebuild b/dev-java/commons-math/commons-math-3.6.1-r1.ebuild |
61 |
similarity index 89% |
62 |
rename from dev-java/commons-math/commons-math-3.6.1.ebuild |
63 |
rename to dev-java/commons-math/commons-math-3.6.1-r1.ebuild |
64 |
index 71c61da8a32..39c582e3688 100644 |
65 |
--- a/dev-java/commons-math/commons-math-3.6.1.ebuild |
66 |
+++ b/dev-java/commons-math/commons-math-3.6.1-r1.ebuild |
67 |
@@ -1,7 +1,7 @@ |
68 |
# Copyright 1999-2021 Gentoo Authors |
69 |
# Distributed under the terms of the GNU General Public License v2 |
70 |
|
71 |
-EAPI=6 |
72 |
+EAPI=7 |
73 |
|
74 |
JAVA_PKG_IUSE="doc examples source" |
75 |
|
76 |
@@ -15,9 +15,9 @@ HOMEPAGE="https://commons.apache.org/math/" |
77 |
SRC_URI="https://repo1.maven.org/maven2/org/apache/commons/${MY_PN}/${PV}/${MY_P}-sources.jar |
78 |
-> ${MY_P}.jar" |
79 |
|
80 |
-DEPEND=">=virtual/jdk-1.6" |
81 |
-RDEPEND=">=virtual/jre-1.6" |
82 |
+DEPEND=">=virtual/jdk-1.8:*" |
83 |
+RDEPEND=">=virtual/jre-1.8:*" |
84 |
|
85 |
LICENSE="Apache-2.0" |
86 |
-SLOT="0" |
87 |
+SLOT="3" |
88 |
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |