[88891] trunk/dports/python

phw at macports.org phw at macports.org
Sat Jan 14 11:56:27 PST 2012


Revision: 88891
          http://trac.macports.org/changeset/88891
Author:   phw at macports.org
Date:     2012-01-14 11:56:23 -0800 (Sat, 14 Jan 2012)
Log Message:
-----------
py-libgmail: generalized port; py25-libgmail: removed port in favor of generalized port

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

Removed Paths:
-------------
    trunk/dports/python/py25-libgmail/

Modified: trunk/dports/python/py-libgmail/Portfile
===================================================================
--- trunk/dports/python/py-libgmail/Portfile	2012-01-14 19:38:57 UTC (rev 88890)
+++ trunk/dports/python/py-libgmail/Portfile	2012-01-14 19:56:23 UTC (rev 88891)
@@ -1,25 +1,34 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name            py-libgmail
-version         0.1.5.1
+version         0.1.11
+python.versions 24 25 26
 categories      python mail
 platforms       darwin
-maintainers     nomaintainer
+maintainers     phw openmaintainer
 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.
+                    access to Google's Gmail web-mail service.
 
 homepage        http://libgmail.sourceforge.net/
 master_sites    sourceforge:libgmail
 distname        libgmail-${version}
-checksums       md5 97b6fdd56b715068fddc38edb21b91cf \
-                sha1 6d23e50e402d8c8cdafa88ad14191cd0a6b1fb3a
+checksums           md5     247477ac98b39658fdcdee8d65639e51 \
+                    sha1    485a06227043104e192839e895325f2c9df09d15
+if { ${name} != ${subport} } {
+    post-destroot   {
+        xinstall -m 644 -W ${worksrcpath} CHANGELOG COPYING PKG-INFO README \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 
-post-destroot   {
-    xinstall -m 644 -W ${worksrcpath} CHANGELOG COPYING PKG-INFO README \
-        ${destroot}${prefix}/share/doc/${name}
+    if { ${python.version} == 24 } {
+    # Workaround until py-mechanize is generalized
+    depends_lib     port:py-mechanize
+    } else {
+    depends_lib     port:py${python.version}-mechanize
+    }
 }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120114/aa14788c/attachment-0001.html>


More information about the macports-changes mailing list