Date: Wed, 9 Feb 2005 15:17:49 -0200 (BRST) From: Marcus Grando <marcus@corp.grupos.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/77314: [MAINTAINER] Update port: databases/py-MySQLdb-devel changes Message-ID: <20050209171749.436A320A5C@corp.grupos.com.br> Resent-Message-ID: <200502091720.j19HKLgm014697@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77314 >Category: ports >Synopsis: [MAINTAINER] Update port: databases/py-MySQLdb-devel changes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Feb 09 17:20:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marcus Grando >Release: FreeBSD 4.11-STABLE i386 >Organization: Grupos Internet S/A >Environment: System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #40: Fri Jan 28 13:42:33 BRST 2005 root@corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386 >Description: Update port: databases/py-MySQLdb-devel changes - Change default mysql lib to libmysqlclient_r. WITHOUT_MYSQLCLIENT_R=yes use libmysqlclient. - Install more docs - Update very old pkg-descr >How-To-Repeat: >Fix: --- py-MySQLdb-devel.patch begins here --- diff -ruN py-MySQLdb-devel.old/Makefile py-MySQLdb-devel/Makefile --- py-MySQLdb-devel.old/Makefile Thu Feb 3 01:01:20 2005 +++ py-MySQLdb-devel/Makefile Wed Feb 9 15:13:11 2005 @@ -27,12 +27,13 @@ @${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 @@ -40,20 +41,23 @@ PORTDOCS= * .endif -.if !defined(NOPORTDOCS) post-install: +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for FILE in ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.txt ${WRKSRC}/doc/*.css - @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} -.endfor + @${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/*.css ${DOCSDIR} + @${MKDIR} ${DOCSDIR}/doc + @${INSTALL_DATA} ${WRKSRC}/doc/doc/*.html ${DOCSDIR}/doc + @${INSTALL_DATA} ${WRKSRC}/doc/doc/*.css ${DOCSDIR}/doc + @${MKDIR} ${DOCSDIR}/doc/public + @${INSTALL_DATA} ${WRKSRC}/doc/doc/public/* ${DOCSDIR}/doc/public + @${MKDIR} ${DOCSDIR}/doc/private + @${INSTALL_DATA} ${WRKSRC}/doc/doc/private/* ${DOCSDIR}/doc/private @${MKDIR} ${DOCSDIR}/public -.for FILE in ${WRKSRC}/doc/public/* - @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/public -.endfor + @${INSTALL_DATA} ${WRKSRC}/doc/public/* ${DOCSDIR}/public @${MKDIR} ${DOCSDIR}/private -.for FILE in ${WRKSRC}/doc/private/* - @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/private -.endfor + @${INSTALL_DATA} ${WRKSRC}/doc/private/* ${DOCSDIR}/private .endif .include <bsd.port.mk> diff -ruN py-MySQLdb-devel.old/pkg-descr py-MySQLdb-devel/pkg-descr --- py-MySQLdb-devel.old/pkg-descr Sat May 8 01:17:38 2004 +++ py-MySQLdb-devel/pkg-descr Wed Feb 9 15:00:46 2005 @@ -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/ --- py-MySQLdb-devel.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050209171749.436A320A5C>