pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-mysqlclient



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Nov 14 17:26:17 UTC 2019

Modified Files:
        pkgsrc/databases/py-mysqlclient: Makefile PLIST distinfo

Log Message:
py-mysqlclient: updated to 1.4.5

What's new in 1.4.5
* The ``auth_plugin`` option is added.

What's new in 1.4.4
* ``charset`` option is passed to ``mysql_options(mysql, MYSQL_SET_CHARSET_NAME, charset)``
  before ``mysql_real_connect`` is called.
  This avoid extra ``SET NAMES <charset>`` query when creating connection.

What's new in 1.4.3
* ``--static`` build supports ``libmariadbclient.a``
* Try ``mariadb_config`` when ``mysql_config`` is not found
* Fixed warning happend in Python 3.8
* Fixed ``from MySQLdb import *``, while I don't recommend it.
* Fixed SEGV ``MySQLdb.escape_string("1")`` when libmariadb is used and
  no connection is created.
* Fixed many circular references are created in ``Cursor.executemany()``.

What's new in 1.4.2
* Fix Django 1.11 compatibility.
  mysqlclient 1.5 will not support Django 1.11.  It is not because
  mysqlclient will break backward compatibility, but Django used
  unsupported APIs and Django 1.11 don't fix bugs including
  compatibility issues.

What's new in 1.4.1
* Fix dict parameter support

What's new in 1.4.0
* Dropped Python 3.4 support.
* Removed ``threadsafe`` and ``embedded`` build options.
* Remove some deprecated cursor classes and methods.
* ``_mysql`` and ``_mysql_exceptions`` modules are moved under
  ``MySQLdb`` package.
* Remove ``errorhandler`` from Connection and Cursor classes.
* Remove context manager API from Connection.  It was for transaction.
  New context manager API for closing connection will be added in future version.
* Remove ``waiter`` option from Connection.
* Remove ``escape_sequence``, and ``escape_dict`` methods from Connection class.
* Remove automatic MySQL warning checking.
* Drop support for MySQL Connector/C with MySQL<5.1.12.
* Remove ``_mysql.NULL`` constant.
* Remove ``_mysql.thread_safe()`` function.
* Support non-ASCII field name with non-UTF-8 connection encoding.
* Optimize decoding speed of string and integer types.
* Remove ``MySQLdb.constants.REFRESH`` module.
* Remove support for old datetime format for MySQL < 4.1.
* Fix wrong errno is raised when ``mysql_real_connect`` is failed.

What's new in 1.3.14
* Support static linking of MariaDB Connector/C
* Better converter for Decimal and Float
* Add ``Connection._get_native_connection`` for XTA project
* Fix SEGV on MariaDB Connector/C when some methods of ``Connection``
  objects are called after ``Connection.close()`` is called.
* Fix ``Connection.client_flag``
* Fix SSCursor may raise same exception twice
  * This removed ``Cursor._last_executed`` which was duplicate of ``Cursor._executed``.
    Both members are private.  So this type of changes are not documented in changelog
    generally.  But Django used the private member for ``last_executed_query`` implementation.
    If you use the method the method directly or indirectly, this version will break
    your application.  See https://code.djangoproject.com/ticket/30013
* ``waiter`` option is now deprecated.
* Fixed SSL support is not detected when built with MySQL < 5.1


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/py-mysqlclient/Makefile \
    pkgsrc/databases/py-mysqlclient/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/py-mysqlclient/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/py-mysqlclient/Makefile
diff -u pkgsrc/databases/py-mysqlclient/Makefile:1.2 pkgsrc/databases/py-mysqlclient/Makefile:1.3
--- pkgsrc/databases/py-mysqlclient/Makefile:1.2        Thu Jul  5 18:40:55 2018
+++ pkgsrc/databases/py-mysqlclient/Makefile    Thu Nov 14 17:26:16 2019
@@ -1,18 +1,20 @@
-# $NetBSD: Makefile,v 1.2 2018/07/05 18:40:55 wiedi Exp $
+# $NetBSD: Makefile,v 1.3 2019/11/14 17:26:16 adam Exp $
 
-DISTNAME=      mysqlclient-python-1.3.13
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//}
-CATEGORIES=    databases
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=PyMySQL/}
-GITHUB_PROJECT=        mysqlclient-python
-GITHUB_TAG=    ${PKGVERSION_NOREV}
+DISTNAME=      mysqlclient-1.4.5
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    databases python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mysqlclient/}
 
 MAINTAINER=    wiedi%frubar.net@localhost
-HOMEPAGE=      https://github.com/PyMySQL/mysqlclient-python/
+HOMEPAGE=      https://github.com/PyMySQL/mysqlclient-python
 COMMENT=       MySQL database connector for Python
 LICENSE=       gnu-gpl-v2
 
