WIP
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Werkzeug?expand=0&rev=82
This commit is contained in:
parent
06c84985bf
commit
9a3ddd1b86
@ -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>
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user