Updated to 0.6.6. From CHANGELOG:

## 0.6.6

* Add context manager to cursor
* Fix can't encode blob that is not utf-8 on PY3. (regression of 0.6.4,
  Thanks to @wiggzz)

## 0.6.4
* Support "LOAD LOCAL INFILE".  Thanks @wraziens
* Show MySQL warnings after execute query.
* Fix MySQLError may be wrapped with OperationalError while connectiong. (#274)
* SSCursor no longer attempts to expire un-collected rows within __del__,
  delaying termination of an interrupted program; cleanup of uncollected
  rows is left to the Connection on next execute, which emits a
  warning at that time. (#287)
* Support datetime and time with microsecond. (#303)
* Use surrogateescape to format bytes on Python 3.
* OperationalError raised from connect() have information about original
  exception. (#304)
* `init_command` now support multi statement.
* `Connection.escape()` method now accepts second argument compatible to
  MySQL-Python.

## 0.6.3
* Fixed multiple result sets with SSCursor.
* Fixed connection timeout.
* Fixed literal set syntax to work on Py2.6.
* Allow for mysql negative values with 0 hour timedelta.
* Added Connection.begin().
This commit is contained in:
rodent 2015-04-01 02:16:26 +00:00
parent 51a0437e36
commit 2de7003c77
3 changed files with 39 additions and 32 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.2 2014/08/13 22:40:19 joerg Exp $
# $NetBSD: Makefile,v 1.3 2015/04/01 02:16:26 rodent Exp $
DISTNAME= PyMySQL-0.6.2
DISTNAME= PyMySQL-0.6.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= databases python
MASTER_SITES= https://pypi.python.org/packages/source/P/PyMySQL/

View file

@ -1,14 +1,21 @@
@comment $NetBSD: PLIST,v 1.1 2014/06/14 14:03:33 rodent Exp $
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@comment $NetBSD: PLIST,v 1.2 2015/04/01 02:16:26 rodent Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/pbr.json
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pymysql/charset.py
${PYSITELIB}/pymysql/charset.pyc
${PYSITELIB}/pymysql/charset.pyo
${PYSITELIB}/pymysql/__init__.py
${PYSITELIB}/pymysql/__init__.pyc
${PYSITELIB}/pymysql/__init__.pyo
${PYSITELIB}/pymysql/_compat.py
${PYSITELIB}/pymysql/_compat.pyc
${PYSITELIB}/pymysql/_compat.pyo
${PYSITELIB}/pymysql/_socketio.py
${PYSITELIB}/pymysql/_socketio.pyc
${PYSITELIB}/pymysql/_socketio.pyo
${PYSITELIB}/pymysql/charset.py
${PYSITELIB}/pymysql/charset.pyc
${PYSITELIB}/pymysql/charset.pyo
${PYSITELIB}/pymysql/connections.py
${PYSITELIB}/pymysql/connections.pyc
${PYSITELIB}/pymysql/connections.pyo
@ -27,12 +34,12 @@ ${PYSITELIB}/pymysql/constants/FIELD_TYPE.pyo
${PYSITELIB}/pymysql/constants/FLAG.py
${PYSITELIB}/pymysql/constants/FLAG.pyc
${PYSITELIB}/pymysql/constants/FLAG.pyo
${PYSITELIB}/pymysql/constants/__init__.py
${PYSITELIB}/pymysql/constants/__init__.pyc
${PYSITELIB}/pymysql/constants/__init__.pyo
${PYSITELIB}/pymysql/constants/SERVER_STATUS.py
${PYSITELIB}/pymysql/constants/SERVER_STATUS.pyc
${PYSITELIB}/pymysql/constants/SERVER_STATUS.pyo
${PYSITELIB}/pymysql/constants/__init__.py
${PYSITELIB}/pymysql/constants/__init__.pyc
${PYSITELIB}/pymysql/constants/__init__.pyo
${PYSITELIB}/pymysql/converters.py
${PYSITELIB}/pymysql/converters.pyc
${PYSITELIB}/pymysql/converters.pyo
@ -42,51 +49,51 @@ ${PYSITELIB}/pymysql/cursors.pyo
${PYSITELIB}/pymysql/err.py
${PYSITELIB}/pymysql/err.pyc
${PYSITELIB}/pymysql/err.pyo
${PYSITELIB}/pymysql/__init__.py
${PYSITELIB}/pymysql/__init__.pyc
${PYSITELIB}/pymysql/__init__.pyo
${PYSITELIB}/pymysql/_socketio.py
${PYSITELIB}/pymysql/_socketio.pyc
${PYSITELIB}/pymysql/_socketio.pyo
${PYSITELIB}/pymysql/tests/base.py
${PYSITELIB}/pymysql/tests/base.pyc
${PYSITELIB}/pymysql/tests/base.pyo
${PYSITELIB}/pymysql/tests/__init__.py
${PYSITELIB}/pymysql/tests/__init__.pyc
${PYSITELIB}/pymysql/tests/__init__.pyo
${PYSITELIB}/pymysql/tests/base.py
${PYSITELIB}/pymysql/tests/base.pyc
${PYSITELIB}/pymysql/tests/base.pyo
${PYSITELIB}/pymysql/tests/test_DictCursor.py
${PYSITELIB}/pymysql/tests/test_DictCursor.pyc
${PYSITELIB}/pymysql/tests/test_DictCursor.pyo
${PYSITELIB}/pymysql/tests/test_SSCursor.py
${PYSITELIB}/pymysql/tests/test_SSCursor.pyc
${PYSITELIB}/pymysql/tests/test_SSCursor.pyo
${PYSITELIB}/pymysql/tests/test_basic.py
${PYSITELIB}/pymysql/tests/test_basic.pyc
${PYSITELIB}/pymysql/tests/test_basic.pyo
${PYSITELIB}/pymysql/tests/test_connection.py
${PYSITELIB}/pymysql/tests/test_connection.pyc
${PYSITELIB}/pymysql/tests/test_connection.pyo
${PYSITELIB}/pymysql/tests/test_DictCursor.py
${PYSITELIB}/pymysql/tests/test_DictCursor.pyc
${PYSITELIB}/pymysql/tests/test_DictCursor.pyo
${PYSITELIB}/pymysql/tests/test_cursor.py
${PYSITELIB}/pymysql/tests/test_cursor.pyc
${PYSITELIB}/pymysql/tests/test_cursor.pyo
${PYSITELIB}/pymysql/tests/test_example.py
${PYSITELIB}/pymysql/tests/test_example.pyc
${PYSITELIB}/pymysql/tests/test_example.pyo
${PYSITELIB}/pymysql/tests/test_issues.py
${PYSITELIB}/pymysql/tests/test_issues.pyc
${PYSITELIB}/pymysql/tests/test_issues.pyo
${PYSITELIB}/pymysql/tests/test_load_local.py
${PYSITELIB}/pymysql/tests/test_load_local.pyc
${PYSITELIB}/pymysql/tests/test_load_local.pyo
${PYSITELIB}/pymysql/tests/test_nextset.py
${PYSITELIB}/pymysql/tests/test_nextset.pyc
${PYSITELIB}/pymysql/tests/test_nextset.pyo
${PYSITELIB}/pymysql/tests/test_SSCursor.py
${PYSITELIB}/pymysql/tests/test_SSCursor.pyc
${PYSITELIB}/pymysql/tests/test_SSCursor.pyo
${PYSITELIB}/pymysql/tests/thirdparty/__init__.py
${PYSITELIB}/pymysql/tests/thirdparty/__init__.pyc
${PYSITELIB}/pymysql/tests/thirdparty/__init__.pyo
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/__init__.py
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/__init__.pyc
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/__init__.pyo
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/capabilities.py
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/capabilities.pyc
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/capabilities.pyo
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.py
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.pyc
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.pyo
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/__init__.py
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/__init__.pyc
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/__init__.pyo
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.py
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.pyc
${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.pyo

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1 2014/06/14 14:03:33 rodent Exp $
$NetBSD: distinfo,v 1.2 2015/04/01 02:16:26 rodent Exp $
SHA1 (PyMySQL-0.6.2.tar.gz) = daaadc0c5a5bc565128194e5720c77ae33f25cbc
RMD160 (PyMySQL-0.6.2.tar.gz) = c056d2ad6d60081216436ff8b7f20cc7ba28bb57
Size (PyMySQL-0.6.2.tar.gz) = 53600 bytes
SHA1 (PyMySQL-0.6.6.tar.gz) = 63098543f056951f6ba54cb4e560ce4efa755fc3
RMD160 (PyMySQL-0.6.6.tar.gz) = 0b13b2567e361eba03f81b3469414a37a5a73e7e
Size (PyMySQL-0.6.6.tar.gz) = 56862 bytes