1 |
commit: 785ec13ab2562c87ef4ab644d6eace7a8b740bfd |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 25 09:46:22 2020 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 25 09:46:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=785ec13a |
7 |
|
8 |
dev-java/joda-time: eapi7, min jdk 1.8 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
.../{joda-time-2.7.ebuild => joda-time-2.7-r1.ebuild} | 10 ++++++---- |
14 |
1 file changed, 6 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/dev-java/joda-time/joda-time-2.7.ebuild b/dev-java/joda-time/joda-time-2.7-r1.ebuild |
17 |
similarity index 95% |
18 |
rename from dev-java/joda-time/joda-time-2.7.ebuild |
19 |
rename to dev-java/joda-time/joda-time-2.7-r1.ebuild |
20 |
index 2f19a557d78..bbf0efca3a8 100644 |
21 |
--- a/dev-java/joda-time/joda-time-2.7.ebuild |
22 |
+++ b/dev-java/joda-time/joda-time-2.7-r1.ebuild |
23 |
@@ -1,7 +1,7 @@ |
24 |
# Copyright 1999-2020 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI="5" |
28 |
+EAPI=7 |
29 |
JAVA_PKG_IUSE="doc examples source test" |
30 |
JAVA_ANT_REWRITE_CLASSPATH="true" |
31 |
|
32 |
@@ -17,15 +17,17 @@ KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-s |
33 |
|
34 |
RESTRICT="test" |
35 |
|
36 |
-DEPEND=">=virtual/jdk-1.5 |
37 |
+DEPEND=">=virtual/jdk-1.8 |
38 |
dev-java/joda-convert:0 |
39 |
test? ( |
40 |
dev-java/junit:0 |
41 |
dev-java/ant-junit:0 |
42 |
)" |
43 |
-RDEPEND=">=virtual/jre-1.5" |
44 |
+RDEPEND=">=virtual/jre-1.8" |
45 |
+ |
46 |
+src_prepare() { |
47 |
+ default |
48 |
|
49 |
-java_prepare() { |
50 |
rm -v *.jar || die "Failed to remove bundled jars." |
51 |
cp "${FILESDIR}"/${P}-build.xml "${S}"/build.xml || die "Failed to copy build file." |