From 9e2c8ef94cb5c023d78852fe621edc7968d5c992 Mon Sep 17 00:00:00 2001
From: Juergen Daubert <jue@jue.li>
Date: Wed, 16 Aug 2023 18:32:28 +0200
Subject: [PATCH] python3-mysqlclient: update to 2.2.0

---
 python3-mysqlclient/.footprint | 11 ++++++-----
 python3-mysqlclient/.signature |  8 ++++----
 python3-mysqlclient/Pkgfile    | 10 +++++-----
 3 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/python3-mysqlclient/.footprint b/python3-mysqlclient/.footprint
index c20d099ac..2645b38c7 100644
--- a/python3-mysqlclient/.footprint
+++ b/python3-mysqlclient/.footprint
@@ -13,6 +13,7 @@ drwxr-xr-x	root/root	usr/lib/python3.10/site-packages/MySQLdb/__pycache__/
 -rw-r--r--	root/root	usr/lib/python3.10/site-packages/MySQLdb/__pycache__/release.cpython-310.pyc
 -rw-r--r--	root/root	usr/lib/python3.10/site-packages/MySQLdb/__pycache__/times.cpython-310.pyc
 -rw-r--r--	root/root	usr/lib/python3.10/site-packages/MySQLdb/_exceptions.py
+-rw-rw-rw-	root/root	usr/lib/python3.10/site-packages/MySQLdb/_mysql.c
 -rwxr-xr-x	root/root	usr/lib/python3.10/site-packages/MySQLdb/_mysql.cpython-310-x86_64-linux-gnu.so
 -rw-r--r--	root/root	usr/lib/python3.10/site-packages/MySQLdb/connections.py
 drwxr-xr-x	root/root	usr/lib/python3.10/site-packages/MySQLdb/constants/
@@ -33,8 +34,8 @@ drwxr-xr-x	root/root	usr/lib/python3.10/site-packages/MySQLdb/constants/__pycach
 -rw-r--r--	root/root	usr/lib/python3.10/site-packages/MySQLdb/cursors.py
 -rw-r--r--	root/root	usr/lib/python3.10/site-packages/MySQLdb/release.py
 -rw-r--r--	root/root	usr/lib/python3.10/site-packages/MySQLdb/times.py
-drwxr-xr-x	root/root	usr/lib/python3.10/site-packages/mysqlclient-2.1.1-py3.10.egg-info/
--rw-r--r--	root/root	usr/lib/python3.10/site-packages/mysqlclient-2.1.1-py3.10.egg-info/PKG-INFO
--rw-r--r--	root/root	usr/lib/python3.10/site-packages/mysqlclient-2.1.1-py3.10.egg-info/SOURCES.txt
--rw-r--r--	root/root	usr/lib/python3.10/site-packages/mysqlclient-2.1.1-py3.10.egg-info/dependency_links.txt
--rw-r--r--	root/root	usr/lib/python3.10/site-packages/mysqlclient-2.1.1-py3.10.egg-info/top_level.txt
+drwxr-xr-x	root/root	usr/lib/python3.10/site-packages/mysqlclient-2.2.0-py3.10.egg-info/
+-rw-rw-rw-	root/root	usr/lib/python3.10/site-packages/mysqlclient-2.2.0-py3.10.egg-info/PKG-INFO
+-rw-rw-rw-	root/root	usr/lib/python3.10/site-packages/mysqlclient-2.2.0-py3.10.egg-info/SOURCES.txt
+-rw-rw-rw-	root/root	usr/lib/python3.10/site-packages/mysqlclient-2.2.0-py3.10.egg-info/dependency_links.txt
+-rw-rw-rw-	root/root	usr/lib/python3.10/site-packages/mysqlclient-2.2.0-py3.10.egg-info/top_level.txt
diff --git a/python3-mysqlclient/.signature b/python3-mysqlclient/.signature
index 53e70a2c3..535971570 100644
--- a/python3-mysqlclient/.signature
+++ b/python3-mysqlclient/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/Rv8BUG8VBBUJEeVxiGZsaKaFDzkOH2lvgkCrwymxfDtYRMA5FHubaK9/BbtEbQ+HucyKQL20xseS8vYOUn1Twg=
-SHA256 (Pkgfile) = 2711f9369156837a5f1dc86484e6df891d99b26b70159da50ed8ef6063f46c53
-SHA256 (.footprint) = 5445bfcd5c71d67ce79dc65ee2fb7e7a0b22fe36594e4417a1f1cf1c0f12c159
-SHA256 (mysqlclient-2.1.1.tar.gz) = 828757e419fb11dd6c5ed2576ec92c3efaa93a0f7c39e263586d1ee779c3d782
+RWSE3ohX2g5d/TvCWu73heYre8yzvLpI4g1NV01bxrvJNwJlSRQzOo/iqxcyuZZYwaPNh+e3K1mV0zXWtbvMOsi3GW9Sp78Sswo=
+SHA256 (Pkgfile) = c9ef21c5eebd644e3f135452fe806fcccd614c841919fef7d7288b32e14e2856
+SHA256 (.footprint) = f637a88bd8ae9c91607839a1ed93c98f557765c40679a04890113a4af73304cb
+SHA256 (mysqlclient-2.2.0.tar.gz) = 04368445f9c487d8abb7a878e3d23e923e6072c04a6c320f9e0dc8a82efba14e
diff --git a/python3-mysqlclient/Pkgfile b/python3-mysqlclient/Pkgfile
index 7bcc3041a..390d4ee61 100644
--- a/python3-mysqlclient/Pkgfile
+++ b/python3-mysqlclient/Pkgfile
@@ -1,12 +1,12 @@
 # Description: MySQL interface for Python
 # URL: https://github.com/PyMySQL/mysqlclient-python
 # Maintainer: Juergen Daubert, jue at crux dot nu
-# Depends on: python3-setuptools mysql
+# Depends on: mariadb python3-setuptools
 
-name=python3-mysql
-version=2.1.1
-release=2
-source=(https://files.pythonhosted.org/packages/50/5f/eac919b88b9df39bbe4a855f136d58f80d191cfea34a3dcf96bf5d8ace0a/mysqlclient-$version.tar.gz)
+name=python3-mysqlclient
+version=2.2.0
+release=1
+source=(https://pypi.org/packages/source/m/mysqlclient/mysqlclient-$version.tar.gz)
 
 build() {
 	cd mysqlclient-$version