Wed Apr 1 02:16:26 2015 UTC ()
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().


(rodent)
diff -r1.2 -r1.3 pkgsrc/databases/py-pymysql/Makefile
diff -r1.1 -r1.2 pkgsrc/databases/py-pymysql/PLIST
diff -r1.1 -r1.2 pkgsrc/databases/py-pymysql/distinfo

cvs diff -r1.2 -r1.3 pkgsrc/databases/py-pymysql/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/py-pymysql/Makefile 2014/08/13 22:40:19 1.2
+++ pkgsrc/databases/py-pymysql/Makefile 2015/04/01 02:16:26 1.3
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.2 2014/08/13 22:40:19 joerg Exp $ 1# $NetBSD: Makefile,v 1.3 2015/04/01 02:16:26 rodent Exp $
2 2
3DISTNAME= PyMySQL-0.6.2 3DISTNAME= PyMySQL-0.6.6
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
5CATEGORIES= databases python 5CATEGORIES= databases python
6MASTER_SITES= https://pypi.python.org/packages/source/P/PyMySQL/ 6MASTER_SITES= https://pypi.python.org/packages/source/P/PyMySQL/
7 7
8MAINTAINER= rodent@NetBSD.org 8MAINTAINER= rodent@NetBSD.org
9HOMEPAGE= https://github.com/PyMySQL/PyMySQL/ 9HOMEPAGE= https://github.com/PyMySQL/PyMySQL/
10COMMENT= Pure-Python MySQL driver 10COMMENT= Pure-Python MySQL driver
11LICENSE= mit 11LICENSE= mit
12 12
13PYTHON_VERSIONS_INCOMPATIBLE= 26 13PYTHON_VERSIONS_INCOMPATIBLE= 26
14 14
15USE_LANGUAGES= # none 15USE_LANGUAGES= # none
16 16

cvs diff -r1.1 -r1.2 pkgsrc/databases/py-pymysql/PLIST (expand / switch to unified diff)

