Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Apr 2012 06:52:59 -0700 (PDT)
From:      Sofian Brabez <sbz@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lwhsu@FreeBSD.org
Subject:   ports/166692: [PATCH] net/googlecl: update to 0.9.13
Message-ID:  <4f7ef53b.c507b40a.6878.4072@mx.google.com>
Resent-Message-ID: <201204061400.q36E0QdW081165@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166692
>Category:       ports
>Synopsis:       [PATCH] net/googlecl: update to 0.9.13
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 06 14:00:26 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Sofian Brabez
>Release:        FreeBSD 8.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd.ifr.lan 8.1-STABLE FreeBSD 8.1-STABLE #3: Wed Nov 17 10:34:25 CET 2010
>Description:
- Update to 0.9.13
- Make happy portlint

Removed file(s):
- files/patch-__init__.py
- files/patch-base.py

Port maintainer (lwhsu@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_5 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:

--- googlecl-0.9.13.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/googlecl/Makefile,v
retrieving revision 1.10
diff -u -u -r1.10 Makefile
--- Makefile	9 Jan 2012 15:41:01 -0000	1.10
+++ Makefile	6 Apr 2012 13:52:30 -0000
@@ -6,21 +6,20 @@
 #
 
 PORTNAME=	googlecl
-PORTVERSION=	0.9.12
-PORTREVISION=	1
+PORTVERSION=	0.9.13
 CATEGORIES=	net www python
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
 MAINTAINER=	lwhsu@FreeBSD.org
 COMMENT=	Command line tools for the Google Data APIs
 
+LICENSE=	AL2
+
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/gdata/__init__.py:${PORTSDIR}/devel/py-gdata
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 
-LICENSE=	AL2
-
 .if !defined(NO_INSTALL_MANPAGES)
 MAN1=		google.1
 .endif
@@ -29,10 +28,10 @@
 
 post-install:
 .if !defined(NO_INSTALL_MANPAGES)
-	${INSTALL_MAN} ${WRKSRC}/man/google.1 ${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MANPREFIX}/man/man1
 .endif
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.* ${DOCSDIR}
 .endif
 
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/net/googlecl/distinfo,v
retrieving revision 1.7
diff -u -u -r1.7 distinfo
--- distinfo	22 Jan 2011 16:04:57 -0000	1.7
+++ distinfo	6 Apr 2012 13:52:30 -0000
@@ -1,2 +1,2 @@
-SHA256 (googlecl-0.9.12.tar.gz) = 1aac3069b7b8d51c2d0ac0f1c1c81c3bb2c4bef373bf7837b7ae13f537f844a6
-SIZE (googlecl-0.9.12.tar.gz) = 84266
+SHA256 (googlecl-0.9.13.tar.gz) = 14bf616b7a1a8671bab4a4000446198df6af06c8711c9ae7f3f616cfda1aa3bc
+SIZE (googlecl-0.9.13.tar.gz) = 85690
Index: files/patch-__init__.py
===================================================================
RCS file: files/patch-__init__.py
diff -N files/patch-__init__.py
--- files/patch-__init__.py	26 Feb 2011 17:05:34 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,40 +0,0 @@
---- src/googlecl/calendar/__init__.py.bak	2011-02-17 10:11:57.000000000 +0100
-+++ src/googlecl/calendar/__init__.py	2011-02-17 10:14:06.000000000 +0100
-@@ -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)
- 
- 
- #===============================================================================
Index: files/patch-base.py
===================================================================
RCS file: files/patch-base.py
diff -N files/patch-base.py
--- files/patch-base.py	26 Feb 2011 17:05:34 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
---- src/googlecl/base.py.bak	2011-02-17 10:23:53.000000000 +0100
-+++ src/googlecl/base.py	2011-02-17 10:24:55.000000000 +0100
-@@ -671,12 +671,13 @@
-       # with the missing field value.
-       val = getattr(wrapped_entry, attr.replace('-','_')) or missing_field_value
-     except ValueError, err:
--      LOG.debug(err.args[0] + ' (Did not add value for field ' + attr + ')')
-+      LOG.debug(err.args[0] + ' (value for field ' + attr + ')')
-     except AttributeError, err:
-       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: files/patch-setup.py
===================================================================
RCS file: /home/pcvs/ports/net/googlecl/files/patch-setup.py,v
retrieving revision 1.2
diff -u -u -r1.2 patch-setup.py
--- files/patch-setup.py	11 Dec 2010 18:51:52 -0000	1.2
+++ files/patch-setup.py	6 Apr 2012 13:52:30 -0000
@@ -1,5 +1,5 @@
---- ./setup.py.orig	2010-12-11 00:04:45.000000000 +0100
-+++ ./setup.py	2010-12-11 00:04:57.000000000 +0100
+--- ./setup.py.orig	2012-04-06 17:49:48.000000000 +0200
++++ ./setup.py	2012-04-06 17:49:57.000000000 +0200
 @@ -14,10 +14,7 @@
  
  from __future__ import with_statement
--- googlecl-0.9.13.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f7ef53b.c507b40a.6878.4072>