Opened 14 years ago

Last modified 9 years ago

#29185 new enhancement

py-pyodbc: Add iODBC variant

Reported by: stevemcc@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: kurthindenburg (Kurt Hindenburg), petrrr
Port: py-pyodbc

Description

Following the php5-odbc Portfile, I added separate variants for unixodbc and iodbc. The default variant is +unixodbc, and it uses the same setup.py.patch file from before. The +iodbc variant works without any patches, because the default setup.py does libraries.append('iodbc') on darwin platforms.

Attachments (2)

Portfile-py27-odbc.diff (986 bytes) - added by stevemcc@… 14 years ago.
Portfile patch
pyodbc.diff (3.4 KB) - added by kurthindenburg (Kurt Hindenburg) 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by stevemcc@…

Attachment: Portfile-py27-odbc.diff added

Portfile patch

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: singingwolfboy@… removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to singingwolfboy@…
Version: 1.9.2

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from singingwolfboy@… to macports-tickets@…
Port: py-pyodbc added; py27-odbc removed
Summary: py27-odbc @2.1.8 Add iODBC variantpy-pyodbc: Add iODBC variant

comment:3 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Attachment: pyodbc.diff added

comment:4 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

I tried to update this and include your variants but I can't really test the actual code

comment:5 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

Note: See TracTickets for help on using tickets.