diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-02-09 18:55:48 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-02-09 18:55:48 +0000 |
commit | 4f7a6ccc241e5b67574bba0bd1ffc45980168280 (patch) | |
tree | 709255b287d345baf610ffd2e5c6ab93b8f19139 /databases/py-MySQLdb | |
parent | 2da7276ad961138d94a2188c88d8e942cc6a250f (diff) | |
download | ports-4f7a6ccc241e5b67574bba0bd1ffc45980168280.tar.gz ports-4f7a6ccc241e5b67574bba0bd1ffc45980168280.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)
Notes
Notes:
svn path=/head/; revision=128397
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/ |