Sync from SUSE:SLFO:Main python-mysqlclient revision 0ab41df6d1ec466897acd1b0b01bdc47
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Tue Feb 11 09:43:57 UTC 2025 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -34,7 +34,9 @@ License: GPL-2.0-or-later
|
|||||||
URL: https://github.com/PyMySQL/mysqlclient-python
|
URL: https://github.com/PyMySQL/mysqlclient-python
|
||||||
Source: https://files.pythonhosted.org/packages/source/m/mysqlclient/mysqlclient-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/m/mysqlclient/mysqlclient-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libmysqlclient-devel
|
BuildRequires: libmysqlclient-devel
|
||||||
@@ -83,7 +85,7 @@ dos2unix doc/*.rst README.md MANIFEST.in HISTORY.rst
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
sphinx-build -b html doc build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
|
sphinx-build -b html doc build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
|
||||||
%endif
|
%endif
|
||||||
@@ -114,7 +116,7 @@ exit $exit_code
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_docdir}/python-mysqlclient/
|
mkdir -p %{buildroot}%{_docdir}/python-mysqlclient/
|
||||||
|
Reference in New Issue
Block a user