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:           Fri Feb  9 10:24:18 UTC 2024

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

Log Message:
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 prefix


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/databases/py-mysqlclient/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/py-mysqlclient/PLIST
cvs rdiff -u -r1.7 -r1.8 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.9 pkgsrc/databases/py-mysqlclient/Makefile:1.10
--- pkgsrc/databases/py-mysqlclient/Makefile:1.9        Sat Jun 17 16:19:19 2023
+++ pkgsrc/databases/py-mysqlclient/Makefile    Fri Feb  9 10:24:18 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2023/06/17 16:19:19 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2024/02/09 10:24:18 adam Exp $
 
-DISTNAME=      mysqlclient-2.1.1
+DISTNAME=      mysqlclient-2.2.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mysqlclient/}
@@ -10,15 +10,15 @@ HOMEPAGE=   https://github.com/PyMySQL/mys
 COMMENT=       MySQL database connector for Python
 LICENSE=       gnu-gpl-v2
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
+USE_TOOLS+=    pkg-config
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-# testing requires a running MySQL server
-DISTUTILS_BUILDDIR_IN_TEST_ENV=        yes
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+# Testing requires a running MySQL server with user access.
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.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.3 pkgsrc/databases/py-mysqlclient/PLIST:1.4
--- pkgsrc/databases/py-mysqlclient/PLIST:1.3   Sat Jun 17 16:19:19 2023
+++ pkgsrc/databases/py-mysqlclient/PLIST       Fri Feb  9 10:24:18 2024
@@ -1,10 +1,16 @@
-@comment $NetBSD: PLIST,v 1.3 2023/06/17 16:19:19 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2024/02/09 10:24:18 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_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.c
 ${PYSITELIB}/MySQLdb/_mysql.so
 ${PYSITELIB}/MySQLdb/connections.py
 ${PYSITELIB}/MySQLdb/connections.pyc
@@ -39,7 +45,3 @@ ${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.7 pkgsrc/databases/py-mysqlclient/distinfo:1.8
--- pkgsrc/databases/py-mysqlclient/distinfo:1.7        Sat Jun 17 16:19:19 2023
+++ pkgsrc/databases/py-mysqlclient/distinfo    Fri Feb  9 10:24:18 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2023/06/17 16:19:19 wiz Exp $
+$NetBSD: distinfo,v 1.8 2024/02/09 10:24:18 adam Exp $
 
-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
+BLAKE2s (mysqlclient-2.2.4.tar.gz) = ad4327fc67719a34cd6b83f2f56380f15bc800a56d3bf9c94424d519abeaafcc
+SHA512 (mysqlclient-2.2.4.tar.gz) = d1f7ba693368309a14a0982c2f1e0731617b482044afab765c8d81ea26dc6950a110c6cab48792ea1397add7b7151c756d5d22827fcce836404456f8956538a6
+Size (mysqlclient-2.2.4.tar.gz) = 90400 bytes



Home | Main Index | Thread Index | Old Index