[packages/python3-PyMySQL] Up to 1.1.2
arekm
arekm at pld-linux.org
Mon Sep 22 16:23:22 CEST 2025
commit 6c161890736d17eb0b48cc27460c3016b9e82756
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Sep 22 16:18:17 2025 +0200
Up to 1.1.2
python3-PyMySQL.spec | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/python3-PyMySQL.spec b/python3-PyMySQL.spec
index bbc1371..f67e98b 100644
--- a/python3-PyMySQL.spec
+++ b/python3-PyMySQL.spec
@@ -1,16 +1,17 @@
Summary: Pure Python 3 MySQL Client
Name: python3-PyMySQL
-Version: 0.6.2
-Release: 4
+Version: 1.1.2
+Release: 1
License: MIT
Group: Libraries/Python
-Source0: https://github.com/PyMySQL/PyMySQL/archive/pymysql-%{version}.tar.gz
-# Source0-md5: d16b0b4b1fe5a5c397525da4bc8a3e46
-URL: http://www.pymysql.org/
-BuildRequires: rpmbuild(macros) >= 1.710
-BuildRequires: python3-distribute
+Source0: https://github.com/PyMySQL/PyMySQL/archive/refs/tags/v%{version}.tar.gz
+# Source0-md5: 4d08f0939106f2eb1d01ae5878e5e7f6
+URL: https://github.com/PyMySQL/PyMySQL/
+BuildRequires: python3-build
+BuildRequires: python3-installer
BuildRequires: python3-modules
BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.710
Requires: python3-modules
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -22,20 +23,21 @@ The goal of pymysql is to be a drop-in replacement for MySQLdb and
work on CPython 2.3+, Jython, IronPython, PyPy and Python 3.
%prep
-%setup -q -n PyMySQL-pymysql-%{version}
+%setup -q -n PyMySQL-%{version}
%build
-%py3_build
+%py3_build_pyproject
%install
rm -rf $RPM_BUILD_ROOT
-%py3_install
+%py3_install_pyproject
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%{py3_sitescriptdir}/PyMySQL-%{version}-py*.egg-info
+%doc CHANGELOG.md README.md SECURITY.md
+%{py3_sitescriptdir}/pymysql-%{version}.dist-info
%{py3_sitescriptdir}/pymysql
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-PyMySQL.git/commitdiff/6c161890736d17eb0b48cc27460c3016b9e82756
More information about the pld-cvs-commit
mailing list