dev-java/antenna: Package removal wrt bug 556460.
authorPatrice Clement <monsieurp@gentoo.org>
Thu, 3 Sep 2015 13:45:07 +0000 (13:45 +0000)
committerPatrice Clement <monsieurp@gentoo.org>
Thu, 3 Sep 2015 13:47:39 +0000 (13:47 +0000)
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
dev-java/antenna/Manifest [deleted file]
dev-java/antenna/antenna-1.0.2-r1.ebuild [deleted file]
dev-java/antenna/antenna-1.0.2-r2.ebuild [deleted file]
dev-java/antenna/files/antenna-0.9.13-ant.patch [deleted file]
dev-java/antenna/metadata.xml [deleted file]

diff --git a/dev-java/antenna/Manifest b/dev-java/antenna/Manifest
deleted file mode 100644 (file)
index a6ae0ae..0000000
+++ /dev/null
@@ -1 +0,0 @@
-DIST antenna-src-1.0.2.zip 1502020 SHA256 a6a15d257ae2af8805cf002e51675246b119cb34f23bf3cc15398acaca0bcfe8 SHA512 38ff589b82f2298e17846b2437981ffe549e35129624b36f439bfeb9943fe5a6577ef2ec4aba7314f59c8c4f30fb8c45cd6e3c675af0196ac4248a4d256e48d7 WHIRLPOOL e1d958ac110e5f97caad2160df3e6cd019640a5ed36697f373115b8850cdbd8ac5d070860a5dea476d31baf6bd484a13282b5aba9c1380a0805a888e23b095d5
diff --git a/dev-java/antenna/antenna-1.0.2-r1.ebuild b/dev-java/antenna/antenna-1.0.2-r1.ebuild
deleted file mode 100644 (file)
index 17a28ab..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=2
-
-JAVA_PKG_IUSE="doc examples source"
-
-inherit java-pkg-2 java-ant-2 eutils
-
-MY_P=${DISTDIR}/${PN}-src-${PV}.zip
-
-DESCRIPTION="Ant task for J2ME"
-HOMEPAGE="http://antenna.sourceforge.net/"
-SRC_URI="mirror://sourceforge/antenna/${PN}-src-${PV}.zip"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-COMMON_DEP="dev-java/ant-core:0
-       dev-java/antlr:0
-       java-virtuals/servlet-api:2.4"
-DEPEND=">=virtual/jdk-1.4
-       app-arch/unzip
-       ${COMMON_DEP}"
-RDEPEND=">=virtual/jre-1.4
-       ${COMMON_DEP}"
-
-S="${WORKDIR}"
-
-JAVA_PKG_BSFIX="off"
-
-src_unpack() {
-       default
-       unzip -n lib/preprocessor-src-1.1.zip
-}
-
-java_prepare() {
-       rm -rf lib
-       java-ant_bsfix_one build.xml
-       java-ant_rewrite-classpath build.xml
-}
-
-src_compile() {
-       local cp="ant-core,antlr,servlet-api-2.4"
-       EANT_GENTOO_CLASSPATH="${cp}" \
-               EANT_BUILD_TARGET="init compile package" \
-               EANT_DOC_TARGET="" java-pkg-2_src_compile
-       if use doc; then
-               javadoc -encoding latin1 -d api $(find src -name "*.java") \
-                       -classpath $(java-pkg_getjars "${cp}") \
-                       || die "javadoc failed"
-       fi
-}
-
-src_install() {
-       java-pkg_newjar dist/${PN}-bin-${PV}.jar
-       java-pkg_register-ant-task
-
-       if use doc; then
-               java-pkg_dohtml doc/*
-               java-pkg_dojavadoc api
-       fi
-       use source && java-pkg_dosrc src/*
-       use examples && java-pkg_doexamples samples
-}
diff --git a/dev-java/antenna/antenna-1.0.2-r2.ebuild b/dev-java/antenna/antenna-1.0.2-r2.ebuild
deleted file mode 100644 (file)
index 4765b98..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-JAVA_PKG_IUSE="doc examples source"
-
-inherit java-pkg-2 java-ant-2 eutils
-
-MY_P=${DISTDIR}/${PN}-src-${PV}.zip
-
-DESCRIPTION="Ant task for J2ME"
-HOMEPAGE="http://antenna.sourceforge.net/"
-SRC_URI="mirror://sourceforge/antenna/${PN}-src-${PV}.zip"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-COMMON_DEP="dev-java/ant-core:0
-       dev-java/antlr:0
-       java-virtuals/servlet-api:3.0"
-DEPEND=">=virtual/jdk-1.4
-       app-arch/unzip
-       ${COMMON_DEP}"
-RDEPEND=">=virtual/jre-1.4
-       ${COMMON_DEP}"
-
-S="${WORKDIR}"
-
-JAVA_PKG_BSFIX="off"
-
-java_prepare() {
-       unzip -n lib/preprocessor-src-1.1.zip || die "can't unzip preprocessor-src-1.1.zip"
-       rm -rf lib || die "can't remove lib directory"
-
-       java-ant_bsfix_one build.xml
-       java-ant_rewrite-classpath build.xml
-}
-
-src_compile() {
-       local cp="ant-core,antlr,servlet-api-3.0"
-
-       EANT_GENTOO_CLASSPATH="${cp}" \
-               EANT_BUILD_TARGET="init compile package" \
-               EANT_DOC_TARGET="" java-pkg-2_src_compile
-
-       if use doc; then
-               javadoc -encoding latin1 -d api $(find src -name "*.java") \
-                       -classpath $(java-pkg_getjars "${cp}") \
-                       || die "javadoc failed"
-       fi
-}
-
-src_install() {
-       java-pkg_newjar dist/${PN}-bin-${PV}.jar
-       java-pkg_register-ant-task
-
-       if use doc; then
-               java-pkg_dohtml doc/*
-               java-pkg_dojavadoc api
-       fi
-       use source && java-pkg_dosrc src/*
-       use examples && java-pkg_doexamples samples
-}
diff --git a/dev-java/antenna/files/antenna-0.9.13-ant.patch b/dev-java/antenna/files/antenna-0.9.13-ant.patch
deleted file mode 100644 (file)
index cf548f9..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-diff -ru antenna/build.xml antenna-patched/build.xml
---- antenna/build.xml  2004-08-29 17:04:24.000000000 -0400
-+++ antenna-patched/build.xml  2005-08-07 15:33:08.000000000 -0400
-@@ -1,53 +1,69 @@
- <?xml version="1.0"?>\r
\r
- <project name="antenna" default="all" basedir=".">\r
-+      <property file="build.properties"/>\r
-+\r
-+      <property name="classpath.servlet" value="set in build.properties"/>\r
-+      <property name="project.version" value="set in build.properties" />\r
-+      <property name="project.name" value="set in build.properties" />\r
-+\r
-+      <property name="build.classes" value="build/classes" />\r
-+      <property name="build.javadoc" value="build/doc/api"/>\r
-+      <property name="dist" value="dist" />\r
-+      <property name="src" value="src"/>\r
-+      <property name="project.src.zip" value="${project.name}-src-${project.version}.zip"/>\r
-+      <property name="project.jar" value="${project.name}-bin-${project.version}.jar"/>\r
\r
--      <property name="antenna.servlet" value="c:/Java/tomcat-5.0.25/common/lib/servlet-api.jar" />\r
--      <property name="antenna.classes" value="tmpclasses" />\r
--      <property name="antenna.version" value="0.9.13" />\r
-       \r
-       <target name="init">\r
--              <mkdir dir="${antenna.classes}" />\r
-+              <mkdir dir="${build.classes}" />\r
-+              <mkdir dir="${dist}" />\r
-       </target>\r
\r
--      <target name="compile">\r
--              <javac srcdir="src" debug="true" destdir="${antenna.classes}" classpath="${ant.home}/lib/ant.jar;${antenna.servlet}" />\r
-+      <target name="compile" depends="init">\r
-+              <javac srcdir="${src}" debug="true" destdir="${build.classes}" classpath="${classpath.servlet}" />\r
-       </target>\r
\r
--      <target name="package">\r
--\r
--              <mkdir dir="dist" />\r
--              <jar jarfile="dist/antenna-bin-${antenna.version}.jar">\r
--                      <fileset dir="${antenna.classes}">\r
-+      <target name="jar" depends="compile">\r
-+              <jar jarfile="${dist}/${project.jar}">\r
-+                      <fileset dir="${build.classes}">\r
-                               <include name="**/*.class" />\r
-                               <include name="res/**" />\r
-                       </fileset>\r
\r
-                       <fileset dir="res" />\r
-               </jar>\r
-+      </target>\r
\r
--              <zip zipfile="dist/antenna-src-${antenna.version}.zip">\r
-+      <target name="src-release">\r
-+              <zip zipfile="${dist}/${project.src.zip}">\r
-                       <fileset dir=".">\r
--                              <include name="src/**/*.java" />\r
-+                              <include name="${src}/**/*.java" />\r
-                               <include name="doc/**" />\r
-                               <include name="res/**" />\r
-                               <include name="etc/**" />\r
-                               <include name="samples/**/build.xml" />\r
-                               <include name="LICENSE" />\r
--                              <include name="build.xml" />\r
-+                              <include name="build.*" />\r
-                       </fileset>\r
--\r
-               </zip>\r
-       </target>\r
-+      \r
-+      <target name="package" depends="jar,src-release"/>\r
\r
--      <target name="deploy">\r
--              <copy file="dist/antenna-bin-${antenna.version}.jar" tofile="${ant.home}/lib/antenna.jar" />\r
-+      <target name="deploy" depends="jar">\r
-+              <copy file="${dist}/${project.jar}" tofile="${ant.home}/lib/${project.name}.jar" />\r
-+      </target>\r
-+\r
-+      <target name="javadoc">\r
-+              <javadoc destdir="${build.javadoc}">\r
-+                      <fileset dir="${src}"/>\r
-+              </javadoc>\r
-       </target>\r
\r
-       <target name="clean">\r
--              <delete dir="${antenna.classes}" failonerror="false" />\r
--              <delete file="dist/antenna-bin-${antenna.version}.jar" failonerror="false" />\r
--              <delete file="dist/antenna-src-${antenna.version}.zip" failonerror="false" />\r
-+              <delete dir="${build.classes}" failonerror="false" />\r
-+              <delete dir="${dist}" failonerror="false"/>\r
-               <delete includeEmptyDirs="true">\r
-                       <fileset dir="samples">\r
-                               <include name="**/*.jar" />\r
-@@ -60,11 +76,7 @@
-               </delete>\r
-       </target>\r
\r
--      <target name="done" depends="">\r
--              <delete dir="${antenna.classes}" failonerror="false" />\r
--      </target>\r
--\r
--      <!--target name="all" depends="clean,init,compile,package,done,deploy" /-->\r
--    <target name="all" depends="clean,init,compile,package,done" />\r
-+      <!--target name="all" depends="clean,init,compile,package,deploy" /-->\r
-+    <target name="all" depends="clean,init,compile,package" />\r
\r
- </project>\r
diff --git a/dev-java/antenna/metadata.xml b/dev-java/antenna/metadata.xml
deleted file mode 100644 (file)
index b426ce1..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-       <herd>java</herd>
-       <upstream>
-               <remote-id type="sourceforge">antenna</remote-id>
-       </upstream>
-</pkgmetadata>