Gentoo Archives: gentoo-commits

From: Keri Harris <keri@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/tuprolog/files/, dev-lang/tuprolog/
Date: Sat, 26 Sep 2020 09:34:26
Message-Id: 1601112825.c94f6a6616b2e0883b7c82c1edab3cd9138f5376.keri@gentoo
1 commit: c94f6a6616b2e0883b7c82c1edab3cd9138f5376
2 Author: Keri Harris <keri <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 26 09:33:45 2020 +0000
4 Commit: Keri Harris <keri <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 26 09:33:45 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c94f6a66
7
8 dev-lang/tuprolog: remove old versions
9
10 Package-Manager: Portage-3.0.4, Repoman-2.3.22
11 Signed-off-by: Keri Harris <keri <AT> gentoo.org>
12
13 dev-lang/tuprolog/Manifest | 2 -
14 dev-lang/tuprolog/files/build-2.9.2.xml | 110 -----------------
15 .../tuprolog-2.9.2-no-dynamic-object-test.patch | 20 ---
16 .../tuprolog/files/tuprolog-2.9.2-no-ikvm.patch | 116 -----------------
17 .../tuprolog/files/tuprolog-3.0.1-no-ikvm.patch | 137 ---------------------
18 .../files/tuprolog-3.0.1-oolibrary-unit-test.patch | 12 --
19 dev-lang/tuprolog/tuprolog-2.9.2.ebuild | 65 ----------
20 dev-lang/tuprolog/tuprolog-3.0.1.ebuild | 66 ----------
21 dev-lang/tuprolog/tuprolog-3.1.0.ebuild | 65 ----------
22 9 files changed, 593 deletions(-)
23
24 diff --git a/dev-lang/tuprolog/Manifest b/dev-lang/tuprolog/Manifest
25 index 4b2ae8c599e..3153148ca02 100644
26 --- a/dev-lang/tuprolog/Manifest
27 +++ b/dev-lang/tuprolog/Manifest
28 @@ -1,5 +1,3 @@
29 -DIST tuprolog-2.9.2.tar.gz 6262268 BLAKE2B 39bbc4dcb2336a713f47252ff6f7d00f15aa0072c4864c2d3e453ec43b2c646f9cdc7a69444e21d9cc20ba283ddee5fd980855811f8f80ba4afe7c37cdd47317 SHA512 831c7390fe33fc57cb01d4b1d61485ac5df1aa8ebf386d5aae5c5d32f7677d46aa5aa6cc0eb1d3bb79989a54f8484ad8b97754b7f75fc21af6116ae170a28316
30 -DIST tuprolog-3.0.1.tar.gz 6326591 BLAKE2B a051eb3f22c01e1c269b167fa7d1daec6e4818229e2035c1140401c38094c53451ea720638adaa6d6fda0ea70daf6f5f1bc9ea84f1e4ba9de9f00ca83529697c SHA512 56fa96f717b5c8e56fd2979f2953744964d844e5abf215456e31309d3d92bde142f9bff55e6442b6de55f219c7f143a275ccf89359ff2f2944459bbc94770afa
31 DIST tuprolog-3.1.0.tar.gz 7201383 BLAKE2B 9d8b610240611cd5b3d0dae104a44c72bb5e7c0512e4dbf3e178204d9d36e461219cd869ca1e16e3054ca3e1ee34d3b2c6fa5c659df16f54e3266c7c826af8d6 SHA512 1093e29a79964cb3991326da14f020cdc8ff64f2444c84dbb6b22aa5c4ecbf48f74dbc26af0af949ccc31020573ce5908684af794db4654fb475efa697a82cbf
32 DIST tuprolog-3.2.0-gentoo-patchset-0.tar.gz 1813 BLAKE2B 4ed7ffbb752a821a2b2842cfdbc1f4ec92d14b35a1c5a722207b45ec9dbdc44588acc010fb6386e8ed2e7d30d3bc8d425f0f74e8cc953cb7afad8305904e1499 SHA512 454757fc01f3f697510426e7a2a41b57350c1e3f980e381e197616e10eaf88339155226096f1d417397b9bc6f4964a45b3d547c6794ad23a4a014b06212b08f0
33 DIST tuprolog-3.2.0.tar.gz 6242286 BLAKE2B 77a3d3f886673aca72fffd9bb60657efcbe7ea5bb0f84eea7a72df513295d572c8116472f8d544240fac676ac9a6a0fcecfc3166e6426ef7d8af80eac4ba8d85 SHA512 e27bd989d66bae26c646cb69670fb75232ebdd18d1dbb9d600f9847921ecd56d17221736b3ec15c087857509272ce89af8bc44924130430db3860870a06bb499
34
35 diff --git a/dev-lang/tuprolog/files/build-2.9.2.xml b/dev-lang/tuprolog/files/build-2.9.2.xml
36 deleted file mode 100644
37 index 823c2371d1f..00000000000
38 --- a/dev-lang/tuprolog/files/build-2.9.2.xml
39 +++ /dev/null
40 @@ -1,110 +0,0 @@
41 -<?xml version="1.0" ?><project default="jar" name="tuprolog">
42 -
43 - <!-- some properties -->
44 - <property name="src.dir" value="src"/>
45 - <property name="build.dir" value="build"/>
46 - <property name="docs.dir" value="docs"/>
47 - <property name="dist.dir" value="dist"/>
48 - <property name="test.dir" value="test"/>
49 - <property name="test.build.dir" value="test.build"/>
50 - <property name="jarfile" value="${ant.project.name}.jar"/>
51 - <property file="build.properties"/>
52 -
53 - <path id="compile.classpath">
54 - <fileset dir="lib" includes="*.jar"/>
55 - <pathelement path="${gentoo.classpath}"/>
56 - </path>
57 -
58 - <!-- init -->
59 - <target name="init">
60 - <tstamp/>
61 - <mkdir dir="${dist.dir}"/>
62 - <mkdir dir="${build.dir}"/>
63 - <mkdir dir="${docs.dir}"/>
64 - <mkdir dir="${test.build.dir}"/>
65 - </target>
66 -
67 - <!-- compile everything -->
68 - <target depends="init" name="compile">
69 - <javac deprecation="off"
70 - destdir="${build.dir}"
71 - encoding="ISO-8859-1"
72 - srcdir="${src.dir}"
73 - target="1.7">
74 - <classpath>
75 - <path refid="compile.classpath"/>
76 - </classpath>
77 - </javac>
78 - <copy todir="${build.dir}">
79 - <fileset dir="${src.dir}">
80 - <exclude name="**/*.java"/>
81 - </fileset>
82 - </copy>
83 - </target>
84 -
85 - <!-- build the jar file -->
86 - <target depends="compile" name="jar">
87 - <jar basedir="${build.dir}" jarfile="${dist.dir}/${jarfile}"/>
88 - <jar basedir="${build.dir}" jarfile="${dist.dir}/2p.jar">
89 - <manifest>
90 - <attribute name="Main-Class" value="alice.tuprologx.ide.GUILauncher"/>
91 - <attribute name="Class-Path" value="."/>
92 - </manifest>
93 - <zipgroupfileset dir="lib" includes="*.jar"/>
94 - </jar>
95 - </target>
96 -
97 - <!-- generate javadocs -->
98 - <target depends="init" name="javadoc">
99 - <javadoc
100 - author="false"
101 - destdir="${docs.dir}"
102 - encoding="ISO-8859-1"
103 - breakiterator="yes"
104 - packagenames="alice.*"
105 - sourcepath="${src.dir}"
106 - use="true"
107 - version="true"
108 - verbose="no"
109 - windowtitle="${ant.project.name} API">
110 - <classpath>
111 - <path refid="compile.classpath"/>
112 - </classpath>
113 - </javadoc>
114 - </target>
115 -
116 - <!-- clean up -->
117 - <target name="clean">
118 - <delete dir="${build.dir}"/>
119 - <delete dir="${dist.dir}"/>
120 - <delete dir="${docs.dir}"/>
121 - <delete dir="${test.build.dir}"/>
122 - </target>
123 -
124 - <!-- run testsuite -->
125 - <target name="test">
126 - <path id="dist.classpath">
127 - <fileset dir="${dist.dir}">
128 - <include name="*.jar"/>
129 - </fileset>
130 - </path>
131 - <javac classpathref="dist.classpath"
132 - deprecation="off"
133 - destdir="${test.build.dir}"
134 - encoding="ISO-8859-1"
135 - srcdir="${test.dir}/unit"
136 - target="1.7"/>
137 - <junit haltonfailure="on" showoutput="no" printsummary="yes">
138 - <classpath>
139 - <path refid="dist.classpath"/>
140 - <pathelement path="${test.build.dir}"/>
141 - </classpath>
142 - <formatter type="xml"/>
143 - <batchtest todir="${test.build.dir}">
144 - <fileset dir="${test.build.dir}">
145 - <include name="**/*TestCase.class"/>
146 - </fileset>
147 - </batchtest>
148 - </junit>
149 - </target>
150 -</project>
151
152 diff --git a/dev-lang/tuprolog/files/tuprolog-2.9.2-no-dynamic-object-test.patch b/dev-lang/tuprolog/files/tuprolog-2.9.2-no-dynamic-object-test.patch
153 deleted file mode 100644
154 index 0416258e9e1..00000000000
155 --- a/dev-lang/tuprolog/files/tuprolog-2.9.2-no-dynamic-object-test.patch
156 +++ /dev/null
157 @@ -1,20 +0,0 @@
158 ---- tuprolog-2.9.2.orig/test/unit/alice/tuprolog/JavaLibraryTestCase.java 2015-02-27 14:02:49.000000000 +0100
159 -+++ tuprolog-2.9.2/test/unit/alice/tuprolog/JavaLibraryTestCase.java 2016-02-17 15:24:47.000000000 +0100
160 -@@ -39,7 +39,7 @@
161 - SolveInfo goal = engine.solve(new Struct("demo", t));
162 - assertFalse(goal.isSuccess());
163 - }
164 --
165 -+/*
166 - public void testDynamicObjectsRetrival() throws PrologException {
167 - Prolog engine = new Prolog();
168 - JavaLibrary lib = (JavaLibrary) engine.getLibrary("alice.tuprolog.lib.JavaLibrary");
169 -@@ -53,7 +53,7 @@
170 - TestCounter counter = (TestCounter) lib.getRegisteredDynamicObject(id);
171 - assertEquals(2, counter.getValue());
172 - }
173 --
174 -+*/
175 -
176 - public void test_java_object() throws PrologException, IOException
177 - {
178
179 diff --git a/dev-lang/tuprolog/files/tuprolog-2.9.2-no-ikvm.patch b/dev-lang/tuprolog/files/tuprolog-2.9.2-no-ikvm.patch
180 deleted file mode 100644
181 index d94dc66bbac..00000000000
182 --- a/dev-lang/tuprolog/files/tuprolog-2.9.2-no-ikvm.patch
183 +++ /dev/null
184 @@ -1,116 +0,0 @@
185 -diff -urN tuprolog-2.9.0.orig/src/alice/tuprolog/LibraryManager.java tuprolog-2.9.0/src/alice/tuprolog/LibraryManager.java
186 ---- tuprolog-2.9.0.orig/src/alice/tuprolog/LibraryManager.java 2014-09-29 18:14:21.000000000 +0200
187 -+++ tuprolog-2.9.0/src/alice/tuprolog/LibraryManager.java 2015-01-11 14:48:57.000000000 +0100
188 -@@ -9,11 +9,11 @@
189 - import java.net.URL;
190 - import java.net.URLClassLoader;
191 - import java.util.*;
192 --import cli.System.Reflection.Assembly;
193 -+//import cli.System.Reflection.Assembly;
194 -
195 - import alice.tuprolog.event.LibraryEvent;
196 - import alice.tuprolog.event.WarningEvent;
197 --import alice.util.AssemblyCustomClassLoader;
198 -+//import alice.util.AssemblyCustomClassLoader;
199 -
200 - /**
201 - * @author Alex Benini
202 -@@ -179,31 +179,7 @@
203 - } else
204 - // .NET
205 - {
206 -- Assembly asm = null;
207 -- boolean classFound = false;
208 -- className = "cli."
209 -- + className.substring(0, className.indexOf(","))
210 -- .trim();
211 -- for (int i = 0; i < paths.length; i++)
212 -- {
213 -- try
214 -- {
215 -- asm = Assembly.LoadFrom(paths[i]);
216 -- loader = new AssemblyCustomClassLoader(asm, urls);
217 -- lib = (Library) Class.forName(className, true, loader).newInstance();
218 -- if (lib != null)
219 -- {
220 -- classFound = true;
221 -- break;
222 -- }
223 -- } catch (Exception e)
224 -- {
225 -- e.printStackTrace();
226 -- continue;
227 -- }
228 -- }
229 -- if (!classFound)
230 -- throw new InvalidLibraryException(className, -1, -1);
231 -+ throw new InvalidLibraryException(className, -1, -1);
232 - }
233 - }
234 -
235 -@@ -462,4 +438,4 @@
236 - return optimizedDirectory;
237 - }
238 -
239 --}
240 -\ No newline at end of file
241 -+}
242 -diff -urN tuprolog-2.9.0.orig/src/alice/tuprologx/ide/LibraryManager.java tuprolog-2.9.0/src/alice/tuprologx/ide/LibraryManager.java
243 ---- tuprolog-2.9.0.orig/src/alice/tuprologx/ide/LibraryManager.java 2014-09-29 18:14:21.000000000 +0200
244 -+++ tuprolog-2.9.0/src/alice/tuprologx/ide/LibraryManager.java 2015-01-11 14:46:23.000000000 +0100
245 -@@ -18,7 +18,7 @@
246 - package alice.tuprologx.ide;
247 -
248 - import alice.tuprolog.*;
249 --import alice.util.AssemblyCustomClassLoader;
250 -+//import alice.util.AssemblyCustomClassLoader;
251 -
252 - import java.io.File;
253 - import java.net.URL;
254 -@@ -26,7 +26,7 @@
255 - import java.util.ArrayList;
256 - import java.util.Hashtable;
257 - import java.util.StringTokenizer;
258 --import cli.System.Reflection.Assembly;
259 -+//import cli.System.Reflection.Assembly;
260 -
261 - /**
262 - * A dynamic manager for tuProlog libraries.
263 -@@ -155,10 +155,7 @@
264 - // .NET
265 - if(System.getProperty("java.vm.name").equals("IKVM.NET"))
266 - {
267 -- Assembly asm = Assembly.LoadFrom(file.getPath());
268 -- loader = new AssemblyCustomClassLoader(asm, new URL[]{url});
269 -- libraryClassname = "cli." + libraryClassname.substring(0,
270 -- libraryClassname.indexOf(",")).trim();
271 -+ throw new InvalidLibraryException(libraryClassname,-1,-1);
272 - }
273 - // JVM
274 - else
275 -diff -urN tuprolog-2.9.0.orig/src/alice/util/AssemblyCustomClassLoader.java tuprolog-2.9.0/src/alice/util/AssemblyCustomClassLoader.java
276 ---- tuprolog-2.9.0.orig/src/alice/util/AssemblyCustomClassLoader.java 2014-09-29 18:14:21.000000000 +0200
277 -+++ tuprolog-2.9.0/src/alice/util/AssemblyCustomClassLoader.java 1970-01-01 01:00:00.000000000 +0100
278 -@@ -1,21 +0,0 @@
279 --package alice.util;
280 --
281 --import java.net.URL;
282 --
283 --public class AssemblyCustomClassLoader extends java.net.URLClassLoader
284 --{
285 -- public AssemblyCustomClassLoader(cli.System.Reflection.Assembly asm, URL[] urls)
286 -- {
287 -- super(new java.net.URL[0], new ikvm.runtime.AssemblyClassLoader(asm));
288 -- // explicitly calling addURL() is safer than passing it to the super constructor,
289 -- // because this class loader instance may be used during the URL construction.
290 -- for (URL url : urls) {
291 -- addURL(url);
292 -- }
293 -- }
294 --
295 -- public void addUrl(URL url)
296 -- {
297 -- addURL(url);
298 -- }
299 --}
300 -\ No newline at end of file
301
302 diff --git a/dev-lang/tuprolog/files/tuprolog-3.0.1-no-ikvm.patch b/dev-lang/tuprolog/files/tuprolog-3.0.1-no-ikvm.patch
303 deleted file mode 100644
304 index 660b22c7934..00000000000
305 --- a/dev-lang/tuprolog/files/tuprolog-3.0.1-no-ikvm.patch
306 +++ /dev/null
307 @@ -1,137 +0,0 @@
308 -diff -urN tuprolog-3.0.1.orig/src/alice/tuprolog/LibraryManager.java tuprolog-3.0.1/src/alice/tuprolog/LibraryManager.java
309 ---- tuprolog-3.0.1.orig/src/alice/tuprolog/LibraryManager.java 2017-09-27 12:31:06.689334505 +0200
310 -+++ tuprolog-3.0.1/src/alice/tuprolog/LibraryManager.java 2017-09-27 12:50:04.193286931 +0200
311 -@@ -9,11 +9,11 @@
312 - import java.net.URL;
313 - import java.net.URLClassLoader;
314 - import java.util.*;
315 --import cli.System.Reflection.Assembly;
316 -+//import cli.System.Reflection.Assembly;
317 -
318 - import alice.tuprolog.event.LibraryEvent;
319 - import alice.tuprolog.event.WarningEvent;
320 --import alice.util.AssemblyCustomClassLoader;
321 -+//import alice.util.AssemblyCustomClassLoader;
322 -
323 - /**
324 - * @author Alex Benini
325 -@@ -179,31 +179,7 @@
326 - } else
327 - // .NET
328 - {
329 -- Assembly asm = null;
330 -- boolean classFound = false;
331 -- className = "cli."
332 -- + className.substring(0, className.indexOf(","))
333 -- .trim();
334 -- for (int i = 0; i < paths.length; i++)
335 -- {
336 -- try
337 -- {
338 -- asm = Assembly.LoadFrom(paths[i]);
339 -- loader = new AssemblyCustomClassLoader(asm, urls);
340 -- lib = (Library) Class.forName(className, true, loader).newInstance();
341 -- if (lib != null)
342 -- {
343 -- classFound = true;
344 -- break;
345 -- }
346 -- } catch (Exception e)
347 -- {
348 -- e.printStackTrace();
349 -- continue;
350 -- }
351 -- }
352 -- if (!classFound)
353 -- throw new InvalidLibraryException(className, -1, -1);
354 -+ throw new InvalidLibraryException(className, -1, -1);
355 - }
356 - }
357 -
358 -@@ -462,4 +438,4 @@
359 - return optimizedDirectory;
360 - }
361 -
362 --}
363 -\ Manca newline alla fine del file
364 -+}
365 -diff -urN tuprolog-3.0.1.orig/src/alice/tuprologx/ide/LibraryManager.java tuprolog-3.0.1/src/alice/tuprologx/ide/LibraryManager.java
366 ---- tuprolog-3.0.1.orig/src/alice/tuprologx/ide/LibraryManager.java 2017-09-27 12:31:06.696334504 +0200
367 -+++ tuprolog-3.0.1/src/alice/tuprologx/ide/LibraryManager.java 2017-09-27 12:50:04.194286931 +0200
368 -@@ -18,7 +18,7 @@
369 - package alice.tuprologx.ide;
370 -
371 - import alice.tuprolog.*;
372 --import alice.util.AssemblyCustomClassLoader;
373 -+//import alice.util.AssemblyCustomClassLoader;
374 -
375 - import java.io.File;
376 - import java.net.URL;
377 -@@ -26,7 +26,7 @@
378 - import java.util.ArrayList;
379 - import java.util.Hashtable;
380 - import java.util.StringTokenizer;
381 --import cli.System.Reflection.Assembly;
382 -+//import cli.System.Reflection.Assembly;
383 -
384 - /**
385 - * A dynamic manager for tuProlog libraries.
386 -@@ -155,10 +155,7 @@
387 - // .NET
388 - if(System.getProperty("java.vm.name").equals("IKVM.NET"))
389 - {
390 -- Assembly asm = Assembly.LoadFrom(file.getPath());
391 -- loader = new AssemblyCustomClassLoader(asm, new URL[]{url});
392 -- libraryClassname = "cli." + libraryClassname.substring(0,
393 -- libraryClassname.indexOf(",")).trim();
394 -+ throw new InvalidLibraryException(libraryClassname,-1,-1);
395 - }
396 - // JVM
397 - else
398 -diff -urN tuprolog-3.0.1.orig/src/alice/util/AssemblyCustomClassLoader.java tuprolog-3.0.1/src/alice/util/AssemblyCustomClassLoader.java
399 ---- tuprolog-3.0.1.orig/src/alice/util/AssemblyCustomClassLoader.java 2017-09-27 12:31:06.699334504 +0200
400 -+++ tuprolog-3.0.1/src/alice/util/AssemblyCustomClassLoader.java 1970-01-01 01:00:00.000000000 +0100
401 -@@ -1,21 +0,0 @@
402 --package alice.util;
403 --
404 --import java.net.URL;
405 --
406 --public class AssemblyCustomClassLoader extends java.net.URLClassLoader
407 --{
408 -- public AssemblyCustomClassLoader(cli.System.Reflection.Assembly asm, URL[] urls)
409 -- {
410 -- super(new java.net.URL[0], new ikvm.runtime.AssemblyClassLoader(asm));
411 -- // explicitly calling addURL() is safer than passing it to the super constructor,
412 -- // because this class loader instance may be used during the URL construction.
413 -- for (URL url : urls) {
414 -- addURL(url);
415 -- }
416 -- }
417 --
418 -- public void addUrl(URL url)
419 -- {
420 -- addURL(url);
421 -- }
422 --}
423 -\ Manca newline alla fine del file
424 -diff -urN tuprolog-3.0.1.orig/src/alice/util/proxyGenerator/Generator.java tuprolog-3.0.1/src/alice/util/proxyGenerator/Generator.java
425 ---- tuprolog-3.0.1.orig/src/alice/util/proxyGenerator/Generator.java 2017-09-27 12:31:06.700334504 +0200
426 -+++ tuprolog-3.0.1/src/alice/util/proxyGenerator/Generator.java 2017-09-27 12:50:04.195286931 +0200
427 -@@ -1,7 +1,7 @@
428 - package alice.util.proxyGenerator;
429 - import javax.tools.*;
430 -
431 --import cli.System.Reflection.Assembly;
432 -+//import cli.System.Reflection.Assembly;
433 -
434 - import java.lang.reflect.*;
435 - import java.util.*;
436 -@@ -29,7 +29,7 @@
437 - }
438 -
439 - if(System.getProperty("java.vm.name").equals("IKVM.NET"))
440 -- ikvm.runtime.Startup.addBootClassPathAssemby(Assembly.Load("IKVM.OpenJDK.Tools"));
441 -+ throw new UnsupportedOperationException("IKVM.NET not supported!");
442 -
443 - jc = ToolProvider.getSystemJavaCompiler();
444 - if (jc == null) {
445
446 diff --git a/dev-lang/tuprolog/files/tuprolog-3.0.1-oolibrary-unit-test.patch b/dev-lang/tuprolog/files/tuprolog-3.0.1-oolibrary-unit-test.patch
447 deleted file mode 100644
448 index 9d09ff202b0..00000000000
449 --- a/dev-lang/tuprolog/files/tuprolog-3.0.1-oolibrary-unit-test.patch
450 +++ /dev/null
451 @@ -1,12 +0,0 @@
452 -diff -ur tuprolog-3.0.1.orig/test/unit/alice/tuprolog/PrologTestCase.java tuprolog-3.0.1/test/unit/alice/tuprolog/PrologTestCase.java
453 ---- tuprolog-3.0.1.orig/test/unit/alice/tuprolog/PrologTestCase.java 2017-09-27 12:31:12.908334244 +0200
454 -+++ tuprolog-3.0.1/test/unit/alice/tuprolog/PrologTestCase.java 2017-09-27 19:30:31.813282027 +0200
455 -@@ -32,7 +32,7 @@
456 - assertNotNull(engine.getLibrary("alice.tuprolog.StringLibrary"));
457 - Library javaLibrary = new alice.tuprolog.lib.OOLibrary();
458 - engine.loadLibrary(javaLibrary);
459 -- assertSame(javaLibrary, engine.getLibrary("alice.tuprolog.lib.JavaLibrary"));
460 -+ assertSame(javaLibrary, engine.getLibrary("alice.tuprolog.lib.OOLibrary"));
461 - }
462 -
463 - public void testGetLibraryWithName() throws InvalidLibraryException {
464
465 diff --git a/dev-lang/tuprolog/tuprolog-2.9.2.ebuild b/dev-lang/tuprolog/tuprolog-2.9.2.ebuild
466 deleted file mode 100644
467 index ee49fbe50a3..00000000000
468 --- a/dev-lang/tuprolog/tuprolog-2.9.2.ebuild
469 +++ /dev/null
470 @@ -1,65 +0,0 @@
471 -# Copyright 1999-2019 Gentoo Authors
472 -# Distributed under the terms of the GNU General Public License v2
473 -
474 -EAPI=5
475 -
476 -inherit eutils java-pkg-2 java-ant-2
477 -
478 -DESCRIPTION="tuProlog is a light-weight Prolog for Internet applications and infrastructures"
479 -HOMEPAGE="http://tuprolog.unibo.it/"
480 -SRC_URI="mirror://gentoo/${P}.tar.gz"
481 -
482 -LICENSE="LGPL-3"
483 -SLOT="0"
484 -KEYWORDS="amd64 x86"
485 -IUSE="doc examples test"
486 -RESTRICT="!test? ( test )"
487 -
488 -RDEPEND=">=virtual/jdk-1.7:=
489 - dev-java/javassist:3"
490 -
491 -DEPEND="${RDEPEND}
492 - dev-java/ant-core
493 - test? (
494 - dev-java/ant-junit4:0
495 - dev-java/junit:4
496 - dev-java/hamcrest-core:1.3
497 - )"
498 -
499 -S="${WORKDIR}"/${P}
500 -
501 -EANT_GENTOO_CLASSPATH="javassist:3"
502 -
503 -src_prepare() {
504 - epatch "${FILESDIR}"/${P}-no-ikvm.patch
505 - epatch "${FILESDIR}"/${P}-no-dynamic-object-test.patch
506 -
507 - cp "${FILESDIR}"/build-${PV}.xml "${S}"/build.xml || die
508 -}
509 -
510 -src_compile() {
511 - eant jar $(use_doc)
512 -}
513 -
514 -src_test() {
515 - cd "${S}"/dist
516 - java-pkg_jar-from junit:4
517 - java-pkg_jar-from hamcrest-core:1.3
518 - cd "${S}"
519 - ANT_TASKS="ant-junit4" eant test || die "eant test failed"
520 -}
521 -
522 -src_install() {
523 - java-pkg_dojar dist/${PN}.jar
524 - java-pkg_dojar dist/2p.jar
525 -
526 - if use doc ; then
527 - java-pkg_dohtml -r docs/* || die
528 - dodoc doc/tuprolog-guide.pdf
529 - fi
530 -
531 - if use examples ; then
532 - insinto /usr/share/doc/${PF}/examples
533 - doins doc/examples/*.pl
534 - fi
535 -}
536
537 diff --git a/dev-lang/tuprolog/tuprolog-3.0.1.ebuild b/dev-lang/tuprolog/tuprolog-3.0.1.ebuild
538 deleted file mode 100644
539 index 411a1f875b0..00000000000
540 --- a/dev-lang/tuprolog/tuprolog-3.0.1.ebuild
541 +++ /dev/null
542 @@ -1,66 +0,0 @@
543 -# Copyright 1999-2020 Gentoo Authors
544 -# Distributed under the terms of the GNU General Public License v2
545 -
546 -EAPI=5
547 -
548 -inherit eutils java-pkg-2 java-ant-2
549 -
550 -DESCRIPTION="tuProlog is a light-weight Prolog for Internet applications and infrastructures"
551 -HOMEPAGE="http://tuprolog.unibo.it/"
552 -SRC_URI="mirror://gentoo/${P}.tar.gz"
553 -
554 -LICENSE="LGPL-3 BSD"
555 -SLOT="0"
556 -KEYWORDS="~amd64 ~x86"
557 -IUSE="doc examples test"
558 -RESTRICT="!test? ( test )"
559 -
560 -RDEPEND=">=virtual/jdk-1.8:=
561 - dev-java/javassist:3
562 - dev-java/commons-lang:3.1"
563 -
564 -DEPEND="${RDEPEND}
565 - dev-java/ant-core
566 - test? (
567 - dev-java/ant-junit4:0
568 - dev-java/junit:4
569 - dev-java/hamcrest-core:1.3
570 - )"
571 -
572 -S="${WORKDIR}"/${P}
573 -
574 -EANT_GENTOO_CLASSPATH="javassist:3,commons-lang-3.1"
575 -
576 -src_prepare() {
577 - epatch "${FILESDIR}"/${P}-no-ikvm.patch
578 - epatch "${FILESDIR}"/${P}-oolibrary-unit-test.patch
579 -
580 - cp "${FILESDIR}"/build-3.x.xml "${S}"/build.xml || die
581 -}
582 -
583 -src_compile() {
584 - eant jar $(use_doc)
585 -}
586 -
587 -src_test() {
588 - cd "${S}"/dist
589 - java-pkg_jar-from junit:4
590 - java-pkg_jar-from hamcrest-core:1.3
591 - cd "${S}"
592 - ANT_TASKS="ant-junit4" eant test || die "eant test failed"
593 -}
594 -
595 -src_install() {
596 - java-pkg_dojar dist/${PN}.jar
597 - java-pkg_dojar dist/2p.jar
598 -
599 - if use doc ; then
600 - java-pkg_dohtml -r docs/* || die
601 - dodoc doc/tuprolog-guide.pdf
602 - fi
603 -
604 - if use examples ; then
605 - insinto /usr/share/doc/${PF}/examples
606 - doins doc/examples/*.pl
607 - fi
608 -}
609
610 diff --git a/dev-lang/tuprolog/tuprolog-3.1.0.ebuild b/dev-lang/tuprolog/tuprolog-3.1.0.ebuild
611 deleted file mode 100644
612 index d22edc7d11f..00000000000
613 --- a/dev-lang/tuprolog/tuprolog-3.1.0.ebuild
614 +++ /dev/null
615 @@ -1,65 +0,0 @@
616 -# Copyright 1999-2020 Gentoo Authors
617 -# Distributed under the terms of the GNU General Public License v2
618 -
619 -EAPI=5
620 -
621 -inherit eutils java-pkg-2 java-ant-2
622 -
623 -DESCRIPTION="tuProlog is a light-weight Prolog for Internet applications and infrastructures"
624 -HOMEPAGE="http://tuprolog.unibo.it/"
625 -SRC_URI="mirror://gentoo/${P}.tar.gz"
626 -
627 -LICENSE="LGPL-3 BSD"
628 -SLOT="0"
629 -KEYWORDS="~amd64 ~x86"
630 -IUSE="doc examples test"
631 -RESTRICT="!test? ( test )"
632 -
633 -RDEPEND=">=virtual/jdk-1.8:=
634 - dev-java/javassist:3
635 - dev-java/commons-lang:3.1"
636 -
637 -DEPEND="${RDEPEND}
638 - dev-java/ant-core
639 - test? (
640 - dev-java/ant-junit4:0
641 - dev-java/junit:4
642 - dev-java/hamcrest-core:1.3
643 - )"
644 -
645 -S="${WORKDIR}"/${P}
646 -
647 -EANT_GENTOO_CLASSPATH="javassist:3,commons-lang-3.1"
648 -
649 -src_prepare() {
650 - epatch "${FILESDIR}"/${P}-no-ikvm.patch
651 -
652 - cp "${FILESDIR}"/build-3.x.xml "${S}"/build.xml || die
653 -}
654 -
655 -src_compile() {
656 - eant jar $(use_doc)
657 -}
658 -
659 -src_test() {
660 - cd "${S}"/dist
661 - java-pkg_jar-from junit:4
662 - java-pkg_jar-from hamcrest-core:1.3
663 - cd "${S}"
664 - ANT_TASKS="ant-junit4" eant test || die "eant test failed"
665 -}
666 -
667 -src_install() {
668 - java-pkg_dojar dist/${PN}.jar
669 - java-pkg_dojar dist/2p.jar
670 -
671 - if use doc ; then
672 - java-pkg_dohtml -r docs/* || die
673 - dodoc doc/tuprolog-guide.pdf
674 - fi
675 -
676 - if use examples ; then
677 - insinto /usr/share/doc/${PF}/examples
678 - doins doc/examples/*.pl
679 - fi
680 -}