1 |
commit: 8ccc38b5c9b76321ca10d91dd3809782a1079b9e |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Wed May 11 15:11:33 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 11 17:16:28 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ccc38b5 |
7 |
|
8 |
dev-java/gson: drop 2.9.0 |
9 |
|
10 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
11 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
12 |
|
13 |
dev-java/gson/gson-2.9.0.ebuild | 63 ----------------------------------------- |
14 |
1 file changed, 63 deletions(-) |
15 |
|
16 |
diff --git a/dev-java/gson/gson-2.9.0.ebuild b/dev-java/gson/gson-2.9.0.ebuild |
17 |
deleted file mode 100644 |
18 |
index f5694762cc65..000000000000 |
19 |
--- a/dev-java/gson/gson-2.9.0.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,63 +0,0 @@ |
22 |
-# Copyright 1999-2022 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-# Skeleton command: |
26 |
-# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/google/gson/archive/gson-parent-2.9.0.tar.gz --slot 2.6 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild gson-2.9.0.ebuild |
27 |
- |
28 |
-EAPI=8 |
29 |
- |
30 |
-JAVA_PKG_IUSE="doc source test" |
31 |
-MAVEN_ID="com.google.code.gson:gson:2.9.0" |
32 |
-JAVA_TESTING_FRAMEWORKS="junit-4" |
33 |
- |
34 |
-inherit java-pkg-2 java-pkg-simple |
35 |
- |
36 |
-DESCRIPTION="Gson JSON library" |
37 |
-HOMEPAGE="https://github.com/google/gson" |
38 |
-SRC_URI="https://github.com/google/${PN}/archive/${PN}-parent-${PV}.tar.gz -> ${P}.tar.gz" |
39 |
- |
40 |
-LICENSE="Apache-2.0" |
41 |
-SLOT="2.6" |
42 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
43 |
- |
44 |
-DEPEND=" |
45 |
- virtual/jdk:11 |
46 |
-" |
47 |
- |
48 |
-# Set to jre-11:* since jre-1.8:* causes errors: |
49 |
-# error: Invalid SafeVarargs annotation. Instance method <T>assertIterationOrder(Iterable<T>,T...) is not final. |
50 |
-# in src/test/java/com/google/gson/internal/LinkedTreeMapTest.java:164: |
51 |
-RDEPEND=" |
52 |
- >=virtual/jre-11:* |
53 |
-" |
54 |
- |
55 |
-S="${WORKDIR}/${PN}-${PN}-parent-${PV}/${PN}" |
56 |
- |
57 |
-JAVA_SRC_DIR=( |
58 |
- "src/main/java" |
59 |
- "src/main/java-templates" |
60 |
-) |
61 |
- |
62 |
-JAVA_TEST_GENTOO_CLASSPATH="junit-4" |
63 |
-JAVA_TEST_SRC_DIR="src/test/java" |
64 |
-JAVA_TEST_RESOURCE_DIRS=( |
65 |
- "src/test/resources" |
66 |
-) |
67 |
- |
68 |
-JAVA_TEST_EXCLUDES=( |
69 |
- # requires the test class to be obfuscated using proguard which we do not have atm |
70 |
- "com.google.gson.functional.EnumWithObfuscatedTest" |
71 |
- # FAILURES!!! |
72 |
- # Tests run: 1090, Failures: 3 |
73 |
- # testComGoogleGsonAnnotationsPackage(com.google.gson.regression.OSGiTest) |
74 |
- # junit.framework.AssertionFailedError: Cannot find com.google.gson OSGi bundle manifest |
75 |
- "com.google.gson.regression.OSGiTest" |
76 |
- # testSerializeInternalImplementationObject(com.google.gson.functional.ReflectionAccessTest) |
77 |
- # java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $ |
78 |
- "com.google.gson.functional.ReflectionAccessTest" |
79 |
-) |
80 |
- |
81 |
-src_prepare() { |
82 |
- default |
83 |
- sed -i "s/\${project.version}/${PV}/g" src/main/java-templates/com/google/gson/internal/GsonBuildConfig.java || die "Failed to set version" |
84 |
-} |