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:   wiz
Date:           Sat Jun 17 16:19:19 UTC 2023

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

Log Message:
py-mysqlclient: update to 2.1.1.

======================
 What's new in 2.1.1
======================

Release: 2022-06-22

* Fix qualname of exception classes. (#522)
* Fix range check in ``MySQLdb._mysql.result.fetch_row()``. Invalid ``how`` argument caused SEGV. (#538)
* Fix docstring of ``_mysql.connect``. (#540)
* Windows: Binary wheels are updated. (#541)
   * Use MariaDB Connector/C 3.3.1.
   * Use cibuildwheel to build wheels.
   * Python 3.8-3.11

======================
 What's new in 2.1.0
======================

Release: 2021-11-17

* Add ``multistatement=True`` option. You can disable multi statement. (#500).
* Remove unnecessary bytes encoder which is remained for Django 1.11
  compatibility (#490).
* Deprecate ``passwd`` and ``db`` keyword. Use ``password`` and ``database``
  instead. (#488).
* Windows: Binary wheels are built with MariaDB Connector/C 3.2.4. (#508)
* ``set_character_set()`` sends ``SET NAMES`` query always. This means
  all new connections send it too. This solves compatibility issues
  when server and client library are different version. (#509)
* Remove ``escape()`` and ``escape_string()`` from ``MySQLdb`` package.
  (#511)
* Add Python 3.10 support and drop Python 3.5 support.

======================
 What's new in 2.0.3
======================

Release: 2021-01-01

* Add ``-std=c99`` option to cflags by default for ancient compilers that doesn't
  accept C99 by default.
* You can customize cflags and ldflags by setting ``MYSQLCLIENT_CFLAGS`` and
  ``MYSQLCLIENT_LDFLAGS``. It overrides ``mysql_config``.

======================
 What's new in 2.0.2
======================

Release: 2020-12-10

* Windows: Update MariaDB Connector/C to 3.1.11.
* Optimize fetching many rows with DictCursor.

======================
 What's new in 2.0.1
======================

Release: 2020-07-03

* Fixed multithread safety issue in fetching row.
* Removed obsolete members from Cursor. (e.g. `messages`, `_warnings`, `_last_executed`)

======================
 What's new in 2.0.0
======================

Release: 2020-07-02

* Dropped Python 2 support
* Dropped Django 1.11 support
* Add context manager interface to Connection which closes the connection on ``__exit__``.
* Add ``ssl_mode`` option.


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

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.8 pkgsrc/databases/py-mysqlclient/Makefile:1.9
--- pkgsrc/databases/py-mysqlclient/Makefile:1.8        Tue Jan  4 20:52:43 2022
+++ pkgsrc/databases/py-mysqlclient/Makefile    Sat Jun 17 16:19:19 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2022/01/04 20:52:43 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2023/06/17 16:19:19 wiz Exp $
 
-DISTNAME=      mysqlclient-1.4.6
+DISTNAME=      mysqlclient-2.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mysqlclient/}
 
@@ -11,13 +10,15 @@ HOMEPAGE=   https://github.com/PyMySQL/mys
 COMMENT=       MySQL database connector for Python
 LICENSE=       gnu-gpl-v2
 
-PYTHON_VERSIONED_DEPENDENCIES= test:test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 # testing requires a running MySQL server
+DISTUTILS_BUILDDIR_IN_TEST_ENV=        yes
 do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/mysql.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/databases/py-mysqlclient/PLIST
diff -u pkgsrc/databases/py-mysqlclient/PLIST:1.2 pkgsrc/databases/py-mysqlclient/PLIST:1.3
--- pkgsrc/databases/py-mysqlclient/PLIST:1.2   Thu Nov 14 17:26:16 2019
+++ pkgsrc/databases/py-mysqlclient/PLIST       Sat Jun 17 16:19:19 2023
@@ -1,8 +1,4 @@
-@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
+@comment $NetBSD: PLIST,v 1.3 2023/06/17 16:19:19 wiz Exp $
 ${PYSITELIB}/MySQLdb/__init__.py
 ${PYSITELIB}/MySQLdb/__init__.pyc
 ${PYSITELIB}/MySQLdb/__init__.pyo
@@ -10,9 +6,6 @@ ${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
 ${PYSITELIB}/MySQLdb/connections.py
 ${PYSITELIB}/MySQLdb/connections.pyc
 ${PYSITELIB}/MySQLdb/connections.pyo
@@ -46,3 +39,7 @@ ${PYSITELIB}/MySQLdb/release.pyo
 ${PYSITELIB}/MySQLdb/times.py
 ${PYSITELIB}/MySQLdb/times.pyc
 ${PYSITELIB}/MySQLdb/times.pyo
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt

Index: pkgsrc/databases/py-mysqlclient/distinfo
diff -u pkgsrc/databases/py-mysqlclient/distinfo:1.6 pkgsrc/databases/py-mysqlclient/distinfo:1.7
--- pkgsrc/databases/py-mysqlclient/distinfo:1.6        Tue Oct 26 10:09:51 2021
+++ pkgsrc/databases/py-mysqlclient/distinfo    Sat Jun 17 16:19:19 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:09:51 nia Exp $
+$NetBSD: distinfo,v 1.7 2023/06/17 16:19:19 wiz Exp $
 
-BLAKE2s (mysqlclient-1.4.6.tar.gz) = 4d7cedbf9afd89d988b9fbabbaaea92751e693da4ffa9516e282dd128be90731
-SHA512 (mysqlclient-1.4.6.tar.gz) = 11ecb8a0a6f78edb193cd07472579aec1626994a80a584ff74de18774e7db8896de595f3e4d280b78e8636f53323ebcce8aa294ec7b2a54a839742d9699650ab
-Size (mysqlclient-1.4.6.tar.gz) = 85517 bytes
+BLAKE2s (mysqlclient-2.1.1.tar.gz) = b151d4ce597d262afe1deec4e8aae3d59f8bd3ce711b990f620c06d3bfe6a9ab
+SHA512 (mysqlclient-2.1.1.tar.gz) = d8aed044b651aabb8d28d2df085f84e4d824ef0f147216d111425a9c8024f55634236ec131debf46660084c5a8fd67c944db60ffbf89e1d712cdca80c0726a06
+Size (mysqlclient-2.1.1.tar.gz) = 88138 bytes



Home | Main Index | Thread Index | Old Index