-EGG_NAME=      mysqlclient-${PKGVERSION_NOREV}
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+# testing requires a running MySQL server
+do-test:
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/mysql.buildlink3.mk"
Index: pkgsrc/databases/py-mysqlclient/distinfo
diff -u pkgsrc/databases/py-mysqlclient/distinfo:1.2 pkgsrc/databases/py-mysqlclient/distinfo:1.3
--- pkgsrc/databases/py-mysqlclient/distinfo:1.2        Thu Jul  5 18:40:55 2018
+++ pkgsrc/databases/py-mysqlclient/distinfo    Thu Nov 14 17:26:16 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2018/07/05 18:40:55 wiedi Exp $
+$NetBSD: distinfo,v 1.3 2019/11/14 17:26:16 adam Exp $
 
-SHA1 (mysqlclient-python-1.3.13.tar.gz) = bb1e6a52f31bf7a2082eaa9afd02595d21caa9e9
-RMD160 (mysqlclient-python-1.3.13.tar.gz) = 962bfb40b9670367e8faa693fa1dea5be6467a84
-SHA512 (mysqlclient-python-1.3.13.tar.gz) = d656c2c9d6eaf02331a994f154ab0d2e1624e563b7f8e1b6f39b4f7d7ad6416662b8caeeab775d435bba22a5aba2d4c72a56429b403bdcfbc21d7ea8c72cddcc
-Size (mysqlclient-python-1.3.13.tar.gz) = 92948 bytes
+SHA1 (mysqlclient-1.4.5.tar.gz) = b913f8f71eb1e9947edb4f09f68ffca383866a42
+RMD160 (mysqlclient-1.4.5.tar.gz) = d63361ee27870159134bf72778b18363244fbe91
+SHA512 (mysqlclient-1.4.5.tar.gz) = d6ea6c04618fd274544dccdefc8a7d8f94989a368404d0db1514710d03de5df5c8b864509d8a28feb1cd1d68d9b23967ae9a34f31dd5221b569e64d28a6be022
+Size (mysqlclient-1.4.5.tar.gz) = 86278 bytes

Index: pkgsrc/databases/py-mysqlclient/PLIST
diff -u pkgsrc/databases/py-mysqlclient/PLIST:1.1 pkgsrc/databases/py-mysqlclient/PLIST:1.2
--- pkgsrc/databases/py-mysqlclient/PLIST:1.1   Thu Feb  1 22:20:08 2018
+++ pkgsrc/databases/py-mysqlclient/PLIST       Thu Nov 14 17:26:16 2019
@@ -1,7 +1,15 @@
-@comment $NetBSD: PLIST,v 1.1 2018/02/01 22:20:08 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/11/14 17:26:16 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/MySQLdb/__init__.py
 ${PYSITELIB}/MySQLdb/__init__.pyc
 ${PYSITELIB}/MySQLdb/__init__.pyo
+${PYSITELIB}/MySQLdb/_exceptions.py
+${PYSITELIB}/MySQLdb/_exceptions.pyc
+${PYSITELIB}/MySQLdb/_exceptions.pyo
+${PYSITELIB}/MySQLdb/_mysql.so
 ${PYSITELIB}/MySQLdb/compat.py
 ${PYSITELIB}/MySQLdb/compat.pyc
 ${PYSITELIB}/MySQLdb/compat.pyo
@@ -23,9 +31,6 @@ ${PYSITELIB}/MySQLdb/constants/FIELD_TYP
 ${PYSITELIB}/MySQLdb/constants/FLAG.py
 ${PYSITELIB}/MySQLdb/constants/FLAG.pyc
 ${PYSITELIB}/MySQLdb/constants/FLAG.pyo
-${PYSITELIB}/MySQLdb/constants/REFRESH.py
-${PYSITELIB}/MySQLdb/constants/REFRESH.pyc
-${PYSITELIB}/MySQLdb/constants/REFRESH.pyo
 ${PYSITELIB}/MySQLdb/constants/__init__.py
 ${PYSITELIB}/MySQLdb/constants/__init__.pyc
 ${PYSITELIB}/MySQLdb/constants/__init__.pyo
@@ -41,11 +46,3 @@ ${PYSITELIB}/MySQLdb/release.pyo
 ${PYSITELIB}/MySQLdb/times.py
 ${PYSITELIB}/MySQLdb/times.pyc
 ${PYSITELIB}/MySQLdb/times.pyo
-${PYSITELIB}/_mysql.so
-${PYSITELIB}/_mysql_exceptions.py
-${PYSITELIB}/_mysql_exceptions.pyc
-${PYSITELIB}/_mysql_exceptions.pyo
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt



Home | Main Index | Thread Index | Old Index