summaryrefslogtreecommitdiff
path: root/dev-java/ical4j
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/ical4j
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/ical4j')
-rw-r--r--dev-java/ical4j/Manifest4
-rw-r--r--dev-java/ical4j/files/1.0.5-build.xml.patch80
-rw-r--r--dev-java/ical4j/ical4j-1.0.5.ebuild57
-rw-r--r--dev-java/ical4j/metadata.xml24
4 files changed, 165 insertions, 0 deletions
diff --git a/dev-java/ical4j/Manifest b/dev-java/ical4j/Manifest
new file mode 100644
index 000000000000..f2e61a298140
--- /dev/null
+++ b/dev-java/ical4j/Manifest
@@ -0,0 +1,4 @@
+AUX 1.0.5-build.xml.patch 3196 BLAKE2B 307ce2025eea059b3f18567782978f7a03807179b768fd14c3f72a92d299115fac0cc30db03df01860d6a91d47ef8e379eae487d6a899a4ce7edd2063a68f963 SHA512 888a57e0c2ca9bec191c14dde8b33235b024e5ee764c0fc44e61cd51040f30a8ba4698c5457c1b4acf4180092b152c635ac14521b7bee958c533ce4ad3854e34
+DIST ical4j-1.0.5-src.tar.bz2 9307268 BLAKE2B f72cb77a73e1b1740f52accf5296630ba4e2ef9d4610a384a400ea50e84f245c2d320e05b2702e963ef3d7097e073687343fe2e924eca5e64b80a8f2dc1adcdf SHA512 1c2c1eb6207094fd12036d4eb93afaef820c19c7bce99611ddb9115cd62ece76972b7280364b49643147e4456ef4afca4df23ce4413e0288804183f33c2cc286
+EBUILD ical4j-1.0.5.ebuild 1450 BLAKE2B be13dd724d2f7e22c0ffdf3f8656ea1549d215f3c7b26cef6d14f7edf18e125c313543863a437d9226706ba9acfe9c40dd6649961ffd8edaee92737f5abc2a19 SHA512 5fbd008813eb539e1a83db013355b223ea4db777c30993a4c96f7dbe7741d852857ed31c7023f5665ea6c4513231f602d4e242465276d2179dd7cadd26da1ec6
+MISC metadata.xml 984 BLAKE2B 81e4a28b90f79647765ccb0738a683f1e350450efda561e693332ce39be4291091ac08068135e24c4227ad9151874d6c9177ae8f0088d5aed2a17384eb825537 SHA512 23aa711de73797e43a847aa485a1d652b4b02cc6f37ea0b79ced99e101c332c4dfb3ebd90d65a1057f8dbf0f9090f6a7d5e582c9d6f7cef5c61afb8289cc804a
diff --git a/dev-java/ical4j/files/1.0.5-build.xml.patch b/dev-java/ical4j/files/1.0.5-build.xml.patch
new file mode 100644
index 000000000000..7e68876616d8
--- /dev/null
+++ b/dev-java/ical4j/files/1.0.5-build.xml.patch
@@ -0,0 +1,80 @@
+diff --git a/ical4j-1.0.5/build.xml b/ical4j-1.0.5/build.xml
+index 512738c..be5aac9 100644
+--- a/ical4j-1.0.5/build.xml
++++ b/ical4j-1.0.5/build.xml
+@@ -14,7 +14,7 @@
+ <property file="build.properties" />
+
+ <!-- Project paths -->
+- <property name="source.dir" location="source" />
++ <property name="source.dir" location="src" />
+ <property name="test.source.dir" location="test" />
+ <property name="output.dir" location="bin" />
+ <property name="package.dir" location="build" />
+@@ -99,7 +99,7 @@
+ <echo message="Compiling source from classpath: ${project.classpath}" />
+ <mkdir dir="${output.dir}" />
+
+- <copy file="${source.dir}/net/fortuna/ical4j/model/tz.alias" todir="${output.dir}/net/fortuna/ical4j/model" />
++ <copy file="src/main/resources/net/fortuna/ical4j/model/tz.alias" todir="${output.dir}/net/fortuna/ical4j/model" />
+
+ <javac source="1.4" target="1.4" srcdir="${source.dir}" destdir="${output.dir}" debug="true" debuglevel="lines,source,vars" deprecation="true" classpathref="project.classpath" />
+ </target>
+@@ -123,7 +123,7 @@
+ <attribute name="Class-Path" value="commons-logging.jar,commons-codec.jar,commons-lang.jar" />
+ </manifest>
+ <jar basedir="${output.dir}" compress="true" jarfile="${package.dir}/${package.file}" manifest="etc/manifest.mf">
+- <zipfileset dir="etc/zoneinfo" prefix="zoneinfo" excludes="zones.h,zones.tab" />
++ <zipfileset dir="/usr/share/zoneinfo" prefix="zoneinfo" excludes="zones.h,zones.tab" />
+ </jar>
+ </target>
+
+@@ -187,10 +187,8 @@
+ <instr instrpathref="coverage.classpath" destdir="${out.instr.dir}" metadatafile="${coverage.dir}/metadata.emma" merge="true" />
+ </emma>
+
+- <junit printsummary="withOutAndErr" showoutput="yes" fork="yes">
+- <!--
+- <classpath path="${project.classpath}"/>
+- -->
++ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
++
+ <classpath>
+ <pathelement location="${out.instr.dir}" />
+ <path refid="coverage.classpath" />
+@@ -198,22 +196,19 @@
+ </classpath>
+ <jvmarg value="-Demma.coverage.out.file=${coverage.dir}/coverage.emma" />
+ <jvmarg value="-Demma.coverage.out.merge=false" />
+- <test name="net.fortuna.ical4j.AllTests" />
+- <!--
+- <batchtest>
+- <fileset dir="${test.source.dir}">
+- <include name="**/*Test.java"/>
+- </fileset>
+- </batchtest>
+- -->
+-
+- <!--
+- <test name="net.fortuna.ical4j.data.CalendarOutputterTest"/>
+- <test name="net.fortuna.ical4j.model.component.VTimeZoneTest"/>
+- <test name="net.fortuna.ical4j.model.component.VEventTest"/>
+- <test name="net.fortuna.ical4j.data.CalendarBuilderTest"/>
+- -->
+- </junit>
++
++
++ <sysproperty key="basedir" value="."/>
++ <formatter type="xml"/>
++ <formatter type="plain" usefile="false"/>
++
++ <batchtest>
++ <fileset dir="${test.source.dir}">
++ <include name="**/*Test.java"/>
++ <exclude name="**/*Abstract*Test.java"/>
++ </fileset>
++ </batchtest>
++ </junit>
+
+ <emma enabled="${emma.enabled}">
+ <report sourcepath="${src.dir}">
diff --git a/dev-java/ical4j/ical4j-1.0.5.ebuild b/dev-java/ical4j/ical4j-1.0.5.ebuild
new file mode 100644
index 000000000000..e82a71816b02
--- /dev/null
+++ b/dev-java/ical4j/ical4j-1.0.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc examples source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="a Java library for handling iCalendar data streams"
+HOMEPAGE="http://ical4j.sourceforge.net/"
+MY_PV=${PV/_/-}
+MY_P=${PN}-${MY_PV}
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+COMMON_DEP="
+ dev-java/commons-logging:0
+ dev-java/commons-codec:0
+ dev-java/commons-lang:2.1
+ dev-java/backport-util-concurrent:0"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+ dev-java/emma:0
+ ${COMMON_DEP}"
+
+S=${WORKDIR}/${MY_P}
+
+java_prepare() {
+ epatch "${FILESDIR}"/${PV}-build.xml.patch
+ rm -v lib/*.jar || die "rm jar failed"
+ #mkdir bin || die "mkdir bin failed"
+ java-pkg_filter-compiler jikes
+}
+
+EANT_ANT_TASKS="emma"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_BUILD_TARGET="package"
+EANT_GENTOO_CLASSPATH="commons-logging,commons-codec,commons-lang-2.1,backport-util-concurrent"
+EANT_EXTRA_ARGS="-Demma.dir=/usr/share/emma/lib/ -Dsource.dir=src/main/java"
+
+RESTRICT="test"
+# two tests fail with maven, they work in HEAD
+
+src_install() {
+ java-pkg_dojar build/*.jar
+ dodoc README AUTHORS CHANGELOG etc/FAQ \
+ etc/TODO etc/standard_deviations.txt
+ use doc && java-pkg_dojavadoc docs/api
+ use source && java-pkg_dosrc src/main/java/net
+ use examples && java-pkg_doexamples etc/samples
+}
diff --git a/dev-java/ical4j/metadata.xml b/dev-java/ical4j/metadata.xml
new file mode 100644
index 000000000000..4299d5f0c299
--- /dev/null
+++ b/dev-java/ical4j/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <longdescription lang="en">
+ iCal4j is a Java library used to read and write iCalendar data streams
+ as defined in RFC2445. The iCalendar standard provides a common data
+ format used to store information about calendar-specific data such as
+ events, appointments, to-do lists, etc. All of the popular calendaring
+ tools, such as Lotus Notes, Outlook and Apple's iCal also support the
+ iCalendar standard.
+
+ Providing both a parser and an object model, iCal4j allows you to either
+ modify existing iCalendar data or create new data models. Validation is
+ also provided to ensure the data maintains a state consistent with the
+ specification.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">ical4j</remote-id>
+ </upstream>
+</pkgmetadata>