pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-pymysql py-pymysql: updated to 0.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/683dc45ee45e
branches:  trunk
changeset: 374508:683dc45ee45e
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 24 14:19:34 2018 +0000

description:
py-pymysql: updated to 0.8.0

0.8:
* **BACKWARD INCOMPATIBLE** binary_prefix option is added and off
  by default because of compatibility with mysqlclient.
  When you need PyMySQL 0.7 behavior, you have to pass binary_prefix=True.
* **BACKWARD INCOMPATIBLE** MULTI_STATEMENTS client flag is no longer
  set by default, while it was on PyMySQL 0.7.  You need to pass
  client_flag=CLIENT.MULTI_STATEMENTS when you connect to explicitly
  enable multi-statement mode.
* Fixed AuthSwitch packet handling.
* Raise OperationalError for MariaDB's constraint error.
* executemany() accepts query without space between VALUES and (.
* Support config file containing option without value.
* Fixed Connection.ping() returned unintended value.

diffstat:

 databases/py-pymysql/Makefile |  10 ++--------
 databases/py-pymysql/PLIST    |   3 ++-
 databases/py-pymysql/distinfo |  10 +++++-----
 3 files changed, 9 insertions(+), 14 deletions(-)

diffs (52 lines):

diff -r 6accf4cef9f8 -r 683dc45ee45e databases/py-pymysql/Makefile
--- a/databases/py-pymysql/Makefile     Wed Jan 24 13:56:08 2018 +0000
+++ b/databases/py-pymysql/Makefile     Wed Jan 24 14:19:34 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2017/09/17 13:31:04 adam Exp $
+# $NetBSD: Makefile,v 1.8 2018/01/24 14:19:34 adam Exp $
 
-DISTNAME=      PyMySQL-0.7.11
+DISTNAME=      PyMySQL-0.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/PyMySQL/}
@@ -12,11 +12,5 @@
 
 USE_LANGUAGES= # none
 
-REPLACE_PYTHON+=       pymysql/tests/thirdparty/test_MySQLdb/capabilities.py
-REPLACE_PYTHON+=       pymysql/tests/thirdparty/test_MySQLdb/dbapi20.py
-REPLACE_PYTHON+=       pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.py
-REPLACE_PYTHON+=       pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.py
-
-.include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6accf4cef9f8 -r 683dc45ee45e databases/py-pymysql/PLIST
--- a/databases/py-pymysql/PLIST        Wed Jan 24 13:56:08 2018 +0000
+++ b/databases/py-pymysql/PLIST        Wed Jan 24 14:19:34 2018 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2017/09/17 13:31:04 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/01/24 14:19:34 adam 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/__init__.py
 ${PYSITELIB}/pymysql/__init__.pyc
diff -r 6accf4cef9f8 -r 683dc45ee45e databases/py-pymysql/distinfo
--- a/databases/py-pymysql/distinfo     Wed Jan 24 13:56:08 2018 +0000
+++ b/databases/py-pymysql/distinfo     Wed Jan 24 14:19:34 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2017/09/17 13:31:04 adam Exp $
+$NetBSD: distinfo,v 1.5 2018/01/24 14:19:34 adam Exp $
 
-SHA1 (PyMySQL-0.7.11.tar.gz) = ce348c8eeb18c40d9b4a4f729b6609ff738500df
-RMD160 (PyMySQL-0.7.11.tar.gz) = ca4b46e0e6c1db30c64f689188f6f801e5313a82
-SHA512 (PyMySQL-0.7.11.tar.gz) = 23a9bf79a8c19c769399354986c4eec90fa1d1a4dd09be6055c6da28b1c45e96900957f697b7335afbe5651d8127f6c85082b0bd817f49a94d3321f8a34c88aa
-Size (PyMySQL-0.7.11.tar.gz) = 71095 bytes
+SHA1 (PyMySQL-0.8.0.tar.gz) = 0935f91b1c3a6c366410aa5a1a44f92c5b3144b3
+RMD160 (PyMySQL-0.8.0.tar.gz) = 6bb48cc4b0028666b94bfedb36f3841bb9f34a10
+SHA512 (PyMySQL-0.8.0.tar.gz) = 7a0cc8ba0da78db2094be7b567ad5ae758d6a19dcd8b091044b4b8a17ba3c56bed40cc827ce89f10c50a246d61808e317a3267293c5c2443ebbc561d61465dee
+Size (PyMySQL-0.8.0.tar.gz) = 73094 bytes



Home | Main Index | Thread Index | Old Index