commit:     412f476fa4e69e46d53d76cdc4884d34a3e098dd
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 21 08:07:20 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Nov 21 08:11:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=412f476f

dev-java/commons-email: treeclean

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-java/commons-email/Manifest                    |   2 -
 dev-java/commons-email/commons-email-1.4.ebuild    |  53 -----
 dev-java/commons-email/commons-email-1.5.ebuild    |  28 ---
 .../files/commons-email-1.4-build.xml              | 261 ---------------------
 dev-java/commons-email/metadata.xml                |   8 -
 profiles/package.mask                              |   1 -
 6 files changed, 353 deletions(-)

diff --git a/dev-java/commons-email/Manifest b/dev-java/commons-email/Manifest
deleted file mode 100644
index a6b39e69746f..000000000000
--- a/dev-java/commons-email/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST commons-email-1.4-src.tar.gz 288876 BLAKE2B 
17de5c947e68db988b5999ab95f122570a9f52f0557bbdb9a483676576a81d6cfb150058a0ed530bc8dde8732313839e320f4bd7ecfc088b483947dde5760441
 SHA512 
2a62256e284b9f4f428cf8544e46e81aa521476c41243df1c4f8a9e1bd4bcea3c768346aaab862b8c2a8b271c6012a38164c6d62867d2849a3ee0c2820fe422c
-DIST commons-email-1.5.jar 62954 BLAKE2B 
fe3970fcdb55f4b6859ff30b4da4f71e96ad8d47e76c280d6f0eb0040d18a39bcf1461eee48fc71733b11c24006328c45c5a7252261410bd4717186116f95732
 SHA512 
db88b00724a0ea5b103758beeae3a9d61d455edc4a2bbe39f7906565a73dff967b91fd73b64668e5d4ec7993faf23bd69096727b998544c73a7bfb08f9c45988

diff --git a/dev-java/commons-email/commons-email-1.4.ebuild 
b/dev-java/commons-email/commons-email-1.4.ebuild
deleted file mode 100644
index d07ecdea6210..000000000000
--- a/dev-java/commons-email/commons-email-1.4.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-JAVA_PKG_IUSE="source doc test"
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="Commons Email aims to provide an API for sending email."
-HOMEPAGE="http://commons.apache.org/email/";
-SRC_URI="mirror://apache/commons/email/source/${P}-src.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ppc64 x86"
-IUSE=""
-
-# Requires a slew of packages we don't ship yet.
-RESTRICT="test"
-
-CDEPEND="dev-java/oracle-javamail:0"
-
-RDEPEND="
-       ${CDEPEND}
-       >=virtual/jre-1.6"
-
-DEPEND="
-       ${CDEPEND}
-       test? (
-               dev-java/ant-junit:0
-       )
-       >=virtual/jdk-1.6"
-
-S="${WORKDIR}/${P}-src"
-
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-
-EANT_GENTOO_CLASSPATH="oracle-javamail"
-EANT_BUILD_TARGET="package"
-
-java_prepare() {
-       cp "${FILESDIR}/${P}-build.xml" build.xml || die
-}
-
-src_test() {
-       java-pkg-2_src_test
-}
-
-src_install() {
-       java-pkg_newjar "target/${P}.jar" "${PN}.jar"
-       dodoc {NOTICE,README,RELEASE-NOTES}.txt
-       use doc && java-pkg_dojavadoc target/site/apidocs
-       use source && java-pkg_dosrc src/main/java
-}

diff --git a/dev-java/commons-email/commons-email-1.5.ebuild 
b/dev-java/commons-email/commons-email-1.5.ebuild
deleted file mode 100644
index 4f247bbbe5b3..000000000000
--- a/dev-java/commons-email/commons-email-1.5.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Commons Email aims to provide an API for sending email"
-HOMEPAGE="https://commons.apache.org/email";
-SRC_URI="https://repo1.maven.org/maven2/org/apache/commons/${PN}/${PV}/${P}-sources.jar
 -> ${P}.jar"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-
-CDEPEND="dev-java/oracle-javamail:0"
-
-RDEPEND="
-       ${CDEPEND}
-       >=virtual/jre-1.6"
-
-DEPEND="
-       ${CDEPEND}
-       >=virtual/jdk-1.6"
-
-JAVA_GENTOO_CLASSPATH="oracle-javamail"

