From sbrabez@gmail.com  Fri Apr  6 13:53:03 2012
Return-Path: <sbrabez@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 316E5106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  6 Apr 2012 13:53:03 +0000 (UTC)
	(envelope-from sbrabez@gmail.com)
Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172])
	by mx1.freebsd.org (Postfix) with ESMTP id AFEE98FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  6 Apr 2012 13:53:02 +0000 (UTC)
Received: by wibhj6 with SMTP id hj6so455422wib.13
        for <FreeBSD-gnats-submit@freebsd.org>; Fri, 06 Apr 2012 06:53:01 -0700 (PDT)
Received: by 10.180.86.132 with SMTP id p4mr12116320wiz.15.1333720381418;
        Fri, 06 Apr 2012 06:53:01 -0700 (PDT)
Received: from localhost (public.nbs-system.com. [82.234.123.117])
        by mx.google.com with ESMTPS id l5sm6585193wia.11.2012.04.06.06.52.59
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 06 Apr 2012 06:52:59 -0700 (PDT)
Message-Id: <4f7ef53b.c507b40a.6878.4072@mx.google.com>
Date: Fri, 06 Apr 2012 06:52:59 -0700 (PDT)
From: Sofian Brabez <sbz@FreeBSD.org>
Sender: s bz <sbrabez@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: lwhsu@FreeBSD.org
Subject: [PATCH] net/googlecl: update to 0.9.13
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         166692
>Category:       ports
>Synopsis:       [PATCH] net/googlecl: update to 0.9.13
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sbz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 06 14:00:26 UTC 2012
>Closed-Date:    Fri Apr 06 14:48:48 UTC 2012
>Last-Modified:  Fri Apr  6 14:50:12 UTC 2012
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->lwhsu 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Apr 6 14:00:37 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166692 
Responsible-Changed-From-To: lwhsu->sbz 
Responsible-Changed-By: lwhsu 
Responsible-Changed-When: Fri Apr 6 14:30:48 UTC 2012 
Responsible-Changed-Why:  
Transfer maintainership. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166692 
State-Changed-From-To: open->closed 
State-Changed-By: sbz 
State-Changed-When: Fri Apr 6 14:48:47 UTC 2012 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166692 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/166692: commit references a PR
Date: Fri,  6 Apr 2012 14:47:59 +0000 (UTC)

 sbz         2012-04-06 14:47:50 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/googlecl         Makefile distinfo 
     net/googlecl/files   patch-setup.py 
   Removed files:
     net/googlecl/files   patch-__init__.py patch-base.py 
   Log:
   - Update to 0.9.13
   - Make happy portlint
   - Take maintainership
   
   PR:             ports/166692
   Submitted by:   myself
   Approved by:    jadawin@, miwi@ (mentors, implicit)
   Feature safe:   yes
   
   Revision  Changes    Path
   1.11      +6 -7      ports/net/googlecl/Makefile
   1.8       +2 -2      ports/net/googlecl/distinfo
   1.2       +0 -40     ports/net/googlecl/files/patch-__init__.py (dead)
   1.2       +0 -17     ports/net/googlecl/files/patch-base.py (dead)
   1.3       +2 -2      ports/net/googlecl/files/patch-setup.py
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
