1 |
commit: b9943c2a8ee044d2521b8f10e30709df203dc905 |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Wed May 11 15:22:43 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 11 17:16:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9943c2a |
7 |
|
8 |
dev-java/reflections: drop 0.9.12, 0.9.12-r1 |
9 |
|
10 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/25446 |
12 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
13 |
|
14 |
dev-java/reflections/reflections-0.9.12-r1.ebuild | 99 ----------------------- |
15 |
dev-java/reflections/reflections-0.9.12.ebuild | 99 ----------------------- |
16 |
2 files changed, 198 deletions(-) |
17 |
|
18 |
diff --git a/dev-java/reflections/reflections-0.9.12-r1.ebuild b/dev-java/reflections/reflections-0.9.12-r1.ebuild |
19 |
deleted file mode 100644 |
20 |
index e2783101dc9a..000000000000 |
21 |
--- a/dev-java/reflections/reflections-0.9.12-r1.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,99 +0,0 @@ |
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/ronmamo/reflections/archive/0.9.12.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild reflections-0.9.12.ebuild |
29 |
- |
30 |
-EAPI=8 |
31 |
- |
32 |
-JAVA_PKG_IUSE="doc source test" |
33 |
-MAVEN_ID="org.reflections:reflections:0.9.12" |
34 |
-JAVA_TESTING_FRAMEWORKS="junit-4" |
35 |
- |
36 |
-inherit java-pkg-2 java-pkg-simple |
37 |
- |
38 |
-DESCRIPTION="Reflections - a Java runtime metadata analysis" |
39 |
-HOMEPAGE="https://github.com/ronmamo/reflections" |
40 |
-SRC_URI="https://github.com/ronmamo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="WTFPL-2 BSD-2" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
45 |
- |
46 |
-# Common dependencies |
47 |
-# POM: pom.xml |
48 |
-# com.google.code.gson:gson:2.8.6 -> >=dev-java/gson-2.8.8:2.6 |
49 |
-# org.dom4j:dom4j:2.1.1 -> >=dev-java/dom4j-2.1.3:1 |
50 |
-# org.javassist:javassist:3.26.0-GA -> !!!suitable-mavenVersion-not-found!!! |
51 |
-# org.slf4j:slf4j-api:1.7.30 -> >=dev-java/slf4j-api-1.7.30:0 |
52 |
-# org.slf4j:slf4j-simple:1.7.24 -> >=dev-java/slf4j-simple-1.7.30:0 |
53 |
- |
54 |
-CP_DEPEND=" |
55 |
- dev-java/dom4j:1 |
56 |
- dev-java/gson:2.6 |
57 |
- dev-java/javassist:3 |
58 |
- dev-java/slf4j-api:0 |
59 |
- dev-java/slf4j-simple:0 |
60 |
-" |
61 |
- |
62 |
-# Compile dependencies |
63 |
-# POM: pom.xml |
64 |
-# javax.servlet:servlet-api:2.5 -> java-virtuals/servlet-api:2.5 |
65 |
-# POM: pom.xml |
66 |
-# test? junit:junit:4.13 -> >=dev-java/junit-4.13.2:4 |
67 |
- |
68 |
-DEPEND=" |
69 |
- dev-java/tomcat-servlet-api:2.5 |
70 |
- >=virtual/jdk-1.8:* |
71 |
- ${CP_DEPEND} |
72 |
-" |
73 |
- |
74 |
-RDEPEND=" |
75 |
- >=virtual/jre-1.8:* |
76 |
- ${CP_DEPEND}" |
77 |
- |
78 |
-S="${WORKDIR}/${P}" |
79 |
- |
80 |
-JAVA_CLASSPATH_EXTRA="tomcat-servlet-api-2.5" |
81 |
-JAVA_SRC_DIR=( "src/main/java" ) |
82 |
- |
83 |
-JAVA_TEST_GENTOO_CLASSPATH="junit-4" |
84 |
-JAVA_TEST_SRC_DIR=( "src/test/java" ) |
85 |
-JAVA_TEST_RESOURCE_DIRS=( "src/test/resources" ) |
86 |
-JAVA_TEST_EXCLUDES=( |
87 |
- # Upstream does not run this test |
88 |
- "org.reflections.TestModel" |
89 |
- # 1) testMethodParameterNames(org.reflections.ReflectionsCollectTest) |
90 |
- # org.reflections.ReflectionsException: Scanner MethodParameterNamesScanner was not configured |
91 |
- # at org.reflections.Store.get(Store.java:39) |
92 |
- # at org.reflections.Store.get(Store.java:61) |
93 |
- # at org.reflections.Store.get(Store.java:46) |
94 |
- # at org.reflections.Reflections.getMethodParamNames(Reflections.java:579) |
95 |
- # at org.reflections.ReflectionsTest.testMethodParameterNames(ReflectionsTest.java:239) |
96 |
- org.reflections.ReflectionsCollectTest |
97 |
- # 2) testMethodParameterNames(org.reflections.ReflectionsParallelTest) |
98 |
- # org.reflections.ReflectionsException: Scanner MethodParameterNamesScanner was not configured |
99 |
- # at org.reflections.Store.get(Store.java:39) |
100 |
- # at org.reflections.Store.get(Store.java:61) |
101 |
- # at org.reflections.Store.get(Store.java:46) |
102 |
- # at org.reflections.Reflections.getMethodParamNames(Reflections.java:579) |
103 |
- # at org.reflections.ReflectionsTest.testMethodParameterNames(ReflectionsTest.java:239) |
104 |
- org.reflections.ReflectionsParallelTest |
105 |
- # 3) testMethodParameterNames(org.reflections.ReflectionsTest) |
106 |
- # org.reflections.ReflectionsException: Scanner MethodParameterNamesScanner was not configured |
107 |
- # at org.reflections.Store.get(Store.java:39) |
108 |
- # at org.reflections.Store.get(Store.java:61) |
109 |
- # at org.reflections.Store.get(Store.java:46) |
110 |
- # at org.reflections.Reflections.getMethodParamNames(Reflections.java:579) |
111 |
- # at org.reflections.ReflectionsTest.testMethodParameterNames(ReflectionsTest.java:239) |
112 |
- org.reflections.ReflectionsTest |
113 |
- # |
114 |
- # https://github.com/ronmamo/reflections/issues/277#issuecomment-927152981 |
115 |
- # scanner was not configured exception - this is a known issue in 0.9.12, a simple workaround is to |
116 |
- # check if the getStore() contains index for the scanner before querying. next version 0.10 fixes this. |
117 |
-) |
118 |
- |
119 |
-src_install() { |
120 |
- default # https://bugs.gentoo.org/789582 |
121 |
- java-pkg-simple_src_install |
122 |
-} |
123 |
|
124 |
diff --git a/dev-java/reflections/reflections-0.9.12.ebuild b/dev-java/reflections/reflections-0.9.12.ebuild |
125 |
deleted file mode 100644 |
126 |
index 81b492eaeeb4..000000000000 |
127 |
--- a/dev-java/reflections/reflections-0.9.12.ebuild |
128 |
+++ /dev/null |
129 |
@@ -1,99 +0,0 @@ |
130 |
-# Copyright 1999-2022 Gentoo Authors |
131 |
-# Distributed under the terms of the GNU General Public License v2 |
132 |
- |
133 |
-# Skeleton command: |
134 |
-# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/ronmamo/reflections/archive/0.9.12.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild reflections-0.9.12.ebuild |
135 |
- |
136 |
-EAPI=8 |
137 |
- |
138 |
-JAVA_PKG_IUSE="doc source test" |
139 |
-MAVEN_ID="org.reflections:reflections:0.9.12" |
140 |
-JAVA_TESTING_FRAMEWORKS="junit-4" |
141 |
- |
142 |
-inherit java-pkg-2 java-pkg-simple |
143 |
- |
144 |
-DESCRIPTION="Reflections - a Java runtime metadata analysis" |
145 |
-HOMEPAGE="https://github.com/ronmamo/reflections" |
146 |
-SRC_URI="https://github.com/ronmamo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
147 |
- |
148 |
-LICENSE="WTFPL-2 BSD-2" |
149 |
-SLOT="0" |
150 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
151 |
- |
152 |
-# Common dependencies |
153 |
-# POM: pom.xml |
154 |
-# com.google.code.gson:gson:2.8.6 -> >=dev-java/gson-2.8.8:2.6 |
155 |
-# org.dom4j:dom4j:2.1.1 -> >=dev-java/dom4j-2.1.3:1 |
156 |
-# org.javassist:javassist:3.26.0-GA -> !!!suitable-mavenVersion-not-found!!! |
157 |
-# org.slf4j:slf4j-api:1.7.30 -> >=dev-java/slf4j-api-1.7.30:0 |
158 |
-# org.slf4j:slf4j-simple:1.7.24 -> >=dev-java/slf4j-simple-1.7.30:0 |
159 |
- |
160 |
-CP_DEPEND=" |
161 |
- dev-java/dom4j:1 |
162 |
- dev-java/gson:2.6 |
163 |
- dev-java/javassist:3 |
164 |
- dev-java/slf4j-api:0 |
165 |
- dev-java/slf4j-simple:0 |
166 |
-" |
167 |
- |
168 |
-# Compile dependencies |
169 |
-# POM: pom.xml |
170 |
-# javax.servlet:servlet-api:2.5 -> java-virtuals/servlet-api:2.5 |
171 |
-# POM: pom.xml |
172 |
-# test? junit:junit:4.13 -> >=dev-java/junit-4.13.2:4 |
173 |
- |
174 |
-DEPEND=" |
175 |
- java-virtuals/servlet-api:2.5 |
176 |
- >=virtual/jdk-1.8:* |
177 |
- ${CP_DEPEND} |
178 |
-" |
179 |
- |
180 |
-RDEPEND=" |
181 |
- >=virtual/jre-1.8:* |
182 |
- ${CP_DEPEND}" |
183 |
- |
184 |
-S="${WORKDIR}/${P}" |
185 |
- |
186 |
-JAVA_CLASSPATH_EXTRA="servlet-api-2.5" |
187 |
-JAVA_SRC_DIR=( "src/main/java" ) |
188 |
- |
189 |
-JAVA_TEST_GENTOO_CLASSPATH="junit-4" |
190 |
-JAVA_TEST_SRC_DIR=( "src/test/java" ) |
191 |
-JAVA_TEST_RESOURCE_DIRS=( "src/test/resources" ) |
192 |
-JAVA_TEST_EXCLUDES=( |
193 |
- # Upstream does not run this test |
194 |
- "org.reflections.TestModel" |
195 |
- # 1) testMethodParameterNames(org.reflections.ReflectionsCollectTest) |
196 |
- # org.reflections.ReflectionsException: Scanner MethodParameterNamesScanner was not configured |
197 |
- # at org.reflections.Store.get(Store.java:39) |
198 |
- # at org.reflections.Store.get(Store.java:61) |
199 |
- # at org.reflections.Store.get(Store.java:46) |
200 |
- # at org.reflections.Reflections.getMethodParamNames(Reflections.java:579) |
201 |
- # at org.reflections.ReflectionsTest.testMethodParameterNames(ReflectionsTest.java:239) |
202 |
- org.reflections.ReflectionsCollectTest |
203 |
- # 2) testMethodParameterNames(org.reflections.ReflectionsParallelTest) |
204 |
- # org.reflections.ReflectionsException: Scanner MethodParameterNamesScanner was not configured |
205 |
- # at org.reflections.Store.get(Store.java:39) |
206 |
- # at org.reflections.Store.get(Store.java:61) |
207 |
- # at org.reflections.Store.get(Store.java:46) |
208 |
- # at org.reflections.Reflections.getMethodParamNames(Reflections.java:579) |
209 |
- # at org.reflections.ReflectionsTest.testMethodParameterNames(ReflectionsTest.java:239) |
210 |
- org.reflections.ReflectionsParallelTest |
211 |
- # 3) testMethodParameterNames(org.reflections.ReflectionsTest) |
212 |
- # org.reflections.ReflectionsException: Scanner MethodParameterNamesScanner was not configured |
213 |
- # at org.reflections.Store.get(Store.java:39) |
214 |
- # at org.reflections.Store.get(Store.java:61) |
215 |
- # at org.reflections.Store.get(Store.java:46) |
216 |
- # at org.reflections.Reflections.getMethodParamNames(Reflections.java:579) |
217 |
- # at org.reflections.ReflectionsTest.testMethodParameterNames(ReflectionsTest.java:239) |
218 |
- org.reflections.ReflectionsTest |
219 |
- # |
220 |
- # https://github.com/ronmamo/reflections/issues/277#issuecomment-927152981 |
221 |
- # scanner was not configured exception - this is a known issue in 0.9.12, a simple workaround is to |
222 |
- # check if the getStore() contains index for the scanner before querying. next version 0.10 fixes this. |
223 |
-) |
224 |
- |
225 |
-src_install() { |
226 |
- default # https://bugs.gentoo.org/789582 |
227 |
- java-pkg-simple_src_install |
228 |
-} |