[128762] trunk/dports/python/py-libgmail/Portfile

larryv at macports.org larryv at macports.org
Thu Nov 27 02:04:05 PST 2014


Revision: 128762
          https://trac.macports.org/changeset/128762
Author:   larryv at macports.org
Date:     2014-11-27 02:04:05 -0800 (Thu, 27 Nov 2014)
Log Message:
-----------
py-libgmail: Rearrange and reformat

Modified Paths:
--------------
    trunk/dports/python/py-libgmail/Portfile

Modified: trunk/dports/python/py-libgmail/Portfile
===================================================================
--- trunk/dports/python/py-libgmail/Portfile	2014-11-27 10:03:55 UTC (rev 128761)
+++ trunk/dports/python/py-libgmail/Portfile	2014-11-27 10:04:05 UTC (rev 128762)
@@ -2,36 +2,34 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup python    1.0
+PortGroup           python 1.0
 
 name                py-libgmail
 version             0.1.11
-
 categories-append   mail
-license             GPL-2
 platforms           darwin
-supported_archs     noarch
+license             GPL-2
 maintainers         nomaintainer
 
 description         Python binding for accessing Gmail
-long_description    The libgmail project is a pure Python binding to provide \
-                    access to Google's Gmail web-mail service.
-
+long_description    The libgmail project is a pure Python binding to \
+                    provide access to Google's Gmail web-mail service.
 homepage            http://libgmail.sourceforge.net/
+
+supported_archs     noarch
+
 master_sites        sourceforge:libgmail
 distname            libgmail-${version}
-
 checksums           md5     247477ac98b39658fdcdee8d65639e51 \
                     sha1    485a06227043104e192839e895325f2c9df09d15
 
 python.versions     24 25 26
 
-if { ${name} ne ${subport} } {
-    post-destroot   {
+if {${name} ne ${subport}} {
+    depends_lib     port:py${python.version}-mechanize
+    post-destroot {
         xinstall -m 644 -W ${worksrcpath} \
-            CHANGELOG COPYING PKG-INFO README \
-            ${destroot}${prefix}/share/doc/${subport}
+                CHANGELOG COPYING PKG-INFO README \
+                ${destroot}${prefix}/share/doc/${subport}
     }
-
-    depends_lib     port:py${python.version}-mechanize
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141127/cbff5d15/attachment.html>


More information about the macports-changes mailing list