[88878] trunk/dports/python/py-mysql/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Jan 13 22:03:34 PST 2012


Revision: 88878
          http://trac.macports.org/changeset/88878
Author:   ryandesign at macports.org
Date:     2012-01-13 22:03:32 -0800 (Fri, 13 Jan 2012)
Log Message:
-----------
py-mysql: update whitespace and formatting

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

Modified: trunk/dports/python/py-mysql/Portfile
===================================================================
--- trunk/dports/python/py-mysql/Portfile	2012-01-14 06:00:50 UTC (rev 88877)
+++ trunk/dports/python/py-mysql/Portfile	2012-01-14 06:03:32 UTC (rev 88878)
@@ -4,20 +4,23 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
-name				py-mysql
+name                py-mysql
 version             1.2.3
-categories			python devel databases
-description			Python interface to mysql
-long_description 	A package containing a Python module that allows you to \
-                    connect to MySQL databases
-homepage 			http://sourceforge.net/projects/mysql-python/
-master_sites		sourceforge:mysql-python
-platforms			darwin
+categories          python devel databases
+platforms           darwin
+maintainers         nomaintainer
 license             GPL
-maintainers			nomaintainer
 
-distname			MySQL-python-${version}
+description         Python interface to mysql
 
+long_description    A package containing a Python module that allows you to \
+                    connect to MySQL databases
+
+homepage            http://sourceforge.net/projects/mysql-python/
+master_sites        sourceforge:mysql-python
+
+distname            MySQL-python-${version}
+
 checksums           rmd160  e394e7bf08127068795aeebfbaea7dc3b2127c86 \
                     sha256  7de66fbbf923634e7c965aeaefa74642ba75ae20ee1cefcefc3009595b7a7e6e
 
@@ -25,16 +28,16 @@
 python.default_version 27
 
 if {$subport != $name} {
-    depends_lib-append	port:py${python.version}-distribute
+    depends_lib-append  port:py${python.version}-distribute
     
     patch.pre_args      -p1
     patchfiles          patch-site.cfg.diff
     
     post-patch {
-    reinplace "s|@PREFIX@|${prefix}|g" \
-        ${worksrcpath}/site.cfg
-    reinplace "s|@MYSQL_SUFFIX@|${mysql_suffix}|g" \
-        ${worksrcpath}/site.cfg
+        reinplace "s|@PREFIX@|${prefix}|g" \
+            ${worksrcpath}/site.cfg
+        reinplace "s|@MYSQL_SUFFIX@|${mysql_suffix}|g" \
+            ${worksrcpath}/site.cfg
     }
     
     pre-configure {
@@ -51,11 +54,11 @@
     }
     
     variant mysql4 conflicts mysql5 description {Build with MySQL 4} {
-        depends_lib-append	port:mysql4
+        depends_lib-append  port:mysql4
     }
     
     variant mysql5 conflicts mysql4 description {Build with MySQL 5} {
-        depends_lib-append	path:bin/mysql_config5:mysql5
+        depends_lib-append  path:bin/mysql_config5:mysql5
     }
     
     set mysql_suffix    {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120113/8e1a47fc/attachment.html>


More information about the macports-changes mailing list