[97563] trunk/dports/office/gcalcli/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Sep 9 03:43:34 PDT 2012


Revision: 97563
          https://trac.macports.org/changeset/97563
Author:   ryandesign at macports.org
Date:     2012-09-09 03:43:31 -0700 (Sun, 09 Sep 2012)
Log Message:
-----------
gcalcli: update to 2.1; update to python27; use 'extract.mkdir yes'

Modified Paths:
--------------
    trunk/dports/office/gcalcli/Portfile

Modified: trunk/dports/office/gcalcli/Portfile
===================================================================
--- trunk/dports/office/gcalcli/Portfile	2012-09-09 09:50:19 UTC (rev 97562)
+++ trunk/dports/office/gcalcli/Portfile	2012-09-09 10:43:31 UTC (rev 97563)
@@ -2,11 +2,10 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python27 1.0
 
 name                gcalcli
-version             1.4
-revision            1
+version             2.1
 categories          office python devel
 maintainers         nomaintainer
 supported_archs     noarch
@@ -22,20 +21,23 @@
 homepage            http://code.google.com/p/gcalcli
 master_sites        googlecode
 extract.suffix 	    .tgz
-checksums           md5     6f01ff01750e06083857347e2a5f11f8 \
-                    sha1    65edd3b1a825a178746485ca5d8321a40c400794 \
-                    rmd160  0b75d0e549c40b9d5130f6cf5a1186dee121778d
 
-depends_lib         port:py26-gdata \
-                    port:py26-elementtree \
-                    port:py26-dateutil
+checksums           rmd160  609926cb35c658e8dcc12d792ae453b4919a020b \
+                    sha256  6007a7134f7ba4c21dd8f73916ae99b0601213b26f004034936d2bfb28788932
 
+depends_lib         port:py27-dateutil \
+                    port:py27-elementtree \
+                    port:py27-gdata \
+                    port:py27-vobject
+
+extract.mkdir       yes
+
 post-patch {
-	reinplace "s|^#!/usr/bin/python|#!${prefix}/bin/python2.6|" ${workpath}/gcalcli
+    reinplace "s|^#!/usr/bin/python2|#!${prefix}/bin/python2.7|" ${worksrcpath}/gcalcli
 }
 
 build {}
 
 destroot {
-	xinstall -m 755 ${workpath}/gcalcli ${destroot}${prefix}/bin/$name
+    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120909/3a661308/attachment.html>


More information about the macports-changes mailing list