diff options
Diffstat (limited to 'net-misc/googlecl')
-rw-r--r-- | net-misc/googlecl/Manifest | 1 | ||||
-rw-r--r-- | net-misc/googlecl/files/googlecl-0.9.12-calendar_dates.patch | 64 | ||||
-rw-r--r-- | net-misc/googlecl/googlecl-0.9.14.ebuild | 33 | ||||
-rw-r--r-- | net-misc/googlecl/metadata.xml | 7 |
4 files changed, 0 insertions, 105 deletions
diff --git a/net-misc/googlecl/Manifest b/net-misc/googlecl/Manifest deleted file mode 100644 index 43941220548b..000000000000 --- a/net-misc/googlecl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST googlecl-0.9.14.tar.gz 99834 SHA256 0a4640b1240104b8020f9af526e24afe53a8327390d95ef28e1ca093673fce5a SHA512 199a959b6d975fff0295833bf9f59b59a8a5c8a74f0e353fca37da579e9964e305452f0aefb263a2f10d267fc433d37cc4cf60b9ad024c2caa8d6e43f3766440 WHIRLPOOL 140dd5deca7ea03f3003ecbdd30196851a306c67f79b9155896b02296cef0ee9e50eeed9eb1aef8c1c9f1c6084ef243e146940991295cf8e37385c832223d445 diff --git a/net-misc/googlecl/files/googlecl-0.9.12-calendar_dates.patch b/net-misc/googlecl/files/googlecl-0.9.12-calendar_dates.patch deleted file mode 100644 index 83897bb69550..000000000000 --- a/net-misc/googlecl/files/googlecl-0.9.12-calendar_dates.patch +++ /dev/null @@ -1,64 +0,0 @@ -fix "when" field in calendar not showing dates - -http://bugs.gentoo.org/show_bug.cgi?id=355913 -http://code.google.com/p/googlecl/issues/detail?id=358 - -Index: googlecl/base.py -=================================================================== ---- src/googlecl/base.py (revision 527) -+++ src/googlecl/base.py (working copy) -@@ -673,10 +673,12 @@ - except ValueError, err: - LOG.debug(err.args[0] + ' (Did not add value for field ' + attr + ')') - except AttributeError, err: -+ LOG.debug(err.args[0] + ' (value for field ' + attr + ')') - try: - # Last ditch effort to blindly grab the attribute - val = getattr(wrapped_entry.entry, attr).text or missing_field_value - except AttributeError: -+ LOG.debug(err.args[0] + ' (value for field ' + attr + ')') - val = missing_field_value - # Apparently, atom(?) doesn't always return a Unicode type when there are - # non-latin characters, so force everything to Unicode. -Index: googlecl/calendar/__init__.py -=================================================================== ---- src/googlecl/calendar/__init__.py (revision 527) -+++ src/googlecl/calendar/__init__.py (working copy) -@@ -235,12 +235,22 @@ - - - class CalendarEntryToStringWrapper(googlecl.base.BaseEntryToStringWrapper): -+ def __init__(self, entry, config): -+ """Initialize a CalendarEntry wrapper. -+ -+ Args: -+ entry: CalendarEntry to interpret to strings. -+ config: Configuration parser. Needed for some values. -+ """ -+ googlecl.base.BaseEntryToStringWrapper.__init__(self, entry) -+ self.config_parser = config -+ - @property - def when(self): - """When event takes place.""" - start_date, end_date, freq = get_datetimes(self.entry) -- print_format = googlecl.CONFIG.lazy_get(SECTION_HEADER, -- 'date_print_format') -+ print_format = self.config_parser.lazy_get(SECTION_HEADER, -+ 'date_print_format') - start_text = time.strftime(print_format, start_date) - end_text = time.strftime(print_format, end_date) - value = start_text + ' - ' + end_text -@@ -277,9 +287,9 @@ - - for entry in single_events: - print googlecl.base.compile_entry_string( -- CalendarEntryToStringWrapper(entry), -- options.fields.split(','), -- delimiter=options.delimiter) -+ CalendarEntryToStringWrapper(entry, client.config), -+ options.fields.split(','), -+ delimiter=options.delimiter) - - - #=============================================================================== diff --git a/net-misc/googlecl/googlecl-0.9.14.ebuild b/net-misc/googlecl/googlecl-0.9.14.ebuild deleted file mode 100644 index 7d18b12a39e6..000000000000 --- a/net-misc/googlecl/googlecl-0.9.14.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=3 -PYTHON_DEPEND="2:2.5:2.7" - -inherit distutils - -DESCRIPTION="Command line tools for the Google Data APIs" -HOMEPAGE="https://code.google.com/p/googlecl/" -SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86 ~arm-linux ~x86-linux" -IUSE="" - -DEPEND="" -RDEPEND=" - dev-python/gdata -" - -pkg_setup() { - python_set_active_version 2 -} - -src_install() { - distutils_src_install - - dodoc changelog || die "dodoc failed" - doman man/*.1 || die "doman failed" -} diff --git a/net-misc/googlecl/metadata.xml b/net-misc/googlecl/metadata.xml deleted file mode 100644 index 7482c1cf949a..000000000000 --- a/net-misc/googlecl/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <upstream> - <remote-id type="google-code">googlecl</remote-id> - </upstream> -</pkgmetadata> |