--- pkgsrc/databases/py-pymysql/PLIST 2014/06/14 14:03:33 1.1
+++ pkgsrc/databases/py-pymysql/PLIST 2015/04/01 02:16:26 1.2
@@ -1,102 +1,109 @@ @@ -1,102 +1,109 @@
1@comment $NetBSD: PLIST,v 1.1 2014/06/14 14:03:33 rodent Exp $ 1@comment $NetBSD: PLIST,v 1.2 2015/04/01 02:16:26 rodent Exp $
2${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 
3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 5${PYSITELIB}/${EGG_INFODIR}/pbr.json
5${PYSITELIB}/${EGG_INFODIR}/top_level.txt 6${PYSITELIB}/${EGG_INFODIR}/top_level.txt
6${PYSITELIB}/pymysql/charset.py 7${PYSITELIB}/pymysql/__init__.py
7${PYSITELIB}/pymysql/charset.pyc 8${PYSITELIB}/pymysql/__init__.pyc
8${PYSITELIB}/pymysql/charset.pyo 9${PYSITELIB}/pymysql/__init__.pyo
9${PYSITELIB}/pymysql/_compat.py 10${PYSITELIB}/pymysql/_compat.py
10${PYSITELIB}/pymysql/_compat.pyc 11${PYSITELIB}/pymysql/_compat.pyc
11${PYSITELIB}/pymysql/_compat.pyo 12${PYSITELIB}/pymysql/_compat.pyo
 13${PYSITELIB}/pymysql/_socketio.py
 14${PYSITELIB}/pymysql/_socketio.pyc
 15${PYSITELIB}/pymysql/_socketio.pyo
 16${PYSITELIB}/pymysql/charset.py
 17${PYSITELIB}/pymysql/charset.pyc
 18${PYSITELIB}/pymysql/charset.pyo
12${PYSITELIB}/pymysql/connections.py 19${PYSITELIB}/pymysql/connections.py
13${PYSITELIB}/pymysql/connections.pyc 20${PYSITELIB}/pymysql/connections.pyc
14${PYSITELIB}/pymysql/connections.pyo 21${PYSITELIB}/pymysql/connections.pyo
15${PYSITELIB}/pymysql/constants/CLIENT.py 22${PYSITELIB}/pymysql/constants/CLIENT.py
16${PYSITELIB}/pymysql/constants/CLIENT.pyc 23${PYSITELIB}/pymysql/constants/CLIENT.pyc
17${PYSITELIB}/pymysql/constants/CLIENT.pyo 24${PYSITELIB}/pymysql/constants/CLIENT.pyo
18${PYSITELIB}/pymysql/constants/COMMAND.py 25${PYSITELIB}/pymysql/constants/COMMAND.py
19${PYSITELIB}/pymysql/constants/COMMAND.pyc 26${PYSITELIB}/pymysql/constants/COMMAND.pyc
20${PYSITELIB}/pymysql/constants/COMMAND.pyo 27${PYSITELIB}/pymysql/constants/COMMAND.pyo
21${PYSITELIB}/pymysql/constants/ER.py 28${PYSITELIB}/pymysql/constants/ER.py
22${PYSITELIB}/pymysql/constants/ER.pyc 29${PYSITELIB}/pymysql/constants/ER.pyc
23${PYSITELIB}/pymysql/constants/ER.pyo 30${PYSITELIB}/pymysql/constants/ER.pyo
24${PYSITELIB}/pymysql/constants/FIELD_TYPE.py 31${PYSITELIB}/pymysql/constants/FIELD_TYPE.py
25${PYSITELIB}/pymysql/constants/FIELD_TYPE.pyc 32${PYSITELIB}/pymysql/constants/FIELD_TYPE.pyc
26${PYSITELIB}/pymysql/constants/FIELD_TYPE.pyo 33${PYSITELIB}/pymysql/constants/FIELD_TYPE.pyo
27${PYSITELIB}/pymysql/constants/FLAG.py 34${PYSITELIB}/pymysql/constants/FLAG.py
28${PYSITELIB}/pymysql/constants/FLAG.pyc 35${PYSITELIB}/pymysql/constants/FLAG.pyc
29${PYSITELIB}/pymysql/constants/FLAG.pyo 36${PYSITELIB}/pymysql/constants/FLAG.pyo
30${PYSITELIB}/pymysql/constants/__init__.py 
31${PYSITELIB}/pymysql/constants/__init__.pyc 
32${PYSITELIB}/pymysql/constants/__init__.pyo 
33${PYSITELIB}/pymysql/constants/SERVER_STATUS.py 37${PYSITELIB}/pymysql/constants/SERVER_STATUS.py
34${PYSITELIB}/pymysql/constants/SERVER_STATUS.pyc 38${PYSITELIB}/pymysql/constants/SERVER_STATUS.pyc
35${PYSITELIB}/pymysql/constants/SERVER_STATUS.pyo 39${PYSITELIB}/pymysql/constants/SERVER_STATUS.pyo
 40${PYSITELIB}/pymysql/constants/__init__.py
 41${PYSITELIB}/pymysql/constants/__init__.pyc
 42${PYSITELIB}/pymysql/constants/__init__.pyo
36${PYSITELIB}/pymysql/converters.py 43${PYSITELIB}/pymysql/converters.py
37${PYSITELIB}/pymysql/converters.pyc 44${PYSITELIB}/pymysql/converters.pyc
38${PYSITELIB}/pymysql/converters.pyo 45${PYSITELIB}/pymysql/converters.pyo
39${PYSITELIB}/pymysql/cursors.py 46${PYSITELIB}/pymysql/cursors.py
40${PYSITELIB}/pymysql/cursors.pyc 47${PYSITELIB}/pymysql/cursors.pyc
41${PYSITELIB}/pymysql/cursors.pyo 48${PYSITELIB}/pymysql/cursors.pyo
42${PYSITELIB}/pymysql/err.py 49${PYSITELIB}/pymysql/err.py
43${PYSITELIB}/pymysql/err.pyc 50${PYSITELIB}/pymysql/err.pyc
44${PYSITELIB}/pymysql/err.pyo 51${PYSITELIB}/pymysql/err.pyo
45${PYSITELIB}/pymysql/__init__.py 
46${PYSITELIB}/pymysql/__init__.pyc 
47${PYSITELIB}/pymysql/__init__.pyo 
48${PYSITELIB}/pymysql/_socketio.py 
49${PYSITELIB}/pymysql/_socketio.pyc 
50${PYSITELIB}/pymysql/_socketio.pyo 
51${PYSITELIB}/pymysql/tests/base.py 
52${PYSITELIB}/pymysql/tests/base.pyc 
53${PYSITELIB}/pymysql/tests/base.pyo 
54${PYSITELIB}/pymysql/tests/__init__.py 52${PYSITELIB}/pymysql/tests/__init__.py
55${PYSITELIB}/pymysql/tests/__init__.pyc 53${PYSITELIB}/pymysql/tests/__init__.pyc
56${PYSITELIB}/pymysql/tests/__init__.pyo 54${PYSITELIB}/pymysql/tests/__init__.pyo
 55${PYSITELIB}/pymysql/tests/base.py
 56${PYSITELIB}/pymysql/tests/base.pyc
 57${PYSITELIB}/pymysql/tests/base.pyo
 58${PYSITELIB}/pymysql/tests/test_DictCursor.py
 59${PYSITELIB}/pymysql/tests/test_DictCursor.pyc
 60${PYSITELIB}/pymysql/tests/test_DictCursor.pyo
 61${PYSITELIB}/pymysql/tests/test_SSCursor.py
 62${PYSITELIB}/pymysql/tests/test_SSCursor.pyc
 63${PYSITELIB}/pymysql/tests/test_SSCursor.pyo
57${PYSITELIB}/pymysql/tests/test_basic.py 64${PYSITELIB}/pymysql/tests/test_basic.py
58${PYSITELIB}/pymysql/tests/test_basic.pyc 65${PYSITELIB}/pymysql/tests/test_basic.pyc
59${PYSITELIB}/pymysql/tests/test_basic.pyo 66${PYSITELIB}/pymysql/tests/test_basic.pyo
60${PYSITELIB}/pymysql/tests/test_connection.py 67${PYSITELIB}/pymysql/tests/test_connection.py
61${PYSITELIB}/pymysql/tests/test_connection.pyc 68${PYSITELIB}/pymysql/tests/test_connection.pyc
62${PYSITELIB}/pymysql/tests/test_connection.pyo 69${PYSITELIB}/pymysql/tests/test_connection.pyo
63${PYSITELIB}/pymysql/tests/test_DictCursor.py 70${PYSITELIB}/pymysql/tests/test_cursor.py
64${PYSITELIB}/pymysql/tests/test_DictCursor.pyc 71${PYSITELIB}/pymysql/tests/test_cursor.pyc
65${PYSITELIB}/pymysql/tests/test_DictCursor.pyo 72${PYSITELIB}/pymysql/tests/test_cursor.pyo
66${PYSITELIB}/pymysql/tests/test_example.py 73${PYSITELIB}/pymysql/tests/test_example.py
67${PYSITELIB}/pymysql/tests/test_example.pyc 74${PYSITELIB}/pymysql/tests/test_example.pyc
68${PYSITELIB}/pymysql/tests/test_example.pyo 75${PYSITELIB}/pymysql/tests/test_example.pyo
69${PYSITELIB}/pymysql/tests/test_issues.py 76${PYSITELIB}/pymysql/tests/test_issues.py
70${PYSITELIB}/pymysql/tests/test_issues.pyc 77${PYSITELIB}/pymysql/tests/test_issues.pyc
71${PYSITELIB}/pymysql/tests/test_issues.pyo 78${PYSITELIB}/pymysql/tests/test_issues.pyo
 79${PYSITELIB}/pymysql/tests/test_load_local.py
 80${PYSITELIB}/pymysql/tests/test_load_local.pyc
 81${PYSITELIB}/pymysql/tests/test_load_local.pyo
72${PYSITELIB}/pymysql/tests/test_nextset.py 82${PYSITELIB}/pymysql/tests/test_nextset.py
73${PYSITELIB}/pymysql/tests/test_nextset.pyc 83${PYSITELIB}/pymysql/tests/test_nextset.pyc
74${PYSITELIB}/pymysql/tests/test_nextset.pyo 84${PYSITELIB}/pymysql/tests/test_nextset.pyo
75${PYSITELIB}/pymysql/tests/test_SSCursor.py 
76${PYSITELIB}/pymysql/tests/test_SSCursor.pyc 
77${PYSITELIB}/pymysql/tests/test_SSCursor.pyo 
78${PYSITELIB}/pymysql/tests/thirdparty/__init__.py 85${PYSITELIB}/pymysql/tests/thirdparty/__init__.py
79${PYSITELIB}/pymysql/tests/thirdparty/__init__.pyc 86${PYSITELIB}/pymysql/tests/thirdparty/__init__.pyc
80${PYSITELIB}/pymysql/tests/thirdparty/__init__.pyo 87${PYSITELIB}/pymysql/tests/thirdparty/__init__.pyo
 88${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/__init__.py
 89${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/__init__.pyc
 90${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/__init__.pyo
81${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/capabilities.py 91${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/capabilities.py
82${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/capabilities.pyc 92${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/capabilities.pyc
83${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/capabilities.pyo 93${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/capabilities.pyo
84${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.py 94${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.py
85${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.pyc 95${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.pyc
86${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.pyo 96${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.pyo
87${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/__init__.py 
88${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/__init__.pyc 
89${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/__init__.pyo 
90${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.py 97${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.py
91${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.pyc 98${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.pyc
92${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.pyo 99${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.pyo
93${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.py 100${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.py
94${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.pyc 101${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.pyc
95${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.pyo 102${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.pyo
96${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.py 103${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.py
97${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.pyc 104${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.pyc
98${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.pyo 105${PYSITELIB}/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.pyo
99${PYSITELIB}/pymysql/times.py 106${PYSITELIB}/pymysql/times.py
100${PYSITELIB}/pymysql/times.pyc 107${PYSITELIB}/pymysql/times.pyc
101${PYSITELIB}/pymysql/times.pyo 108${PYSITELIB}/pymysql/times.pyo
102${PYSITELIB}/pymysql/util.py 109${PYSITELIB}/pymysql/util.py

cvs diff -r1.1 -r1.2 pkgsrc/databases/py-pymysql/distinfo (expand / switch to unified diff)

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