commit:     1ff6bf6626b0f4d096a4299afc1695bf8755b22f
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Aug  8 10:19:25 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Aug  9 05:31:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff6bf66

dev-java/werken-xpath: remove last rited package

Closes: https://bugs.gentoo.org/784065

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/werken-xpath/Manifest                     |  1 -
 .../files/werken-xpath-0.9.4_beta-gentoo.patch     | 35 ---------
 .../files/werken-xpath-0.9.4_beta-jdom-1.0.patch   | 86 ----------------------
 .../werken-xpath-0.9.4_beta-jpp-compile.patch      | 24 ------
 .../files/werken-xpath-0.9.4_beta-jpp-jdom.patch   | 86 ----------------------
 .../files/werken-xpath-0.9.4_beta-jpp-tests.patch  | 10 ---
 dev-java/werken-xpath/metadata.xml                 | 11 ---
 .../werken-xpath/werken-xpath-0.9.4_beta-r5.ebuild | 59 ---------------
 8 files changed, 312 deletions(-)

diff --git a/dev-java/werken-xpath/Manifest b/dev-java/werken-xpath/Manifest
deleted file mode 100644
index 523701f1285..00000000000
--- a/dev-java/werken-xpath/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST werken.xpath-0.9.4-beta-src.tar.gz 1652916 BLAKE2B 
4dde7f4be8c4cf401d1edb69b96d6ffffd4c3d53c75194db04a7351ee0ffd90d94bc59855d14dd45162cd2f4b29b02b373ecb4f7a00bf267ed58e2c1e7aece33
 SHA512 
c58878ee0b6e88651335e2be60d0afcd65fc164864e826bb209ec660e97315233b25341733a4118ed3ee003f61998d84e480706bda5be4630c599efb616b845d

diff --git a/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-gentoo.patch 
b/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-gentoo.patch
deleted file mode 100644
index 1cd61fc818a..00000000000
--- a/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-gentoo.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -ru werken.xpath/build.xml werken.xpath-patched/build.xml
---- werken.xpath/build.xml     2000-11-19 21:45:16.000000000 -0500
-+++ werken.xpath-patched/build.xml     2005-07-14 21:14:01.000000000 -0400
-@@ -49,6 +49,9 @@
-     <!-- JDK1.1 collections -->
-     <property name="coll.import" value="com.sun.java.util.collections"/>
-     <available classname="${coll.import}.Collection" property="coll.present"/>
-+      <path id="lib.classpath">
-+              <fileset dir="${lib.dir}" includes="**/*.jar"/>
-+      </path>
-   </target>
- 
-   <!-- =================================================================== -->
-@@ -174,7 +177,8 @@
-     <javac srcdir="${build.src}"
-            destdir="${build.dest}"
-            debug="${debug}"
--           optimize="${optimize}">
-+           optimize="${optimize}"
-+                 classpathref="lib.classpath">
-     </javac>
-   </target>
- 
-diff -ru werken.xpath/src/com/werken/xpath/Test.java 
werken.xpath-patched/src/com/werken/xpath/Test.java
---- werken.xpath/src/com/werken/xpath/Test.java        2000-10-23 
23:45:32.000000000 -0400
-+++ werken.xpath-patched/src/com/werken/xpath/Test.java        2005-07-14 
21:22:42.000000000 -0400
-@@ -57,7 +57,7 @@
-       System.err.println("Results :: " + results);
- 
-     }
--    catch (JDOMException jde)
-+    catch (Exception jde)
-     {
-       jde.printStackTrace(System.err);
-     }

