[75842] trunk/dports/python

singingwolfboy at macports.org singingwolfboy at macports.org
Thu Feb 10 09:15:09 PST 2011


Revision: 75842
          http://trac.macports.org/changeset/75842
Author:   singingwolfboy at macports.org
Date:     2011-02-10 09:15:09 -0800 (Thu, 10 Feb 2011)
Log Message:
-----------
Make pyodbc use unixODBC on python 26 and 27

Modified Paths:
--------------
    trunk/dports/python/py26-odbc/Portfile
    trunk/dports/python/py27-odbc/Portfile

Added Paths:
-----------
    trunk/dports/python/py26-odbc/files/
    trunk/dports/python/py26-odbc/files/setup.py.patch
    trunk/dports/python/py27-odbc/files/
    trunk/dports/python/py27-odbc/files/setup.py.patch

Modified: trunk/dports/python/py26-odbc/Portfile
===================================================================
--- trunk/dports/python/py26-odbc/Portfile	2011-02-10 17:03:51 UTC (rev 75841)
+++ trunk/dports/python/py26-odbc/Portfile	2011-02-10 17:15:09 UTC (rev 75842)
@@ -6,6 +6,7 @@
 name                py26-odbc
 set real_name       pyodbc
 version             2.1.8
+revision            1
 categories-append   databases devel
 platforms           darwin
 license             MIT
@@ -22,4 +23,5 @@
 checksums           md5     7c9cfbb21afd65fb20bab127dc579c93 \
                     sha1    3b2a066a609f920225987ed18dfcbed95704a4bf \
                     rmd160  7bca24bf603f840c2f3253909254bc46a1fd3c92
+patchfiles          setup.py.patch
 depends_lib-append  port:unixODBC

Added: trunk/dports/python/py26-odbc/files/setup.py.patch
===================================================================
--- trunk/dports/python/py26-odbc/files/setup.py.patch	                        (rev 0)
+++ trunk/dports/python/py26-odbc/files/setup.py.patch	2011-02-10 17:15:09 UTC (rev 75842)
@@ -0,0 +1,13 @@
+--- setup.py.orig	2011-02-10 11:56:51.000000000 -0500
++++ setup.py	2011-02-10 11:57:32.000000000 -0500
+@@ -52,10 +52,6 @@
+         # OS name not windows, but still on Windows
+         libraries.append('odbc32')
+ 
+-    elif sys.platform == 'darwin':
+-        # OS/X now ships with iODBC.
+-        libraries.append('iodbc')
+-
+     else:
+         # Other posix-like: Linux, Solaris, etc.
+ 

Modified: trunk/dports/python/py27-odbc/Portfile
===================================================================
--- trunk/dports/python/py27-odbc/Portfile	2011-02-10 17:03:51 UTC (rev 75841)
+++ trunk/dports/python/py27-odbc/Portfile	2011-02-10 17:15:09 UTC (rev 75842)
@@ -4,6 +4,7 @@
 PortGroup           python27 1.0
 
 name                py27-odbc
+revision            1
 set real_name       pyodbc
 version             2.1.8
 categories-append   databases devel
@@ -22,4 +23,5 @@
 checksums           md5     7c9cfbb21afd65fb20bab127dc579c93 \
                     sha1    3b2a066a609f920225987ed18dfcbed95704a4bf \
                     rmd160  7bca24bf603f840c2f3253909254bc46a1fd3c92
+patchfiles          setup.py.patch
 depends_lib-append  port:unixODBC

Added: trunk/dports/python/py27-odbc/files/setup.py.patch
===================================================================
--- trunk/dports/python/py27-odbc/files/setup.py.patch	                        (rev 0)
+++ trunk/dports/python/py27-odbc/files/setup.py.patch	2011-02-10 17:15:09 UTC (rev 75842)
@@ -0,0 +1,13 @@
+--- setup.py.orig	2011-02-10 11:56:51.000000000 -0500
++++ setup.py	2011-02-10 11:57:32.000000000 -0500
+@@ -52,10 +52,6 @@
+         # OS name not windows, but still on Windows
+         libraries.append('odbc32')
+ 
+-    elif sys.platform == 'darwin':
+-        # OS/X now ships with iODBC.
+-        libraries.append('iodbc')
+-
+     else:
+         # Other posix-like: Linux, Solaris, etc.
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110210/550abb64/attachment.html>


More information about the macports-changes mailing list