diff options
author | pav <pav@FreeBSD.org> | 2005-02-10 02:55:48 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-02-10 02:55:48 +0800 |
commit | 23dcdad7ad7c0e25c948887d18c06f9f5502c1ae (patch) | |
tree | f5687919494f5cd8b20990ecbe8805c1009cba8e /databases/py-MySQLdb | |
parent | 8d0b4a6d2e8a9f7d35f38bebf346df9347436e9a (diff) | |
download | freebsd-ports-gnome-23dcdad7ad7c0e25c948887d18c06f9f5502c1ae.tar.gz freebsd-ports-gnome-23dcdad7ad7c0e25c948887d18c06f9f5502c1ae.tar.zst freebsd-ports-gnome-23dcdad7ad7c0e25c948887d18c06f9f5502c1ae.zip |
- Change default mysql lib to libmysqlclient_r.
WITHOUT_MYSQLCLIENT_R=yes use libmysqlclient.
- Update very old pkg-descr
PR: ports/77284
Submitted by: Marcus Grando <marcus@corp.grupos.com.br> (maintainer)
Diffstat (limited to 'databases/py-MySQLdb')
-rw-r--r-- | databases/py-MySQLdb/Makefile | 11 | ||||
-rw-r--r-- | databases/py-MySQLdb/pkg-descr | 22 |
2 files changed, 18 insertions, 15 deletions
diff --git a/databases/py-MySQLdb/Makefile b/databases/py-MySQLdb/Makefile index 0016689b0bb1..fd1430fff038 100644 --- a/databases/py-MySQLdb/Makefile +++ b/databases/py-MySQLdb/Makefile @@ -7,7 +7,7 @@ PORTNAME= MySQLdb PORTVERSION= 1.2.0 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= mysql-python @@ -27,12 +27,13 @@ pre-fetch: @${ECHO} "" @${ECHO} "You may use the following build options:" @${ECHO} "" - @${ECHO} " WITH_MYSQLCLIENT_R=yes Use mysqlclient_r lib" + @${ECHO} " WITHOUT_MYSQLCLIENT_R=yes Don't use mysqlclient_r lib" + @${ECHO} " but is not guarantee thread-safe." + @${ECHO} "" + @${ECHO} " Default use mysqlclient_r" @${ECHO} "" -.if defined(WITH_MYSQLCLIENT_R) -MAKE_ENV+= mysqlclient="mysqlclient_r" -.else +.if defined(WITHOUT_MYSQLCLIENT_R) MAKE_ENV+= mysqlclient="mysqlclient" .endif diff --git a/databases/py-MySQLdb/pkg-descr b/databases/py-MySQLdb/pkg-descr index b2847a0dfe15..425e14ac002b 100644 --- a/databases/py-MySQLdb/pkg-descr +++ b/databases/py-MySQLdb/pkg-descr @@ -1,15 +1,17 @@ -You can easily access a MySQL database through the Python MySQL module. +Python interface to MySQL -This module should be mostly compatible with an older interface written by -Joe Skinner and others. However, the older version is +MySQLdb is an interface to the popular MySQL database server for Python. +The design goals are: - a) not thread-friendly (database operations could cause all other threads to - block), - b) written for MySQL 3.21 (does not compile against newer versions without - patches), - c) apparently not actively maintained. +- Compliance with Python database API version 2.0 +- Thread-safety +- Thread-friendliness (threads will not block each other) +- Compatibility with MySQL-3.22 and later -MySQLdb is a completely new module, distributed free of charge under a license -derived from the Python license. +This module should be mostly compatible with an older interface +written by Joe Skinner and others. However, the older version is +a) not thread-friendly, b) written for MySQL 3.21, c) apparently +not actively maintained. No code from that version is used in +MySQLdb. MySQLdb is free software. WWW: http://sourceforge.net/projects/mysql-python/ |