diff --git a/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-jdom-1.0.patch 
b/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-jdom-1.0.patch
deleted file mode 100644
index 099f7110a5d..00000000000
--- a/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-jdom-1.0.patch
+++ /dev/null
@@ -1,86 +0,0 @@
---- werken.xpath/src/com/werken/xpath/ElementNamespaceContext.java
-+++ werken.xpath/src/com/werken/xpath/ElementNamespaceContext.java
-@@ -62,12 +62,12 @@
- 
-       lineage.push(_element);
- 
--      Element elem = _element.getParent();
-+      Element elem = _element.getParentElement();
- 
-       while (elem != null)
-       {
-         lineage.push(elem);
--        elem = elem.getParent();
-+        elem = elem.getParentElement();
-       }
- 
-       List      nsList = null;
---- werken.xpath/src/com/werken/xpath/impl/ParentStep.java
-+++ werken.xpath/src/com/werken/xpath/impl/ParentStep.java
-@@ -28,7 +28,7 @@
-   {
-     if ( node instanceof Element )
-     {
--      return ((Element)node).getParent();
-+      return ((Element)node).getParentElement();
-     }
- 
-     return null;
-@@ -50,7 +50,7 @@
- 
-       if ( each instanceof Element )
-       {
--        parent = ((Element)each).getParent();
-+        parent = ((Element)each).getParentElement();
- 
-         if (parent != null)
-         {
---- werken.xpath/src/com/werken/xpath/util/Partition.java
-+++ werken.xpath/src/com/werken/xpath/util/Partition.java
-@@ -67,7 +67,7 @@
- 
-   public static List followingSiblings(Element node)
-   {
--    Element parent = node.getParent();
-+    Element parent = node.getParentElement();
- 
-     if (parent == null)
-     {
-@@ -95,7 +95,7 @@
- 
-   public static List preceedingSiblings(Element node)
-   {
--    Element parent = node.getParent();
-+    Element parent = node.getParentElement();
- 
-     if (parent == null)
-     {
-@@ -137,7 +137,7 @@
-       results.addAll( Partition.descendants( each ) );
-     }
- 
--    Element parent = node.getParent();
-+    Element parent = node.getParentElement();
- 
-     if (parent != null)
-     {
-@@ -170,7 +170,7 @@
-       results.addAll( Partition.descendants( each ) );
-     }
- 
--    Element parent = node.getParent();
-+    Element parent = node.getParentElement();
- 
-     if (parent != null)
-     {
---- werken.xpath/test/src/com/werken/xpath/test/Driver.java
-+++ werken.xpath/test/src/com/werken/xpath/test/Driver.java
-@@ -47,7 +47,7 @@
- 
-         System.out.println("Using test-cases in [" + args[0] + "]");
- 
--        File dataDir = driverXML.getParentFile();
-+        File dataDir = driverXML.getParentElementFile();
- 
-         Driver driver = Driver(dataDir,
-                                    driverXML);

diff --git 
a/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-jpp-compile.patch 
b/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-jpp-compile.patch
deleted file mode 100644
index 516158f6308..00000000000
--- a/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-jpp-compile.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Nru werken.xpath.orig/src/com/werken/xpath/impl/Op.java 
werken.xpath/src/com/werken/xpath/impl/Op.java
---- werken.xpath.orig/src/com/werken/xpath/impl/Op.java        2000-08-27 
03:16:03.000000000 +0300
-+++ werken.xpath/src/com/werken/xpath/impl/Op.java     2003-03-02 
01:44:52.000000000 +0200
-@@ -19,7 +19,7 @@
-   public final static Op GT        = new Op(">");
-   public final static Op LT_EQUAL  = new Op("<=");
-   public final static Op GT_EQUAL  = new Op(">=");
--  public final static Op MOD       = new Op("%");;
-+  public final static Op MOD       = new Op("%");
-   public final static Op DIV       = new Op("/");
-   public final static Op PLUS      = new Op("+");
-   public final static Op MINUS     = new Op("-");
-diff -Nru werken.xpath.orig/src/com/werken/xpath/impl/UnAbbrStep.java 
werken.xpath/src/com/werken/xpath/impl/UnAbbrStep.java
---- werken.xpath.orig/src/com/werken/xpath/impl/UnAbbrStep.java        
2000-10-31 22:20:56.000000000 +0200
-+++ werken.xpath/src/com/werken/xpath/impl/UnAbbrStep.java     2003-03-02 
01:45:04.000000000 +0200
-@@ -175,7 +175,7 @@
-       }
-     }
- 
--    return aggregateResults;;
-+    return aggregateResults;
-   }
- 
-   private List applyPredicates(List nodeSet,

diff --git a/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-jpp-jdom.patch 
b/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-jpp-jdom.patch
deleted file mode 100644
index ba2b268f1c8..00000000000
--- a/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-jpp-jdom.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-diff -Nru werken.xpath.orig/src/com/werken/xpath/function/StringFunction.java 
werken.xpath/src/com/werken/xpath/function/StringFunction.java
---- werken.xpath.orig/src/com/werken/xpath/function/StringFunction.java        
2000-10-24 06:30:00.000000000 +0300
-+++ werken.xpath/src/com/werken/xpath/function/StringFunction.java     
2003-03-02 01:56:03.000000000 +0200
-@@ -71,7 +71,7 @@
- 
-   public static String evaluate(Element elem)
-   {
--    List content = elem.getMixedContent();
-+    List content = elem.getContent();
- 
-     Iterator contentIter = content.iterator();
-     Object each = null;
-diff -Nru werken.xpath.orig/src/com/werken/xpath/impl/NodeTypeStep.java 
werken.xpath/src/com/werken/xpath/impl/NodeTypeStep.java
---- werken.xpath.orig/src/com/werken/xpath/impl/NodeTypeStep.java      
2000-10-26 04:09:41.000000000 +0300
-+++ werken.xpath/src/com/werken/xpath/impl/NodeTypeStep.java   2003-03-02 
01:56:03.000000000 +0200
-@@ -84,16 +84,16 @@
-     {
-       if ( isAbsolute() )
-       {
--        results.addAll(  applyToNodes( 
((Element)node).getDocument().getMixedContent() ) );
-+        results.addAll(  applyToNodes( 
((Element)node).getDocument().getContent() ) );
-       }
-       else
-       {
--        results.addAll( applyToNodes( ((Element)node).getMixedContent() ) );
-+        results.addAll( applyToNodes( ((Element)node).getContent() ) );
-       }
-     }
-     else if ( node instanceof Document )
-     {
--      results.addAll( applyToNodes( ((Document)node).getMixedContent() ) );
-+      results.addAll( applyToNodes( ((Document)node).getContent() ) );
-     }
- 
-     return results;
-diff -Nru werken.xpath.orig/src/com/werken/xpath/impl/UnAbbrStep.java 
werken.xpath/src/com/werken/xpath/impl/UnAbbrStep.java
---- werken.xpath.orig/src/com/werken/xpath/impl/UnAbbrStep.java        
2000-10-31 22:20:56.000000000 +0200
-+++ werken.xpath/src/com/werken/xpath/impl/UnAbbrStep.java     2003-03-02 
01:56:03.000000000 +0200
-@@ -227,7 +227,7 @@
- 
-     if ( node instanceof Element )
-     {
--      List children = ((Element)node).getMixedContent();
-+      List children = ((Element)node).getContent();
-       
-       results.addAll( applyTo( children,
-                                support,
-@@ -235,7 +235,7 @@
-     }
-     else if ( node instanceof Document )
-     {
--      List children = ((Document)node).getMixedContent();
-+      List children = ((Document)node).getContent();
-       
-       results.addAll( applyTo( children,
-                                support,
-@@ -256,7 +256,7 @@
- 
-     if ( node instanceof Element )
-     {
--      List children = ((Element)node).getMixedContent();
-+      List children = ((Element)node).getContent();
-       
-       results.addAll( applyTo( children,
-                                support,
-@@ -264,7 +264,7 @@
-     }
-     else if ( node instanceof Document )
-     {
--      List children = ((Document)node).getMixedContent();
-+      List children = ((Document)node).getContent();
- 
-       results.addAll( applyTo( children,
-                                support,
-diff -Nru werken.xpath.orig/test/src/com/werken/xpath/test/Driver.java 
werken.xpath/test/src/com/werken/xpath/test/Driver.java
---- werken.xpath.orig/test/src/com/werken/xpath/test/Driver.java       
2000-11-09 19:43:30.000000000 +0200
-+++ werken.xpath/test/src/com/werken/xpath/test/Driver.java    2003-03-02 
01:56:55.000000000 +0200
-@@ -412,7 +412,7 @@
-                     elemID = "";
-                 }
- 
--                resultNode.addAttribute("id", elemID);
-+                resultNode.setAttribute("id", elemID);
-                 node.addContent( resultNode );
-                 results.addContent( node );
-             }

diff --git 
a/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-jpp-tests.patch 
b/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-jpp-tests.patch
deleted file mode 100644
index bcb84f1ee23..00000000000
--- a/dev-java/werken-xpath/files/werken-xpath-0.9.4_beta-jpp-tests.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./runtests.sh~     2000-10-31 23:42:01.000000000 +0200
-+++ ./runtests.sh      2003-03-02 01:59:55.000000000 +0200
-@@ -9,6 +9,6 @@
- XPATH_CP=./build/werken.xpath.jar
- TEST_CP=./build/test/classes/
- 
--CP=$ANTLR_CP:$JDOM_CP:$XPATH_CP:$TEST_CP:$XERCES_CP
-+CP=$ANTLR_CP:$JDOM_CP:$XPATH_CP:$TEST_CP:$XERCES_CP:$CLASSPATH
- 
- java -classpath $CP $TEST_DRIVER $TESTS_XML

diff --git a/dev-java/werken-xpath/metadata.xml 
b/dev-java/werken-xpath/metadata.xml
deleted file mode 100644
index 93f0dea9b7f..00000000000
--- a/dev-java/werken-xpath/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>j...@gentoo.org</email>
-               <name>Java</name>
-       </maintainer>
-       <upstream>
-               <remote-id type="sourceforge">werken-xpath</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/dev-java/werken-xpath/werken-xpath-0.9.4_beta-r5.ebuild 
b/dev-java/werken-xpath/werken-xpath-0.9.4_beta-r5.ebuild
deleted file mode 100644
index 97f1586aa69..00000000000
--- a/dev-java/werken-xpath/werken-xpath-0.9.4_beta-r5.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-JAVA_PKG_IUSE="doc source"
-WANT_ANT_TASKS="ant-antlr"
-
-inherit java-pkg-2 java-ant-2
-
-MY_PN=${PN/-/.}
-MY_PV=${PV//_/-}
-MY_P=${MY_PN}-${MY_PV}
-
-DESCRIPTION="W3C XPath-Rec implementation for DOM4J"
-HOMEPAGE="https://sourceforge.net/projects/werken-xpath/";
-SRC_URI="mirror://gentoo/${MY_P}-src.tar.gz"
-# This tarball was acquired from jpackage's src rpm of the package by the same 
name
-
-LICENSE="JDOM"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-COMMON_DEP="
-       dev-java/jdom:0
-       >=dev-java/antlr-2.7.7-r7:0"
-DEPEND=">=virtual/jdk-1.8:*
-       ${COMMON_DEP}"
-RDEPEND=">=virtual/jre-1.8:*
-       ${COMMON_DEP}"
-
-S=${WORKDIR}/${MY_PN}
-
-EANT_BUILD_TARGET="package"
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-EANT_GENTOO_CLASSPATH="antlr,jdom"
-
-src_prepare() {
-       default
-       # Courtesy of JPackages :)
-       eapply "${FILESDIR}"/${P}-jpp-compile.patch
-       eapply "${FILESDIR}"/${P}-jpp-jdom.patch
-       eapply "${FILESDIR}"/${P}-jpp-tests.patch
-       eapply "${FILESDIR}"/${P}-gentoo.patch
-
-       # API updates to support jdom-1
-       eapply "${FILESDIR}"/${P}-jdom-1.0.patch
-
-       java-pkg_clean
-       rm -rv lib/bin || die
-}
-
-src_install() {
-       java-pkg_newjar build/${MY_PN}.jar
-
-       dodoc README TODO LIMITATIONS
-       use doc && java-pkg_dojavadoc build/apidocs
-       use source && java-pkg_dosrc src/*
-}

Reply via email to