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
distname MySQL-python-${version}
checksums md5 532268f02870bea18c1d465e88afff30
patchfiles patch-_mysql.c.diff
depends_lib-append port:py25-distribute
variant mysql4 conflicts mysql5 description {Build with MySQL 4} {
depends_lib-append port:mysql4
variant mysql5 conflicts mysql4 description {Build with MySQL 5} {
patchfiles-append patch-setup_posix.py.diff
depends_lib-append path:bin/mysql_config5:mysql5
if {![variant_isset mysql4]} {
if {![variant_isset mysql4] && ![variant_isset mysql5]} {
return -code error "you must select either mysql4 or mysql5"