1 |
commit: e3e76dd213202b5d6e4bafc47fa889268fdca367 |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Mon Feb 7 15:42:46 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 8 08:11:44 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3e76dd2 |
7 |
|
8 |
dev-java/joda-convert: Switch to guava:0 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/24115 |
13 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
14 |
|
15 |
dev-java/joda-convert/joda-convert-2.2.2-r1.ebuild | 71 ++++++++++++++++++++++ |
16 |
1 file changed, 71 insertions(+) |
17 |
|
18 |
diff --git a/dev-java/joda-convert/joda-convert-2.2.2-r1.ebuild b/dev-java/joda-convert/joda-convert-2.2.2-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 000000000000..08c06c307b1a |
21 |
--- /dev/null |
22 |
+++ b/dev-java/joda-convert/joda-convert-2.2.2-r1.ebuild |
23 |
@@ -0,0 +1,71 @@ |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+# Skeleton command: |
28 |
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/JodaOrg/joda-convert/archive/refs/tags/v2.2.2.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild joda-convert-2.2.2.ebuild |
29 |
+ |
30 |
+EAPI=8 |
31 |
+ |
32 |
+JAVA_PKG_IUSE="doc source test" |
33 |
+MAVEN_ID="org.joda:joda-convert:2.2.2" |
34 |
+JAVA_TESTING_FRAMEWORKS="junit-4" |
35 |
+ |
36 |
+inherit java-pkg-2 java-pkg-simple |
37 |
+ |
38 |
+DESCRIPTION="Library to convert Objects to and from String" |
39 |
+HOMEPAGE="https://www.joda.org/joda-convert/" |
40 |
+SRC_URI="https://github.com/JodaOrg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" |
45 |
+ |
46 |
+# Compile dependencies |
47 |
+# POM: pom.xml |
48 |
+# test? com.google.guava:guava:31.0.1-jre -> !!!suitable-mavenVersion-not-found!!! |
49 |
+# test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4 |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ >=virtual/jdk-1.8:* |
53 |
+ test? ( |
54 |
+ dev-java/guava:0 |
55 |
+ ) |
56 |
+" |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ >=virtual/jre-1.8:* |
60 |
+" |
61 |
+ |
62 |
+DOCS=( {LICENSE,NOTICE,RELEASE-NOTES}.txt README.md ) |
63 |
+ |
64 |
+S="${WORKDIR}/${P}" |
65 |
+ |
66 |
+JAVA_SRC_DIR="src/main/java" |
67 |
+# JAVA_RESOURCE_DIRS="" |
68 |
+ |
69 |
+JAVA_TEST_GENTOO_CLASSPATH="guava,junit-4" |
70 |
+JAVA_TEST_SRC_DIR="src/test/java" |
71 |
+JAVA_TEST_RESOURCE_DIRS="src/test/resources" |
72 |
+ |
73 |
+JAVA_TEST_EXCLUDES=( |
74 |
+ # Upstream: Tests run: 186, Failures: 0, Errors: 0, Skipped: 0 |
75 |
+ # All following: No runnable methods |
76 |
+ org.joda.convert.test1.Test1Class |
77 |
+ org.joda.convert.test1.Test1Interface |
78 |
+ org.joda.convert.test2.Test2Class |
79 |
+ org.joda.convert.test2.Test2Factory |
80 |
+ org.joda.convert.test2.Test2Interface |
81 |
+ org.joda.convert.test3.Test3Class |
82 |
+ org.joda.convert.test3.Test3Factory |
83 |
+ org.joda.convert.test3.Test3Interface |
84 |
+ org.joda.convert.test3.Test3SuperClass |
85 |
+ org.joda.convert.test4.Test4Class |
86 |
+ org.joda.convert.test4.Test4Factory |
87 |
+ org.joda.convert.test4.Test4Interface |
88 |
+ org.joda.convert.TestRenameHandlerBadInit |
89 |
+) |
90 |
+ |
91 |
+src_install() { |
92 |
+ default # https://bugs.gentoo.org/789582 |
93 |
+ java-pkg-simple_src_install |
94 |
+} |