pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-pymysql



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jan 19 13:08:23 UTC 2024

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

Log Message:
py-pymysql: updated to 1.1.0

v1.1.0

* Fixed SSCursor raising OperationalError for query timeouts on wrong statement
* Exposed `Cursor.warning_count` to check for warnings without additional query
* Make Cursor iterator
* Support '_' in key name in my.cnf
* `Cursor.fetchall()` returns empty list instead of tuple
* Deprecate Error classes in Cursor class
* Add `Connection.set_character_set(charset, collation=None)`. This method is compatible with mysqlclient.
* Deprecate `Connection.set_charset(charset)`
* New connection always send "SET NAMES charset [COLLATE collation]" query.
  Since collation table is vary on MySQL server versions, collation in handshake is fragile.
* Support `charset="utf8mb3"` option


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/databases/py-pymysql/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/databases/py-pymysql/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/databases/py-pymysql/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-pymysql/Makefile
diff -u pkgsrc/databases/py-pymysql/Makefile:1.15 pkgsrc/databases/py-pymysql/Makefile:1.16
--- pkgsrc/databases/py-pymysql/Makefile:1.15   Thu Apr 21 11:00:00 2022
+++ pkgsrc/databases/py-pymysql/Makefile        Fri Jan 19 13:08:23 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2022/04/21 11:00:00 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2024/01/19 13:08:23 adam Exp $
 
-DISTNAME=      PyMySQL-0.10.1
+DISTNAME=      PyMySQL-1.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION=   1
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/PyMySQL/}
 
@@ -11,10 +10,15 @@ HOMEPAGE=   https://github.com/PyMySQL/PyM
 COMMENT=       Pure-Python MySQL driver
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+# rsa
 PYTHON_VERSIONED_DEPENDENCIES+=        cryptography
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/versioned_dependencies.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/databases/py-pymysql/PLIST
diff -u pkgsrc/databases/py-pymysql/PLIST:1.8 pkgsrc/databases/py-pymysql/PLIST:1.9
--- pkgsrc/databases/py-pymysql/PLIST:1.8       Sat Nov 21 22:22:35 2020
+++ pkgsrc/databases/py-pymysql/PLIST   Fri Jan 19 13:08:23 2024
@@ -1,22 +1,15 @@
-@comment $NetBSD: PLIST,v 1.8 2020/11/21 22:22:35 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/pbr.json
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.9 2024/01/19 13:08:23 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}/pymysql/__init__.py
 ${PYSITELIB}/pymysql/__init__.pyc
 ${PYSITELIB}/pymysql/__init__.pyo
 ${PYSITELIB}/pymysql/_auth.py
 ${PYSITELIB}/pymysql/_auth.pyc
 ${PYSITELIB}/pymysql/_auth.pyo
-${PYSITELIB}/pymysql/_compat.py
-${PYSITELIB}/pymysql/_compat.pyc
-${PYSITELIB}/pymysql/_compat.pyo
-${PYSITELIB}/pymysql/_socketio.py
-${PYSITELIB}/pymysql/_socketio.pyc
-${PYSITELIB}/pymysql/_socketio.pyo
 ${PYSITELIB}/pymysql/charset.py
 ${PYSITELIB}/pymysql/charset.pyc
 ${PYSITELIB}/pymysql/charset.pyo
@@ -65,6 +58,3 @@ ${PYSITELIB}/pymysql/protocol.pyo
 ${PYSITELIB}/pymysql/times.py
 ${PYSITELIB}/pymysql/times.pyc
 ${PYSITELIB}/pymysql/times.pyo
-${PYSITELIB}/pymysql/util.py
-${PYSITELIB}/pymysql/util.pyc
-${PYSITELIB}/pymysql/util.pyo

Index: pkgsrc/databases/py-pymysql/distinfo
diff -u pkgsrc/databases/py-pymysql/distinfo:1.11 pkgsrc/databases/py-pymysql/distinfo:1.12
--- pkgsrc/databases/py-pymysql/distinfo:1.11   Tue Oct 26 10:09:52 2021
+++ pkgsrc/databases/py-pymysql/distinfo        Fri Jan 19 13:08:23 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:09:52 nia Exp $
+$NetBSD: distinfo,v 1.12 2024/01/19 13:08:23 adam Exp $
 
-BLAKE2s (PyMySQL-0.10.1.tar.gz) = c06f3580f78ede35a36bde50923ffc3c03f7c496f7e4429ef88c9fac0ff09dc4
-SHA512 (PyMySQL-0.10.1.tar.gz) = 33dba505fd937ddece7b4c52a1db64084656bccc0b3e98ecee1227732fe03f4e8c3f4bcb64bcf67db54f3407f3ce8a706a08d3f992450755267b0e6c5b123b99
-Size (PyMySQL-0.10.1.tar.gz) = 77363 bytes
+BLAKE2s (PyMySQL-1.1.0.tar.gz) = 57ac742347a8e34408c5df318acb7ba0806e9904d7999b48382fa40fbb31e926
+SHA512 (PyMySQL-1.1.0.tar.gz) = 51dddc92e766183ab5d93717121d853415561dc81abc7ec8299a73610cae5bc22b6070006d6ea24405ab31bc1ea68be61466a3477c0f84d47435f78ffc60d31e
+Size (PyMySQL-1.1.0.tar.gz) = 47240 bytes



Home | Main Index | Thread Index | Old Index