Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2012 13:15:58 -0600
From:      Mark Felder <feld@feld.me>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lwhsu@FreeBSD.org
Subject:   ports/173536: [PATCH] deskutils/gcalcli: update to 2.1
Message-ID:  <E1TXGX8-0004fA-Kb@feld.me>
Resent-Message-ID: <201211101920.qAAJK1rs036967@freefall.freebsd.org>

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

>Number:         173536
>Category:       ports
>Synopsis:       [PATCH] deskutils/gcalcli: update to 2.1
>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:   Sat Nov 10 19:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     feld
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD mwi1.coffeenet.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #5 r239731: Mon Aug 27 09:53:18 CDT
>Description:
- Update to 2.1
- Removed UTF8 output patch as it breaks lots of things now

Removed file(s):
- files/patch-gcalcli

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

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

--- gcalcli-2.1.patch begins here ---
diff -ruN --exclude=CVS ../gcalcli.orig/Makefile ./Makefile
--- ../gcalcli.orig/Makefile	2009-02-15 20:26:49.000000000 -0600
+++ ./Makefile	2012-11-10 13:15:20.719523766 -0600
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	gcalcli
-PORTVERSION=	1.4
-PORTREVISION=	2
+PORTVERSION=	2.1
 CATEGORIES=	deskutils
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 EXTRACT_SUFX=	.tgz
@@ -26,7 +25,7 @@
 PLIST_FILES=	bin/gcalcli
 
 post-patch:
-	@${REINPLACE_CMD} -e "s,/usr/bin/python,${SETENV} python," ${WRKSRC}/${PORTNAME}
+	@${REINPLACE_CMD} -e "s,/usr/bin/python2,${SETENV} python," ${WRKSRC}/${PORTNAME}
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
diff -ruN --exclude=CVS ../gcalcli.orig/distinfo ./distinfo
--- ../gcalcli.orig/distinfo	2011-03-20 07:48:20.000000000 -0500
+++ ./distinfo	2012-11-10 13:14:26.378513798 -0600
@@ -1,2 +1,2 @@
-SHA256 (gcalcli-1.4.tgz) = a3768e5c0084fed3d6897f78357dd7fd26d010ad43090eaf8295e3cb7130b337
-SIZE (gcalcli-1.4.tgz) = 9573
+SHA256 (gcalcli-2.1.tgz) = 6007a7134f7ba4c21dd8f73916ae99b0601213b26f004034936d2bfb28788932
+SIZE (gcalcli-2.1.tgz) = 12099
diff -ruN --exclude=CVS ../gcalcli.orig/files/patch-gcalcli ./files/patch-gcalcli
--- ../gcalcli.orig/files/patch-gcalcli	2009-02-15 20:26:49.000000000 -0600
+++ ./files/patch-gcalcli	1969-12-31 18:00:00.000000000 -0600
@@ -1,33 +0,0 @@
---- gcalcli.orig	2008-07-06 12:29:27.000000000 +0800
-+++ gcalcli	2008-07-06 12:31:38.000000000 +0800
-@@ -195,25 +195,25 @@
- def PrintErrMsg(msg):
-     if CLR.useColor:
-         sys.stdout.write(str(CLR_BRRED()))
--        sys.stdout.write(msg)
-+        sys.stdout.write(unicode(msg, 'UTF-8'))
-         sys.stdout.write(str(CLR_NRM()))
-     else:
--        sys.stdout.write(msg)
-+        sys.stdout.write(unicode(msg, 'UTF-8'))
- 
- 
- def PrintMsg(color, msg):
-     if CLR.useColor:
-         sys.stdout.write(str(color))
--        sys.stdout.write(msg)
-+        sys.stdout.write(unicode(msg, 'UTF-8'))
-         sys.stdout.write(str(CLR_NRM()))
-     else:
--        sys.stdout.write(msg)
-+        sys.stdout.write(unicode(msg, 'UTF-8'))
- 
- 
- def DebugPrint(msg):
-     return
-     sys.stdout.write(str(CLR_YLW()))
--    sys.stdout.write(msg)
-+    sys.stdout.write(unicode(msg, 'UTF-8'))
-     sys.stdout.write(str(CLR_NRM()))
- 
- 
--- gcalcli-2.1.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?E1TXGX8-0004fA-Kb>