Initial addition. Ebuild written by me. Fixes bug #167275.
authorPetteri Räty <betelgeuse@gentoo.org>
Wed, 11 Apr 2007 16:15:58 +0000 (16:15 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Wed, 11 Apr 2007 16:15:58 +0000 (16:15 +0000)
Package-Manager: portage-2.1.2.3

dev-java/ical4j/ChangeLog [new file with mode: 0644]
dev-java/ical4j/Manifest [new file with mode: 0644]
dev-java/ical4j/files/digest-ical4j-1.0_beta2 [new file with mode: 0644]
dev-java/ical4j/ical4j-1.0_beta2.ebuild [new file with mode: 0644]
dev-java/ical4j/metadata.xml [new file with mode: 0644]

diff --git a/dev-java/ical4j/ChangeLog b/dev-java/ical4j/ChangeLog
new file mode 100644 (file)
index 0000000..e323f10
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/ical4j
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ical4j/ChangeLog,v 1.1 2007/04/11 16:15:58 betelgeuse Exp $
+
+*ical4j-1.0_beta2 (11 Apr 2007)
+
+  11 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> +metadata.xml,
+  +ical4j-1.0_beta2.ebuild:
+  Initial addition. Ebuild written by me. Fixes bug #167275.
+
diff --git a/dev-java/ical4j/Manifest b/dev-java/ical4j/Manifest
new file mode 100644 (file)
index 0000000..6dba3b1
--- /dev/null
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST ical4j-1.0-beta2-src.tar.bz2 1328056 RMD160 30578cb3930f54e15d67a72e0e046c0712df9ffa SHA1 e53af1691470506654f256ae3cd276326a0687b1 SHA256 c2ddf74c8f57d504816aa930e7a63498dd812c914ac77d19c24d9f36eb46afd6
+EBUILD ical4j-1.0_beta2.ebuild 1544 RMD160 8991b18d8f36b3d8e79cdf2f48df5f103813754e SHA1 e17cdb9d6debec28418b8315959e2bba77f1f70c SHA256 92b9269a8755d1621d141a6571220ab1d86c0cab9dd535f0df777b6f06e23acd
+MD5 773685554045a1defec3100e6c598c49 ical4j-1.0_beta2.ebuild 1544
+RMD160 8991b18d8f36b3d8e79cdf2f48df5f103813754e ical4j-1.0_beta2.ebuild 1544
+SHA256 92b9269a8755d1621d141a6571220ab1d86c0cab9dd535f0df777b6f06e23acd ical4j-1.0_beta2.ebuild 1544
+MISC ChangeLog 398 RMD160 bb9281d38e8288110c194df01c8f5cda46415aeb SHA1 9cdca6d27ed8853748c67500011cbb3995b729d3 SHA256 6d868ae4b59b96e80eb6ab40af2964c84037e84b54ae1456ed410ebd853a9547
+MD5 69d86ee1f3664e517cd3e95ce4ebce8b ChangeLog 398
+RMD160 bb9281d38e8288110c194df01c8f5cda46415aeb ChangeLog 398
+SHA256 6d868ae4b59b96e80eb6ab40af2964c84037e84b54ae1456ed410ebd853a9547 ChangeLog 398
+MISC metadata.xml 830 RMD160 769367ed9a6139793346b76036c2cd74a67ee3b5 SHA1 ce1041da98b8a141623079afe257c03f701ff827 SHA256 1970061c273c049c1f541f368176c373daf594d9ed1eb1a91d8943b2ccaed8c9
+MD5 9dec77277c48ad9bfc788779d83a3027 metadata.xml 830
+RMD160 769367ed9a6139793346b76036c2cd74a67ee3b5 metadata.xml 830
+SHA256 1970061c273c049c1f541f368176c373daf594d9ed1eb1a91d8943b2ccaed8c9 metadata.xml 830
+MD5 969e0d98ff9a74bec468cfa2282bacf8 files/digest-ical4j-1.0_beta2 268
+RMD160 f189c2f9a70d99c2190ab7d9a0d73966c7bab47a files/digest-ical4j-1.0_beta2 268
+SHA256 9b89e79e49ccb02c6ccdb2bac4014b62ff55081b253f64f9dd28063c544e7a77 files/digest-ical4j-1.0_beta2 268
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGHQnBcxLzpIGCsLQRAlFCAJ9EVwnLWQvvFrMbUI9SbjAfbAc3HwCfaN4H
+TXEanMdRYUF2IzyWklJA/Fc=
+=+hgT
+-----END PGP SIGNATURE-----
diff --git a/dev-java/ical4j/files/digest-ical4j-1.0_beta2 b/dev-java/ical4j/files/digest-ical4j-1.0_beta2
new file mode 100644 (file)
index 0000000..3b6a8c0
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 d2d12fae6c18d0c529a7ddbd3c7d0fd1 ical4j-1.0-beta2-src.tar.bz2 1328056
+RMD160 30578cb3930f54e15d67a72e0e046c0712df9ffa ical4j-1.0-beta2-src.tar.bz2 1328056
+SHA256 c2ddf74c8f57d504816aa930e7a63498dd812c914ac77d19c24d9f36eb46afd6 ical4j-1.0-beta2-src.tar.bz2 1328056
diff --git a/dev-java/ical4j/ical4j-1.0_beta2.ebuild b/dev-java/ical4j/ical4j-1.0_beta2.ebuild
new file mode 100644 (file)
index 0000000..d8b45bc
--- /dev/null
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ical4j/ical4j-1.0_beta2.ebuild,v 1.1 2007/04/11 16:15:58 betelgeuse Exp $
+
+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="~x86"
+
+COMMON_DEP="
+       dev-java/commons-logging
+       dev-java/commons-codec
+       =dev-java/commons-lang-2.1*
+       "
+
+RDEPEND=">=virtual/jre-1.4
+       ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+       dev-java/emma
+       ${COMMON_DEP}"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       java-ant_rewrite-classpath
+       rm -v lib/*.jar || die
+       mkdir bin || die
+}
+
+ANT_TASKS="emma"
+EANT_BUILD_TARGET="package"
+EANT_GENTOO_CLASSPATH="commons-logging,commons-codec,commons-lang-2.1"
+EANT_EXTRA_ARGS="-Demma.dir=/usr/share/ant-core/lib/"
+
+RESTRICT="test"
+# two tests fail with maven, they work in HEAD
+src_test() {
+       local dcp="$(java-pkg_getjars --with-dependencies ${EANT_GENTOO_CLASSPATH})"
+       ANT_TASKS="ant-junit emma" eant run-tests \
+               -Dproject.classpath="${dcp}"
+}
+
+src_install() {
+       java-pkg_dojar build/*.jar
+       dodoc README AUTHORS CHANGELOG || die
+       dodoc etc/FAQ etc/TODO etc/standard_deviations.txt || die
+       use doc && java-pkg_dojavadoc docs/api
+       use source && java-pkg_dosrc source/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 (file)
index 0000000..134e8e5
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>java</herd>
+       <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>
+</pkgmetadata>