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.diff -r1.8 -r1.9 pkgsrc/databases/py-mysqlclient/Makefile
(wiz)
@@ -1,23 +1,24 @@ | @@ -1,23 +1,24 @@ | |||
1 | # $NetBSD: Makefile,v 1.8 2022/01/04 20:52:43 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.9 2023/06/17 16:19:19 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= mysqlclient-1.4.6 | 3 | DISTNAME= mysqlclient-2.1.1 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= databases python | 5 | CATEGORIES= databases python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/mysqlclient/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/mysqlclient/} | |
8 | 7 | |||
9 | MAINTAINER= wiedi@frubar.net | 8 | MAINTAINER= wiedi@frubar.net | |
10 | HOMEPAGE= https://github.com/PyMySQL/mysqlclient-python | 9 | HOMEPAGE= https://github.com/PyMySQL/mysqlclient-python | |
11 | COMMENT= MySQL database connector for Python | 10 | COMMENT= MySQL database connector for Python | |
12 | LICENSE= gnu-gpl-v2 | 11 | LICENSE= gnu-gpl-v2 | |
13 | 12 | |||
14 | PYTHON_VERSIONED_DEPENDENCIES= test:test | 13 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | |
14 | ||||
15 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |||
15 | 16 | |||
16 | # testing requires a running MySQL server | 17 | # testing requires a running MySQL server | |
18 | DISTUTILS_BUILDDIR_IN_TEST_ENV= yes | |||
17 | do-test: | 19 | do-test: | |
18 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests | 20 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests | |
19 | 21 | |||
20 | .include "../../lang/python/egg.mk" | 22 | .include "../../lang/python/egg.mk" | |
21 | .include "../../lang/python/versioned_dependencies.mk" | |||
22 | .include "../../mk/mysql.buildlink3.mk" | 23 | .include "../../mk/mysql.buildlink3.mk" | |
23 | .include "../../mk/bsd.pkg.mk" | 24 | .include "../../mk/bsd.pkg.mk" |
@@ -1,28 +1,21 @@ | @@ -1,28 +1,21 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2019/11/14 17:26:16 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2023/06/17 16:19:19 wiz Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |||
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |||
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |||
5 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |||
6 | ${PYSITELIB}/MySQLdb/__init__.py | 2 | ${PYSITELIB}/MySQLdb/__init__.py | |
7 | ${PYSITELIB}/MySQLdb/__init__.pyc | 3 | ${PYSITELIB}/MySQLdb/__init__.pyc | |
8 | ${PYSITELIB}/MySQLdb/__init__.pyo | 4 | ${PYSITELIB}/MySQLdb/__init__.pyo | |
9 | ${PYSITELIB}/MySQLdb/_exceptions.py | 5 | ${PYSITELIB}/MySQLdb/_exceptions.py | |
10 | ${PYSITELIB}/MySQLdb/_exceptions.pyc | 6 | ${PYSITELIB}/MySQLdb/_exceptions.pyc | |
11 | ${PYSITELIB}/MySQLdb/_exceptions.pyo | 7 | ${PYSITELIB}/MySQLdb/_exceptions.pyo | |
12 | ${PYSITELIB}/MySQLdb/_mysql.so | 8 | ${PYSITELIB}/MySQLdb/_mysql.so | |
13 | ${PYSITELIB}/MySQLdb/compat.py | |||
14 | ${PYSITELIB}/MySQLdb/compat.pyc | |||
15 | ${PYSITELIB}/MySQLdb/compat.pyo | |||
16 | ${PYSITELIB}/MySQLdb/connections.py | 9 | ${PYSITELIB}/MySQLdb/connections.py | |
17 | ${PYSITELIB}/MySQLdb/connections.pyc | 10 | ${PYSITELIB}/MySQLdb/connections.pyc | |
18 | ${PYSITELIB}/MySQLdb/connections.pyo | 11 | ${PYSITELIB}/MySQLdb/connections.pyo | |
19 | ${PYSITELIB}/MySQLdb/constants/CLIENT.py | 12 | ${PYSITELIB}/MySQLdb/constants/CLIENT.py | |
20 | ${PYSITELIB}/MySQLdb/constants/CLIENT.pyc | 13 | ${PYSITELIB}/MySQLdb/constants/CLIENT.pyc | |
21 | ${PYSITELIB}/MySQLdb/constants/CLIENT.pyo | 14 | ${PYSITELIB}/MySQLdb/constants/CLIENT.pyo | |
22 | ${PYSITELIB}/MySQLdb/constants/CR.py | 15 | ${PYSITELIB}/MySQLdb/constants/CR.py | |
23 | ${PYSITELIB}/MySQLdb/constants/CR.pyc | 16 | ${PYSITELIB}/MySQLdb/constants/CR.pyc | |
24 | ${PYSITELIB}/MySQLdb/constants/CR.pyo | 17 | ${PYSITELIB}/MySQLdb/constants/CR.pyo | |
25 | ${PYSITELIB}/MySQLdb/constants/ER.py | 18 | ${PYSITELIB}/MySQLdb/constants/ER.py | |
26 | ${PYSITELIB}/MySQLdb/constants/ER.pyc | 19 | ${PYSITELIB}/MySQLdb/constants/ER.pyc | |
27 | ${PYSITELIB}/MySQLdb/constants/ER.pyo | 20 | ${PYSITELIB}/MySQLdb/constants/ER.pyo | |
28 | ${PYSITELIB}/MySQLdb/constants/FIELD_TYPE.py | 21 | ${PYSITELIB}/MySQLdb/constants/FIELD_TYPE.py | |
@@ -36,13 +29,17 @@ ${PYSITELIB}/MySQLdb/constants/__init__. | @@ -36,13 +29,17 @@ ${PYSITELIB}/MySQLdb/constants/__init__. | |||
36 | ${PYSITELIB}/MySQLdb/constants/__init__.pyo | 29 | ${PYSITELIB}/MySQLdb/constants/__init__.pyo | |
37 | ${PYSITELIB}/MySQLdb/converters.py | 30 | ${PYSITELIB}/MySQLdb/converters.py | |
38 | ${PYSITELIB}/MySQLdb/converters.pyc | 31 | ${PYSITELIB}/MySQLdb/converters.pyc | |
39 | ${PYSITELIB}/MySQLdb/converters.pyo | 32 | ${PYSITELIB}/MySQLdb/converters.pyo | |
40 | ${PYSITELIB}/MySQLdb/cursors.py | 33 | ${PYSITELIB}/MySQLdb/cursors.py | |
41 | ${PYSITELIB}/MySQLdb/cursors.pyc | 34 | ${PYSITELIB}/MySQLdb/cursors.pyc | |
42 | ${PYSITELIB}/MySQLdb/cursors.pyo | 35 | ${PYSITELIB}/MySQLdb/cursors.pyo | |
43 | ${PYSITELIB}/MySQLdb/release.py | 36 | ${PYSITELIB}/MySQLdb/release.py | |
44 | ${PYSITELIB}/MySQLdb/release.pyc | 37 | ${PYSITELIB}/MySQLdb/release.pyc | |
45 | ${PYSITELIB}/MySQLdb/release.pyo | 38 | ${PYSITELIB}/MySQLdb/release.pyo | |
46 | ${PYSITELIB}/MySQLdb/times.py | 39 | ${PYSITELIB}/MySQLdb/times.py | |
47 | ${PYSITELIB}/MySQLdb/times.pyc | 40 | ${PYSITELIB}/MySQLdb/times.pyc | |
48 | ${PYSITELIB}/MySQLdb/times.pyo | 41 | ${PYSITELIB}/MySQLdb/times.pyo | |
42 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |||
43 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |||
44 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |||
45 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.6 2021/10/26 10:09:51 nia Exp $ | 1 | $NetBSD: distinfo,v 1.7 2023/06/17 16:19:19 wiz Exp $ | |
2 | 2 | |||
3 | BLAKE2s (mysqlclient-1.4.6.tar.gz) = 4d7cedbf9afd89d988b9fbabbaaea92751e693da4ffa9516e282dd128be90731 | 3 | BLAKE2s (mysqlclient-2.1.1.tar.gz) = b151d4ce597d262afe1deec4e8aae3d59f8bd3ce711b990f620c06d3bfe6a9ab | |
4 | SHA512 (mysqlclient-1.4.6.tar.gz) = 11ecb8a0a6f78edb193cd07472579aec1626994a80a584ff74de18774e7db8896de595f3e4d280b78e8636f53323ebcce8aa294ec7b2a54a839742d9699650ab | 4 | SHA512 (mysqlclient-2.1.1.tar.gz) = d8aed044b651aabb8d28d2df085f84e4d824ef0f147216d111425a9c8024f55634236ec131debf46660084c5a8fd67c944db60ffbf89e1d712cdca80c0726a06 | |
5 | Size (mysqlclient-1.4.6.tar.gz) = 85517 bytes | 5 | Size (mysqlclient-2.1.1.tar.gz) = 88138 bytes |