Matej Cepl 2023-06-19 11:18:28 +00:00 committed by Git OBS Bridge
parent 06c84985bf
commit 9a3ddd1b86
2 changed files with 4 additions and 8 deletions

View File

@ -148,9 +148,6 @@ Mon Jun 19 06:24:50 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
only scrypt and pbkdf2 are supported.
- Remove patch which was already included by upstream:
* moved_root.patch
- Add source file from version 2.2.3 so we can keep using the standard
python build macros:
* setup.py
-------------------------------------------------------------------
Fri Apr 21 12:21:32 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -34,10 +34,10 @@ License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://werkzeug.palletsprojects.com
Source: https://files.pythonhosted.org/packages/source/W/Werkzeug/Werkzeug-%{version}.tar.gz
Source1: setup.py
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
%if %{with test}
BuildRequires: %{python_module Werkzeug = %{version}}
BuildRequires: %{python_module cryptography}
@ -79,14 +79,13 @@ bulletin boards, etc.).
%autosetup -p1 -n Werkzeug-%{version}
sed -i "1d" examples/manage-{i18nurls,simplewiki,shorty,couchy,cupoftee,webpylike,plnt,coolmagic}.py # Fix non-executable scripts
cp %{S:1} .
%build
%python_build
%pyproject_wheel
%install
%if ! %{with test}
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif