1
0

11 Commits

Author SHA256 Message Date
c8ae7a6277 Accepting request 1282938 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1282938
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mysqlclient?expand=0&rev=25
2025-06-10 06:57:08 +00:00
628e687dac - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=52
2025-06-05 04:43:59 +00:00
2a1e160747 Accepting request 1245100 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1245100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mysqlclient?expand=0&rev=24
2025-02-11 20:20:15 +00:00
654174f8a8 - version update to 2.2.7
* MariaDB include paths for Win by @CristiFati in #749
  * support opentelemetry-instrumentation by @methane in #753

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=50
2025-02-11 13:34:26 +00:00
a53cea7df5 Accepting request 1239229 from devel:languages:python
- sphinx_rtd_theme is now an optional dependency for Sphinx
- split HTML docs to the doc subpackage

OBS-URL: https://build.opensuse.org/request/show/1239229
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mysqlclient?expand=0&rev=23
2025-01-23 16:57:13 +00:00
b75ee12e96 reduced the amount of rpmlint warnings
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=48
2025-01-21 10:12:05 +00:00
20865b50cb - sphinx_rtd_theme is now an optional dependency for Sphinx
- split HTML docs to the doc subpackage

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=47
2025-01-21 00:41:36 +00:00
8ee06f4966 Accepting request 1225331 from devel:languages:python
- update to 2.2.6:
  * MariaDB Connector/C 3.4 and MairaDB 11.4 enabled SSL and CA
    verification by default.

OBS-URL: https://build.opensuse.org/request/show/1225331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mysqlclient?expand=0&rev=22
2024-11-21 14:13:18 +00:00
e670ad75f2 - update to 2.2.6:
* MariaDB Connector/C 3.4 and MairaDB 11.4 enabled SSL and CA
    verification by default.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=45
2024-11-20 16:01:49 +00:00
33138d0c5b Accepting request 1219952 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mysqlclient?expand=0&rev=21
2024-11-01 20:48:57 +00:00
c56c3eb6bd - update to 2.2.5:
* (Windows wheel) Update MariaDB Connector/C to 3.4.1. #726
  * (Windows wheel) Build wheels for Python 3.13. #726

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=43
2024-10-24 19:02:44 +00:00
4 changed files with 68 additions and 11 deletions

Binary file not shown.

BIN
mysqlclient-2.2.7.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Thu Jun 5 04:38:05 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Feb 11 09:43:57 UTC 2025 - pgajdos@suse.com
- version update to 2.2.7
* MariaDB include paths for Win by @CristiFati in #749
* support opentelemetry-instrumentation by @methane in #753
-------------------------------------------------------------------
Mon Jan 20 13:20:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
- sphinx_rtd_theme is now an optional dependency for Sphinx
- split HTML docs to the doc subpackage
-------------------------------------------------------------------
Wed Nov 20 16:01:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.2.6:
* MariaDB Connector/C 3.4 and MairaDB 11.4 enabled SSL and CA
verification by default.
-------------------------------------------------------------------
Thu Oct 24 19:02:36 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.2.5:
* (Windows wheel) Update MariaDB Connector/C to 3.4.1. #726
* (Windows wheel) Build wheels for Python 3.13. #726
-------------------------------------------------------------------
Fri Feb 9 10:37:44 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mysqlclient
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,19 +27,20 @@
%bcond_with test
%endif
Name: python-mysqlclient%{psuffix}
Version: 2.2.4
Version: 2.2.7
Release: 0
Summary: Python interface to MySQL
License: GPL-2.0-or-later
URL: https://github.com/PyMySQL/mysqlclient-python
Source: https://files.pythonhosted.org/packages/source/m/mysqlclient/mysqlclient-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: libmysqlclient-devel
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
BuildRequires: python3-attrs
BuildRequires: unzip
Recommends: mariadb
Provides: python-mysql = %{version}
@@ -64,13 +65,27 @@ MySQLdb is an interface to the popular MySQL database server for Python.
This package adds Python 3 support and bug fixes to MySQLdb1.
%package -n python-mysqlclient-doc
Summary: HTML documentation for python-mysqlclient
Group: Documentation/Other
BuildRequires: python3-Sphinx
BuildRequires: python3-attrs
BuildRequires: python3-sphinx_rtd_theme
Requires: python3-mysqlclient = %{version}
BuildArch: noarch
%description -n python-mysqlclient-doc
This package contains HTML docs for python-mysqlclient.
%prep
%setup -q -n mysqlclient-%{version}
%autopatch -p1
# wrong end-of-line encoding
dos2unix doc/*.rst README.md MANIFEST.in HISTORY.rst
%build
%if !%{with test}
%python_build
%pyproject_wheel
sphinx-build -b html doc build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
%endif
@@ -101,15 +116,25 @@ exit $exit_code
%install
%if !%{with test}
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
mkdir -p %{buildroot}%{_docdir}/python-mysqlclient/
mv build/sphinx/html %{buildroot}%{_docdir}/python-mysqlclient/
%fdupes %{buildroot}%{_docdir}/python-mysqlclient
%endif
%if !%{with test}
%files %{python_files}
%license LICENSE
%doc HISTORY.rst MANIFEST.in README.md build/sphinx/html
%{python_sitearch}/*
%doc HISTORY.rst MANIFEST.in README.md
%{python_sitearch}/MySQLdb
%{python_sitearch}/mysqlclient-%{version}*-info
%files -n python-mysqlclient-doc
%license LICENSE
%dir %{_docdir}/python-mysqlclient
%{_docdir}/python-mysqlclient/html/
%endif
%changelog