diff --git a/dev-java/commons-email/files/commons-email-1.4-build.xml 
b/dev-java/commons-email/files/commons-email-1.4-build.xml
deleted file mode 100644
index 9fb5f0e373bf..000000000000
--- a/dev-java/commons-email/files/commons-email-1.4-build.xml
+++ /dev/null
@@ -1,261 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above.        -->
-<!-- ====================================================================== -->
-
-<!-- ====================================================================== -->
-<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
-<!-- ====================================================================== -->
-<!--                                                                        -->
-<!-- Any modifications will be overwritten.                                 -->
-<!--                                                                        -->
-<!-- Generated by Maven Ant Plugin on 9/29/15 9:53 PM                       -->
-<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/                 -->
-<!--                                                                        -->
-<!-- ====================================================================== -->
-
-<project name="commons-email-from-maven" default="package" basedir=".">
-
-  <!-- ====================================================================== 
-->
-  <!-- Build environment properties                                           
-->
-  <!-- ====================================================================== 
-->
-
-  <property file="${user.home}/.m2/maven.properties"/>
-  <property file="maven-build.properties"/>
-
-  <property name="maven.build.finalName" value="commons-email-1.4"/>
-  <property name="maven.build.dir" value="target"/>
-  <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
-  <property name="maven.build.srcDir.0" value="src/main/java"/>
-  <property name="maven.build.resourceDir.0" value="src/main/resources"/>
-  <property name="maven.build.resourceDir.1" value="."/>
-  <property name="maven.build.testOutputDir" 
value="${maven.build.dir}/test-classes"/>
-  <property name="maven.build.testDir.0" value="src/test/java"/>
-  <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
-  <property name="maven.build.testResourceDir.1" value="."/>
-  <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
-  <property name="maven.reporting.outputDirectory" 
value="${maven.build.dir}/site"/>
-
-  <!-- ====================================================================== 
-->
-  <!-- Defining classpaths                                                    
-->
-  <!-- ====================================================================== 
-->
-
-  <path id="build.classpath">
-  </path>
-  <path id="build.test.classpath">
-  </path>
-
-  <!-- ====================================================================== 
-->
-  <!-- Cleaning up target                                                     
-->
-  <!-- ====================================================================== 
-->
-
-  <target name="clean" description="Clean the output directory">
-    <delete dir="${maven.build.dir}"/>
-  </target>
-
-  <!-- ====================================================================== 
-->
-  <!-- Compilation target                                                     
-->
-  <!-- ====================================================================== 
-->
-
-  <target name="compile" description="Compile the code">
-    <mkdir dir="${maven.build.outputDir}"/>
-    <javac destdir="${maven.build.outputDir}" 
-           encoding="UTF-8" 
-           nowarn="false" 
-           debug="true" 
-           optimize="false" 
-           deprecation="true" 
-           target="1.6" 
-           verbose="false" 
-           fork="false" 
-           source="1.6">
-      <src>
-        <pathelement location="${maven.build.srcDir.0}"/>
-      </src>
-      <classpath refid="build.classpath"/>
-    </javac>
-    <copy todir="${maven.build.outputDir}">
-      <fileset dir="${maven.build.resourceDir.0}"/>
-    </copy>
-    <mkdir dir="${maven.build.outputDir}/META-INF"/>
-    <copy todir="${maven.build.outputDir}/META-INF">
-      <fileset dir="${maven.build.resourceDir.1}">
-        <include name="NOTICE.txt"/>
-        <include name="LICENSE.txt"/>
-      </fileset>
-    </copy>
-  </target>
-
-  <!-- ====================================================================== 
-->
-  <!-- Test-compilation target                                                
-->
-  <!-- ====================================================================== 
-->
-
-  <target name="compile-tests" 
-          depends="compile" 
-          description="Compile the test code" 
-          unless="maven.test.skip">
-    <mkdir dir="${maven.build.testOutputDir}"/>
-    <javac destdir="${maven.build.testOutputDir}" 
-           encoding="UTF-8" 
-           nowarn="false" 
-           debug="true" 
-           optimize="false" 
-           deprecation="true" 
-           target="1.6" 
-           verbose="false" 
-           fork="false" 
-           source="1.6">
-      <src>
-        <pathelement location="${maven.build.testDir.0}"/>
-      </src>
-      <classpath>
-        <path refid="build.test.classpath"/>
-        <pathelement location="${maven.build.outputDir}"/>
-      </classpath>
-    </javac>
-    <copy todir="${maven.build.testOutputDir}">
-      <fileset dir="${maven.build.testResourceDir.0}"/>
-    </copy>
-    <mkdir dir="${maven.build.testOutputDir}/META-INF"/>
-    <copy todir="${maven.build.testOutputDir}/META-INF">
-      <fileset dir="${maven.build.testResourceDir.1}">
-        <include name="NOTICE.txt"/>
-        <include name="LICENSE.txt"/>
-      </fileset>
-    </copy>
-  </target>
-
-  <!-- ====================================================================== 
-->
-  <!-- Run all tests                                                          
-->
-  <!-- ====================================================================== 
-->
-
-  <target name="test" 
-          depends="compile-tests, junit-missing" 
-          unless="junit.skipped" 
-          description="Run the test cases">
-    <mkdir dir="${maven.test.reports}"/>
-    <junit printSummary="yes" haltonerror="true" haltonfailure="true" 
fork="true" dir=".">
-      <sysproperty key="basedir" value="."/>
-      <formatter type="xml"/>
-      <formatter type="plain" usefile="false"/>
-      <classpath>
-        <path refid="build.test.classpath"/>
-        <pathelement location="${maven.build.outputDir}"/>
-        <pathelement location="${maven.build.testOutputDir}"/>
-      </classpath>
-      <batchtest todir="${maven.test.reports}" unless="test">
-        <fileset dir="${maven.build.testDir.0}">
-          <include name="**/Test*.java"/>
-          <include name="**/*Test.java"/>
-          <include name="**/*TestCase.java"/>
-          <exclude name="org/apache/commons/mail/mocks/*"/>
-          <exclude name="org/apache/commons/mail/settings/*"/>
-          <exclude name="**/Abstract*Test.java"/>
-        </fileset>
-      </batchtest>
-      <batchtest todir="${maven.test.reports}" if="test">
-        <fileset dir="${maven.build.testDir.0}">
-          <include name="**/${test}.java"/>
-          <exclude name="org/apache/commons/mail/mocks/*"/>
-          <exclude name="org/apache/commons/mail/settings/*"/>
-          <exclude name="**/Abstract*Test.java"/>
-        </fileset>
-      </batchtest>
-    </junit>
-  </target>
-
-  <target name="test-junit-present">
-    <available classname="junit.framework.Test" property="junit.present" 
classpathref="build.test.classpath"/>
-  </target>
-
-  <target name="test-junit-status" 
-          depends="test-junit-present">
-    <condition property="junit.missing">
-      <and>
-        <isfalse value="${junit.present}"/>
-        <isfalse value="${maven.test.skip}"/>
-      </and>
-    </condition>
-    <condition property="junit.skipped">
-      <or>
-        <isfalse value="${junit.present}"/>
-        <istrue value="${maven.test.skip}"/>
-      </or>
-    </condition>
-  </target>
-
-  <target name="junit-missing" 
-          depends="test-junit-status" 
-          if="junit.missing">
-    <echo>=================================== WARNING 
===================================</echo>
-    <echo> JUnit is not present in the test classpath or your $ANT_HOME/lib 
directory. Tests not executed.</echo>
-    
<echo>===============================================================================</echo>
-  </target>
-
-  <!-- ====================================================================== 
-->
-  <!-- Javadoc target                                                         
-->
-  <!-- ====================================================================== 
-->
-
-  <target name="javadoc" description="Generates the Javadoc of the 
application">
-    <javadoc sourcepath="${maven.build.srcDir.0}" 
-             packagenames="*" 
-             destdir="${maven.reporting.outputDirectory}/apidocs" 
-             access="protected" 
-             old="false" 
-             verbose="false" 
-             encoding="UTF-8" 
-             version="true" 
-             use="true" 
-             author="true" 
-             splitindex="false" 
-             nodeprecated="false" 
-             nodeprecatedlist="false" 
-             notree="false" 
-             noindex="false" 
-             nohelp="false" 
-             nonavbar="false" 
-             serialwarn="false" 
-             charset="ISO-8859-1" 
-             docencoding="UTF-8" 
-             source="1.6" 
-             linksource="true" 
-             breakiterator="false">
-      <link href="http://docs.oracle.com/javase/7/docs/api/"/>
-      <link href="http://docs.oracle.com/javaee/6/api/"/>
-    </javadoc>
-  </target>
-
-  <!-- ====================================================================== 
-->
-  <!-- Package target                                                         
-->
-  <!-- ====================================================================== 
-->
-
-  <target name="package" depends="compile,test" description="Package the 
application">
-    <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" 
-         compress="true" 
-         index="false" 
-         basedir="${maven.build.outputDir}" 
-         excludes="**/package.html">
-      <manifest>
-        <attribute name="Main-Class" value="Main"/>
-      </manifest>
-    </jar>
-  </target>
-
-  <!-- ====================================================================== 
-->
-  <!-- A dummy target for the package named after the type it creates         
-->
-  <!-- ====================================================================== 
-->
-
-  <target name="jar" depends="package" description="Builds the jar for the 
application"/>
-
-  <!-- ====================================================================== 
-->
-  <!-- Download dependencies target                                           
-->
-  <!-- ====================================================================== 
-->
-
-  <target name="test-offline">
-    <condition property="maven.mode.offline">
-      <equals arg1="${maven.settings.offline}" arg2="true"/>
-    </condition>
-  </target>
-
-</project>

diff --git a/dev-java/commons-email/metadata.xml 
b/dev-java/commons-email/metadata.xml
deleted file mode 100644
index 4221e170cbc0..000000000000
--- a/dev-java/commons-email/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Java</name>
-       </maintainer>
-</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index a8353c2467df..1870f952d05c 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -388,7 +388,6 @@ dev-java/commons-chain
 dev-java/commons-dbcp
 dev-java/commons-dbutils
 dev-java/commons-discovery
-dev-java/commons-email
 
 # Sergey Popov <[email protected]> (2021-10-22)
 # Upstream support discontinued, see https://bw.org/2019/03/19/bw-whois/

Reply via email to