From a1a07fbd117cc1cdc4c5d27d7161ed19ceae8ebc Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Sun, 13 Sep 2015 16:09:29 +0000 Subject: [PATCH] dev-java/httpunit: Package removal. Fixes bug 557920. Signed-off-by: Patrice Clement --- dev-java/httpunit/Manifest | 1 - dev-java/httpunit/files/rhino-fix-1.6.2.diff | 25 --------- dev-java/httpunit/httpunit-1.7.ebuild | 56 -------------------- dev-java/httpunit/metadata.xml | 15 ------ 4 files changed, 97 deletions(-) delete mode 100644 dev-java/httpunit/Manifest delete mode 100644 dev-java/httpunit/files/rhino-fix-1.6.2.diff delete mode 100644 dev-java/httpunit/httpunit-1.7.ebuild delete mode 100644 dev-java/httpunit/metadata.xml diff --git a/dev-java/httpunit/Manifest b/dev-java/httpunit/Manifest deleted file mode 100644 index 98af4a5986de..000000000000 --- a/dev-java/httpunit/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST httpunit-1.7.zip 4181983 SHA256 ee178a368f0db6979dfdca24c655f73726c3729fb76dafb064a8fdf8b057f625 SHA512 1d109b8ef65fb80d7904c2786db31916b2ef26c5b92730ce41b90c441d3e8d46a4a8a84a5e82237b52412c6bc29fc6eff18297d2f961616bd8429bf5d579567e WHIRLPOOL 2c397d2a9788812ee413ae682393be9103535942e695a2103ff404fe1a2ec539ed8b22201cdc2c10b011db729f821d91fe100d700b3657600c284d484070b5ce diff --git a/dev-java/httpunit/files/rhino-fix-1.6.2.diff b/dev-java/httpunit/files/rhino-fix-1.6.2.diff deleted file mode 100644 index c439d7183ca0..000000000000 --- a/dev-java/httpunit/files/rhino-fix-1.6.2.diff +++ /dev/null @@ -1,25 +0,0 @@ -diff -Nur httpunit-1.6.2/src/com/meterware/httpunit/javascript/JavaScript.java httpunit-1.6.2_fixed/src/com/meterware/httpunit/javascript/JavaScript.java ---- httpunit-1.6.2/src/com/meterware/httpunit/javascript/JavaScript.java 2006-03-26 22:16:46.000000000 +0300 -+++ httpunit-1.6.2_fixed/src/com/meterware/httpunit/javascript/JavaScript.java 2007-10-14 20:34:03.000000000 +0300 -@@ -838,8 +838,6 @@ - static ElementArray newElementArray( Scriptable parent ) { - try { - return (ElementArray) Context.getCurrentContext().newObject( parent, "ElementArray" ); -- } catch (PropertyException e) { -- throw new RhinoException( e ); - } catch (NotAFunctionException e) { - throw new RhinoException( e ); - } catch (JavaScriptException e) { -@@ -1144,10 +1142,10 @@ - - class RhinoException extends RuntimeException { - -- private Exception _cause; -+ private Throwable _cause; - - -- public RhinoException( Exception cause ) { -+ public RhinoException( Throwable cause ) { - _cause = cause; - } - diff --git a/dev-java/httpunit/httpunit-1.7.ebuild b/dev-java/httpunit/httpunit-1.7.ebuild deleted file mode 100644 index 653407b99ccf..000000000000 --- a/dev-java/httpunit/httpunit-1.7.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -JAVA_PKG_IUSE="doc" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="HttpUnit emulates the relevant portions of browser behavior" -HOMEPAGE="http://httpunit.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.zip" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -CDEPEND=" - >=dev-java/junit-3.8:0 - dev-java/rhino:1.6 - dev-java/jtidy:0 - java-virtuals/servlet-api:2.3 - dev-java/xerces:2" - -RDEPEND=">=virtual/jre-1.5 - ${CDEPEND}" - -DEPEND=">=virtual/jdk-1.5 - ${CDEPEND}" - -java_prepare() { - find . -name "*.jar" | xargs rm -v - - epatch "${FILESDIR}/rhino-fix-1.6.2.diff" - - cd jars || die - java-pkg_jar-from junit,rhino-1.6,xerces-2,jtidy,servlet-api-2.3 -} - -src_compile() { - java-pkg_filter-compiler jikes - - eant clean jar $(use_doc javadocs) -} - -src_install() { - java-pkg_dojar "lib/${PN}.jar" - - dodoc doc/*.txt - - if use doc; then - dohtml -r doc/manual doc/tutorial - java-pkg_dojavadoc doc/api - fi -} diff --git a/dev-java/httpunit/metadata.xml b/dev-java/httpunit/metadata.xml deleted file mode 100644 index 4c66010521dc..000000000000 --- a/dev-java/httpunit/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - java - - HttpUnit emulates the relevant portions of browser behavior, - including form submission, JavaScript, basic http authentication, - cookies and automatic page redirection, and allows Java test code - to examine returned pages either as text, an XML DOM, or containers - of forms, tables, and links. - - - httpunit - - -- 2.26.2