debian/0000755000000000000000000000000012174526371007176 5ustar debian/source/0000755000000000000000000000000012174526371010476 5ustar debian/source/format0000644000000000000000000000001412174526371011704 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000021412174526371010224 0ustar version=3 opts=filenamemangle=s/.+\/v?(.*)\.tar\.gz/gcalcli-$1.tar.gz/ \ https://github.com/insanum/gcalcli/tags .*/v?(\d[\d\.]+)\.tar\.gz debian/patches/0000755000000000000000000000000012174526371010625 5ustar debian/patches/series0000644000000000000000000000003412174526371012037 0ustar up_errors_resistant_sorting debian/patches/up_errors_resistant_sorting0000644000000000000000000000214212174526371016430 0ustar From cf983d0a3902776f0a13d0d6fac0d7b606bdc4e0 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 23 Mar 2010 11:49:58 -0400 Subject: [PATCH] ENH: Making sorting of calendars error resistant by placing unknown keys last. Thanks Bill Gatliff for suggestion --- gcalcli | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) --- a/gcalcli +++ b/gcalcli @@ -525,9 +525,15 @@ class gcalcli: self.ACCESS_READ : 8, self.ACCESS_NONE : 9 } + def order_resistant(k): + """Helper which would not puke but order last entries with + unknown keys + """ + return order.get(k, order[self.ACCESS_NONE]+1) + self.allCals.entry.sort(lambda x, y: - cmp(order[x.access_level.value], - order[y.access_level.value])) + cmp(order_resistant(x.access_level.value), + order_resistant(y.access_level.value))) for cal in self.allCals.entry: debian/changelog0000644000000000000000000000744512174526371011062 0ustar gcalcli (2.4.2-2) unstable; urgency=high * Added python-gdata and python-dateutil to Build-Depends to proper functioning of help2man thus preventing FTBFS (Closes: #714550). Thanks Felix Geyer for the report. -- Yaroslav Halchenko Fri, 26 Jul 2013 13:06:23 -0400 gcalcli (2.4.2-1) unstable; urgency=low [ Unit 193 ] * New upstream release (Closes: #707701) - patches up_pep0394_not_yet_there and up_unicode_support are no longer needed * Updated watch file * Use dh9 * Boosted policy compliance to 3.9.4 * Updated a debian/copyright file * Added basic docs * Added new Recommends: python-parsedatetime, python-simplejson, python-vobject [ Yaroslav Halchenko ] * Generate manpage using help2man -- Yaroslav Halchenko Thu, 27 Jun 2013 12:33:39 -0400 gcalcli (2.1-2) unstable; urgency=low * Refactored remaining Debian upstream-intended changes into 2 patches: - up_unicode_support - up_errors_resistant_sorting * Convert to unicode only if string is not unicode yet (Closes: #649619) -- Yaroslav Halchenko Tue, 22 Nov 2011 18:20:38 -0500 gcalcli (2.1-1) unstable; urgency=low * Fresh upstream release (Closes: #639508) + patches/up_pep0394_not_yet_there * Adjusted watch file to use googlecode.debian.net redirector * Added a basic gbp.conf * Use dh7 * Switch to use 3.0 (quilt) source pkg format -- Yaroslav Halchenko Tue, 30 Aug 2011 10:35:13 +0200 gcalcli (1.4-6) unstable; urgency=low * Fixing path to config file in manpage. Thanks Premysl Hruby (Closes: #595936) -- Yaroslav Halchenko Tue, 07 Sep 2010 09:22:36 -0400 gcalcli (1.4-5) unstable; urgency=low * Moved into section extra (depends on python-gdata from extra), and Archive Administrator complained * Added misc:Depends into Depends -- Yaroslav Halchenko Wed, 02 Jun 2010 09:55:51 -0400 gcalcli (1.4-4) unstable; urgency=low [ Salvatore Bonaccorso ] * Adjust 'feedPrefix' URL to 'https?://www.google.com/calendar/feeds/' fixing failure of gcalcli on all operations with AttributeError (Closes: #582247). [ Yaroslav Halchenko ] * Boosted policy compliance to 3.8.4 -- no changes due * Added basic description (thanks to Barak Pearlmutter) for ~/.gcalcli into manpage (Closes: #559192) -- Yaroslav Halchenko Wed, 02 Jun 2010 09:04:34 -0400 gcalcli (1.4-3) unstable; urgency=low * BF: fix absent ordering about "root" calendars (Closes: #575086) * ENH: Making sorting of calendars error resistant by placing unknown keys last. Thanks Bill Gatliff for suggestion -- Yaroslav Halchenko Tue, 23 Mar 2010 12:40:09 -0400 gcalcli (1.4-2) unstable; urgency=low [ Sandro Tosi ] * debian/watch - added missing file [ Yaroslav Halchenko ] * New maintainer (Maintainer and Uploaders fields got adjusted) (Closes: #522816) * Priority switched to optional from extra * Vcs- fields adjusted (now storing packaging and upstream within git) * Policy complience version boosted to 3.8.0 (no changes necessary) * Updated a debian/copyright file * BF: adopted patch from http://www.freebsd.org/cgi/query-pr.cgi?pr=125327 to handle unicode (Closes: #504812) * BF: adjusted man page to don't point to non-existing documentation, and rather point to Wiki page (Closes: #462485) * Adjusted Recommends to advise to use gxmessage instead of previously named gmessage (will be removed some time soon) (Closes: #530410) -- Yaroslav Halchenko Wed, 10 Jun 2009 13:58:10 -0400 gcalcli (1.4-1) unstable; urgency=low * Initial release (Closes: #451006) -- Brandon Philips Mon, 12 Nov 2007 22:34:00 -0800 debian/copyright0000644000000000000000000000430112174526371011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gcalcli Source: https://github.com/insanum/gcalcli Files: * Copyright: 2007-2013, Eric Davis License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: 2007, Brandon Philips 2009-2013, Yaroslav Halchenko License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. debian/rules0000755000000000000000000000062712174526371010263 0ustar #!/usr/bin/make -f # -*- makefile -*- %: dh $@ override_dh_clean: dh_clean rm -f gcalcli.1 override_dh_install: gcalcli.1 dh_install gcalcli usr/bin dh_installman gcalcli.1 override_dh_installchangelogs: dh_installchangelogs ChangeLog gcalcli.1: help2man --section=1 --no-info --include=debian/gcalcli.h2m ./gcalcli >| $@ sed -i -e '/Usage:/,/Options:/d' -e 's/^OPTIONS/.SH OPTIONS/' gcalcli.1 debian/docs0000644000000000000000000000000512174526371010044 0ustar docs debian/gbp.conf0000644000000000000000000000030012174526371010606 0ustar [DEFAULT] upstream-branch = master # the default branch for the debian patch: debian-branch = debian # the default tag formats used: debian-tag = debian/%(version)s upstream-tag = v%(version) debian/gcalcli.h2m0000644000000000000000000000070212174526371011203 0ustar Include file for help2man man page [name] gcalcli \- Google Calendar Command Line Interface [synopsis] gcalcli [options] command [command args] [description] gcalcli is a Python application that allows you to access your Google Calendar from a command line. It's easy to get your agenda, search for events, and quickly add new events. Additionally gcalcli can be used as a reminder service to execute any application you want. /Options:/ OPTIONS debian/control0000644000000000000000000000163112174526371010602 0ustar Source: gcalcli Section: utils Priority: extra Maintainer: Yaroslav Halchenko Homepage: https://github.com/insanum/gcalcli Vcs-git: git://git.onerussian.com/deb/gcalcli Vcs-Browser: http://git.onerussian.com/?p=deb/gcalcli.git Build-Depends: debhelper (>= 9), help2man, python-gdata (>= 1.0.7), python-dateutil, Standards-Version: 3.9.4 Package: gcalcli Architecture: all Depends: python, python-gdata (>= 1.0.7), python-dateutil, ${misc:Depends} Recommends: gxmessage, python-parsedatetime, python-simplejson, python-vobject Description: Google Calendar Command Line Interface gcalcli is a Python application that allows you to access your Google Calendar from a command line. It's easy to get your agenda, search for events, and quickly add new events. Additionally gcalcli can be used as a reminder service to execute any application you want. debian/compat0000644000000000000000000000000212174526371010374 0ustar 9