# HG changeset patch # User Binki # Date 2009-07-20 23:51:28 # Node ID 0b233d51a361a89f5e0172f57215c95b7f8790ea # Parent c656b2f37001eb0fafc9a34c90e011dd7acef559 app-pda/libopensync-plugin-google-calendar: removed -- outdated/buggy diff --git a/app-pda/libopensync-plugin-google-calendar/ChangeLog b/app-pda/libopensync-plugin-google-calendar/ChangeLog deleted file mode 100644 --- a/app-pda/libopensync-plugin-google-calendar/ChangeLog +++ /dev/null @@ -1,37 +0,0 @@ -# ChangeLog for app-pda/libopensync-plugin-google-calendar -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-google-calendar/ChangeLog,v 1.5 2007/03/28 20:18:19 peper Exp $ - -*libopensync-plugin-google-calendar-0.22 (28 Mar 2007) - - 28 Mar 2007; Piotr Jaroszyński - -libopensync-plugin-google-calendar-0.20a.ebuild, - +libopensync-plugin-google-calendar-0.22.ebuild: - Version bump. - -*libopensync-plugin-google-calendar-0.21 (12 Feb 2007) - - 12 Feb 2007; Piotr Jaroszyński - -libopensync-plugin-google-calendar-0.19.ebuild, - +libopensync-plugin-google-calendar-0.21.ebuild: - Version bump. - - 27 Nov 2006; Piotr Jaroszyński - libopensync-plugin-google-calendar-0.19.ebuild, - libopensync-plugin-google-calendar-0.20a.ebuild: - Add missing dep: dev-python/pyxml. Thanks to Lumir Honus , - bug #156355. - -*libopensync-plugin-google-calendar-0.20a (10 Nov 2006) - - 10 Nov 2006; Piotr Jaroszyński - libopensync-plugin-google-calendar-0.19.ebuild, - +libopensync-plugin-google-calendar-0.20a.ebuild: - Version bump. - -*libopensync-plugin-google-calendar-0.19 (23 Oct 2006) - - 23 Oct 2006; Piotr Jaroszyński +metadata.xml, - +libopensync-plugin-google-calendar-0.19.ebuild: - New package. - diff --git a/app-pda/libopensync-plugin-google-calendar/Manifest b/app-pda/libopensync-plugin-google-calendar/Manifest deleted file mode 100644 --- a/app-pda/libopensync-plugin-google-calendar/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX recurrent_events.patch 2731 RMD160 800a8477c3d293f3e34cb63cc2b75bf6f645dfb2 SHA1 39c1a229d9048aaffe2cb7556a4803709e1eec4a SHA256 68696dcf5c0654a7adfb2b4db1c706b042b7b06d6dcabd2dc92b69774adafb5d -DIST libopensync-plugin-google-calendar-0.21.tar.bz2 228603 RMD160 b05035d61e0051a5c796634d30cf3c0d48c638cf SHA1 b2f7d2eb14f262ba1b67e324c92094e0239eb8b2 SHA256 4b2a21b31c7e115b0a4b1d14aaf35008ee58aa176e6f04333fb86ca0a1fce955 -DIST libopensync-plugin-google-calendar-0.22.tar.bz2 435568 RMD160 cb018af3c5bc69729cc1900897dac7bc3ecdfc3b SHA1 b06c96dd01ad9270f02c1bba30b3f6939caa17a7 SHA256 cc82e8b932c884586c66870873544f945822bddcad16608a9d5ea7d86598adb4 -EBUILD libopensync-plugin-google-calendar-0.21.ebuild 705 RMD160 8734cb81990032f4b1451f6f5c097f008f90dc67 SHA1 0ac4e6331de2d1c024b868a171328fc60bf3fda5 SHA256 3b5484e4f67c114c2281720e852cf8f07a702d8651783840c32726b439e0186c -EBUILD libopensync-plugin-google-calendar-0.22-r1.ebuild 809 RMD160 cc8d01bbded684f1690f081397e967c70c44b5c8 SHA1 332572ae3fee3130ee47a0abf3e4146f1e307082 SHA256 a8272a69bd77feb485d78b3888eb988109cffbcc64400ccb3522ec9753f730d7 -EBUILD libopensync-plugin-google-calendar-0.22.ebuild 723 RMD160 621446f8537963cebc749f7106509c3f3c906fa1 SHA1 4226a809de3d5dfaccc0d78c731352ceecd2a5a8 SHA256 2a5d3ad9e07a90449e649e3d3ca7494f724e7525290977c6b3ddb1340bd901f6 -MISC ChangeLog 1382 RMD160 f6a91e1ee24620f8c7682060791eeb5f5fb8f781 SHA1 733ac06cc345e7f27e4296a066b7f4a6e1c620aa SHA256 690f2ecfb12df2db2707a5fed56788d4772cd3ac3099cf5d2bc65317d2aa2e7f -MISC libopensync-plugin-google-calendar-0.36.ebuild.bac 762 RMD160 b5bfb58c34d8fffd954f4049bd39a9bdb508d73f SHA1 b09465290623feda60ffd5aee4e041a857701fce SHA256 9a1fbf5ba889e7acfb653b1c0beb9b53efbb4b85b66bae9728886eda85737d61 -MISC metadata.xml 304 RMD160 1da32fded95735800bc96b0ff4c0a3af4691a724 SHA1 b96c72c417192c099990a616b12a1d2f55a06064 SHA256 7fa8df0f64197f3f6c018ed0d6c4cc4da014fbcc9af2da9b633f71657470236a diff --git a/app-pda/libopensync-plugin-google-calendar/files/recurrent_events.patch b/app-pda/libopensync-plugin-google-calendar/files/recurrent_events.patch deleted file mode 100644 --- a/app-pda/libopensync-plugin-google-calendar/files/recurrent_events.patch +++ /dev/null @@ -1,80 +0,0 @@ ---- libopensync-plugin-google-calendar-0.22/src/google-cal-helper.py 2007-03-27 12:18:21.000000000 -0400 -+++ libopensync-plugin-google-calendar-0.22-r1/src/google-cal-helper.py 2007-11-30 20:14:20.000000000 -0500 -@@ -138,6 +138,41 @@ - sys.stderr.write("xs to osync: %s => %s\n" % (s, r)) - return r - -+GDEND_RE = re.compile("DTEND;[^:]*:(\S+)") -+def gdRecurToEnd(recur): -+ m = GDEND_RE.search(recur) -+ if m is None: -+ raise DateConversionError("failed to find end in \"%s\"" % recur) -+ start = m.group(1) -+ year = start[0:4] -+ month = start[4:6] -+ day = start[6:8] -+ hour = start[9:11] -+ min = start[11:13] -+ sec = start[13:15] -+ return "%s-%2s-%2sT%2s:%2s:%2s" % (year, month, day, hour, min, sec) -+ -+GDSTART_RE = re.compile("DTSTART;[^:]*:(\S+)") -+def gdRecurToStart(recur): -+ m = GDSTART_RE.search(recur) -+ if m is None: -+ raise DateConversionError("failed to find start in \"%s\"" % recur) -+ start = m.group(1) -+ year = start[0:4] -+ month = start[4:6] -+ day = start[6:8] -+ hour = start[9:11] -+ min = start[11:13] -+ sec = start[13:15] -+ return "%s-%2s-%2sT%2s:%2s:%2s" % (year, month, day, hour, min, sec) -+ -+GDRECUR_RE = re.compile("RRULE:(\S+)") -+def gdRecurToORecur(recur): -+ m = GDRECUR_RE.search(recur) -+ if m is None: -+ raise DateConversionError("failed to find rule in \"%s\"" % recur) -+ return m.group(1) -+ - class GCalRequestError(Exception): - def __init__(self, response): - self.response = response -@@ -159,13 +194,19 @@ - self.id = self.elementValue('atom:id/text()') - self.editUri = self.elementValue('atom:link[@rel="edit"]/@href') - self.content = self.elementValue('atom:content[@type="text"]/text()') -+ self.dtrecur = self.elementValue('gd:recurrence/text()') -+ if self.dtrecur: -+ pass -+ self.dtstart = gdRecurToStart(self.dtrecur) -+ self.dtend = gdRecurToEnd(self.dtrecur) -+ self.dtrecur = gdRecurToORecur(self.dtrecur) -+ else: - self.dtstart = self.elementValue('gd:when/@startTime') - self.dtend = self.elementValue('gd:when/@endTime') - - self.eventStatus = self.elementValue('gd:eventStatus/@value') - self.whereString = self.elementValue('gd:where/@valueString') - -- #FIXME: Handle recurrency - #FIXME: Handle gd:eventStatus - - -@@ -199,9 +240,13 @@ - - self.addElementContent(doc, event, 'DateStarted', xsdateToOsync(self.dtstart)) - self.addElementContent(doc, event, 'DateEnd', xsdateToOsync(self.dtend)) -+ if self.dtrecur: -+ self.addElementContent(doc, event, 'RecurrenceRule', -+ self.dtrecur) -+ - self.addElementContent(doc, event, 'Location', self.whereString) - -- #TODO: UID, editUri, dtstart, dtend, recurrency, eventStatus -+ #TODO: UID, editUri, dtstart, dtend, eventStatus - return doc.toxml(encoding='utf-8') - - def dumpGdata(self): diff --git a/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.21.ebuild b/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.21.ebuild deleted file mode 100644 --- a/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.21.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.21.ebuild,v 1.1 2007/02/12 20:58:06 peper Exp $ - -DESCRIPTION="OpenSync Google Calendar Plugin" -HOMEPAGE="http://www.opensync.org/" -SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.bz2" - -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="GPL-2" -IUSE="" - -DEPEND="=app-pda/libopensync-${PV}* - dev-python/httplib2" -RDEPEND="${DEPEND} - dev-python/pyxml" - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog COPYING NEWS README -} diff --git a/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22-r1.ebuild b/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22-r1.ebuild deleted file mode 100644 --- a/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22.ebuild,v 1.1 2007/03/28 20:18:19 peper Exp $ - -inherit eutils - -DESCRIPTION="OpenSync Google Calendar Plugin" -HOMEPAGE="http://www.opensync.org/" -SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.bz2" - -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="GPL-2" -IUSE="" - -DEPEND=">=app-pda/libopensync-${PV} - dev-python/httplib2" -RDEPEND="${DEPEND} - dev-python/pyxml" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/recurrent_events.patch -} - - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog COPYING NEWS README -} diff --git a/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22.ebuild b/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22.ebuild deleted file mode 100644 --- a/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22.ebuild,v 1.1 2007/03/28 20:18:19 peper Exp $ - -DESCRIPTION="OpenSync Google Calendar Plugin" -HOMEPAGE="http://www.opensync.org/wiki/opensync-${PV}-notes" -SRC_URI="http://opensync.org/download/releases/${PV}/${P}.tar.bz2" - -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="GPL-2" -IUSE="" - -DEPEND="=app-pda/libopensync-${PV}* - dev-python/httplib2" -RDEPEND="${DEPEND} - dev-python/pyxml" - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog COPYING NEWS README -} diff --git a/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.36.ebuild.bac b/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.36.ebuild.bac deleted file mode 100644 --- a/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.36.ebuild.bac +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-google-calendar/libopensync-plugin-google-calendar-0.22.ebuild,v 1.1 2007/03/28 20:18:19 peper Exp $ - -DESCRIPTION="OpenSync Google Calendar Plugin" -HOMEPAGE="http://www.opensync.org/wiki/opensync-${PV}-notes" -SRC_URI="http://opensync.org/download/releases/${PV}/${P}.tar.bz2" - -#KEYWORDS="~amd64 ~x86" -#use the portage version! -KEYWORDS="" -SLOT="0" -LICENSE="GPL-2" -IUSE="" - -DEPEND="=app-pda/libopensync-${PV}* - dev-python/httplib2" -RDEPEND="${DEPEND} - dev-python/pyxml" - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog COPYING NEWS README -} diff --git a/app-pda/libopensync-plugin-google-calendar/metadata.xml b/app-pda/libopensync-plugin-google-calendar/metadata.xml deleted file mode 100644 --- a/app-pda/libopensync-plugin-google-calendar/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - pda - - peper@gentoo.org - Piotr Jaroszyński - - - - -