Compare commits
11 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 75913dd530 | |||
| d9f23cafcb | |||
| 26930e9f0a | |||
| 304ac58ab7 | |||
| 0cb92906d8 | |||
| 6200e9f24e | |||
| 4b4b1c9d00 | |||
| 5e6dafaaee | |||
| b3659b1047 | |||
| e04000552b | |||
| 300aff579f |
BIN
mysqlclient-2.2.4.tar.gz
LFS
BIN
mysqlclient-2.2.4.tar.gz
LFS
Binary file not shown.
BIN
mysqlclient-2.2.7.tar.gz
LFS
Normal file
BIN
mysqlclient-2.2.7.tar.gz
LFS
Normal file
Binary file not shown.
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user