py-mysqlclient: updated to 2.2.4 2.2.4 * Support ``ssl=True`` in ``connect()``. This makes better compatibility with PyMySQL and mysqlclient==2.2.1 with libmariadb. 2.2.3 * Fix ``Connection.kill()`` method that broken in 2.2.2. 2.2.2 * Support building with MySQL 8.3 * Deprecate ``db.shutdown()`` and ``db.kill()`` methods in docstring. This is because ``mysql_shutdown()`` and ``mysql_kill()`` were removed in MySQL 8.3. They will emit DeprecationWarning in the future but not for now. 2.2.1 * ``Connection.ping()`` avoid using ``MYSQL_OPT_RECONNECT`` option until ``reconnect=True`` is specified. MySQL 8.0.33 start showing warning when the option is used. * Windows: Update MariaDB Connector/C to 3.3.8. * Windows: Build wheels for Python 3.12 2.2.0 * Use ``pkg-config`` instead of ``mysql_config`` * Raise ProgrammingError on -inf * Raise IntegrityError for ER_BAD_NULL. * Windows: Use MariaDB Connector/C 3.3.4 * Use pkg-config instead of mysql_config * Add collation option * Drop Python 3.7 support * Use pyproject.toml for build * Add Cursor.mogrify * Partial support of ssl_mode option with mariadbclient * Discard remaining results without creating Python objects * Fix executemany with binary prefixdiff -r1.9 -r1.10 pkgsrc/databases/py-mysqlclient/Makefile
(adam)
@@ -1,24 +1,24 @@ | @@ -1,24 +1,24 @@ | |||
1 | # $NetBSD: Makefile,v 1.9 2023/06/17 16:19:19 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.10 2024/02/09 10:24:18 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= mysqlclient-2.1.1 | 3 | DISTNAME= mysqlclient-2.2.4 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= databases python | 5 | CATEGORIES= databases python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/mysqlclient/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/mysqlclient/} | |
7 | 7 | |||
8 | MAINTAINER= wiedi@frubar.net | 8 | MAINTAINER= wiedi@frubar.net | |
9 | HOMEPAGE= https://github.com/PyMySQL/mysqlclient-python | 9 | HOMEPAGE= https://github.com/PyMySQL/mysqlclient-python | |
10 | COMMENT= MySQL database connector for Python | 10 | COMMENT= MySQL database connector for Python | |
11 | LICENSE= gnu-gpl-v2 | 11 | LICENSE= gnu-gpl-v2 | |
12 | 12 | |||
13 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | 13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | |
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel | |||
15 | ||||
16 | USE_TOOLS+= pkg-config | |||
14 | 17 | |||
15 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 18 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
16 | 19 | |||
17 | # testing requires a running MySQL server | 20 | # Testing requires a running MySQL server with user access. | |
18 | DISTUTILS_BUILDDIR_IN_TEST_ENV= yes | |||
19 | do-test: | |||
20 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests | |||
21 | 21 | |||
22 | .include "../../lang/python/egg.mk" | 22 | .include "../../lang/python/wheel.mk" | |
23 | .include "../../mk/mysql.buildlink3.mk" | 23 | .include "../../mk/mysql.buildlink3.mk" | |
24 | .include "../../mk/bsd.pkg.mk" | 24 | .include "../../mk/bsd.pkg.mk" |
@@ -1,20 +1,26 @@ | @@ -1,20 +1,26 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2023/06/17 16:19:19 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2024/02/09 10:24:18 adam Exp $ | |
2 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE | |||
3 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | |||
4 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | |||
5 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | |||
6 | ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt | |||
2 | ${PYSITELIB}/MySQLdb/__init__.py | 7 | ${PYSITELIB}/MySQLdb/__init__.py | |
3 | ${PYSITELIB}/MySQLdb/__init__.pyc | 8 | ${PYSITELIB}/MySQLdb/__init__.pyc | |
4 | ${PYSITELIB}/MySQLdb/__init__.pyo | 9 | ${PYSITELIB}/MySQLdb/__init__.pyo | |
5 | ${PYSITELIB}/MySQLdb/_exceptions.py | 10 | ${PYSITELIB}/MySQLdb/_exceptions.py | |
6 | ${PYSITELIB}/MySQLdb/_exceptions.pyc | 11 | ${PYSITELIB}/MySQLdb/_exceptions.pyc | |
7 | ${PYSITELIB}/MySQLdb/_exceptions.pyo | 12 | ${PYSITELIB}/MySQLdb/_exceptions.pyo | |
13 | ${PYSITELIB}/MySQLdb/_mysql.c | |||
8 | ${PYSITELIB}/MySQLdb/_mysql.so | 14 | ${PYSITELIB}/MySQLdb/_mysql.so | |
9 | ${PYSITELIB}/MySQLdb/connections.py | 15 | ${PYSITELIB}/MySQLdb/connections.py | |
10 | ${PYSITELIB}/MySQLdb/connections.pyc | 16 | ${PYSITELIB}/MySQLdb/connections.pyc | |
11 | ${PYSITELIB}/MySQLdb/connections.pyo | 17 | ${PYSITELIB}/MySQLdb/connections.pyo | |
12 | ${PYSITELIB}/MySQLdb/constants/CLIENT.py | 18 | ${PYSITELIB}/MySQLdb/constants/CLIENT.py | |
13 | ${PYSITELIB}/MySQLdb/constants/CLIENT.pyc | 19 | ${PYSITELIB}/MySQLdb/constants/CLIENT.pyc | |
14 | ${PYSITELIB}/MySQLdb/constants/CLIENT.pyo | 20 | ${PYSITELIB}/MySQLdb/constants/CLIENT.pyo | |
15 | ${PYSITELIB}/MySQLdb/constants/CR.py | 21 | ${PYSITELIB}/MySQLdb/constants/CR.py | |
16 | ${PYSITELIB}/MySQLdb/constants/CR.pyc | 22 | ${PYSITELIB}/MySQLdb/constants/CR.pyc | |
17 | ${PYSITELIB}/MySQLdb/constants/CR.pyo | 23 | ${PYSITELIB}/MySQLdb/constants/CR.pyo | |
18 | ${PYSITELIB}/MySQLdb/constants/ER.py | 24 | ${PYSITELIB}/MySQLdb/constants/ER.py | |
19 | ${PYSITELIB}/MySQLdb/constants/ER.pyc | 25 | ${PYSITELIB}/MySQLdb/constants/ER.pyc | |
20 | ${PYSITELIB}/MySQLdb/constants/ER.pyo | 26 | ${PYSITELIB}/MySQLdb/constants/ER.pyo | |
@@ -29,17 +35,13 @@ ${PYSITELIB}/MySQLdb/constants/__init__. | @@ -29,17 +35,13 @@ ${PYSITELIB}/MySQLdb/constants/__init__. | |||
29 | ${PYSITELIB}/MySQLdb/constants/__init__.pyo | 35 | ${PYSITELIB}/MySQLdb/constants/__init__.pyo | |
30 | ${PYSITELIB}/MySQLdb/converters.py | 36 | ${PYSITELIB}/MySQLdb/converters.py | |
31 | ${PYSITELIB}/MySQLdb/converters.pyc | 37 | ${PYSITELIB}/MySQLdb/converters.pyc | |
32 | ${PYSITELIB}/MySQLdb/converters.pyo | 38 | ${PYSITELIB}/MySQLdb/converters.pyo | |
33 | ${PYSITELIB}/MySQLdb/cursors.py | 39 | ${PYSITELIB}/MySQLdb/cursors.py | |
34 | ${PYSITELIB}/MySQLdb/cursors.pyc | 40 | ${PYSITELIB}/MySQLdb/cursors.pyc | |
35 | ${PYSITELIB}/MySQLdb/cursors.pyo | 41 | ${PYSITELIB}/MySQLdb/cursors.pyo | |
36 | ${PYSITELIB}/MySQLdb/release.py | 42 | ${PYSITELIB}/MySQLdb/release.py | |
37 | ${PYSITELIB}/MySQLdb/release.pyc | 43 | ${PYSITELIB}/MySQLdb/release.pyc | |
38 | ${PYSITELIB}/MySQLdb/release.pyo | 44 | ${PYSITELIB}/MySQLdb/release.pyo | |
39 | ${PYSITELIB}/MySQLdb/times.py | 45 | ${PYSITELIB}/MySQLdb/times.py | |
40 | ${PYSITELIB}/MySQLdb/times.pyc | 46 | ${PYSITELIB}/MySQLdb/times.pyc | |
41 | ${PYSITELIB}/MySQLdb/times.pyo | 47 | ${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.7 2023/06/17 16:19:19 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.8 2024/02/09 10:24:18 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (mysqlclient-2.1.1.tar.gz) = b151d4ce597d262afe1deec4e8aae3d59f8bd3ce711b990f620c06d3bfe6a9ab | 3 | BLAKE2s (mysqlclient-2.2.4.tar.gz) = ad4327fc67719a34cd6b83f2f56380f15bc800a56d3bf9c94424d519abeaafcc | |
4 | SHA512 (mysqlclient-2.1.1.tar.gz) = d8aed044b651aabb8d28d2df085f84e4d824ef0f147216d111425a9c8024f55634236ec131debf46660084c5a8fd67c944db60ffbf89e1d712cdca80c0726a06 | 4 | SHA512 (mysqlclient-2.2.4.tar.gz) = d1f7ba693368309a14a0982c2f1e0731617b482044afab765c8d81ea26dc6950a110c6cab48792ea1397add7b7151c756d5d22827fcce836404456f8956538a6 | |
5 | Size (mysqlclient-2.1.1.tar.gz) = 88138 bytes | 5 | Size (mysqlclient-2.2.4.tar.gz) = 90400 bytes |