From 9a3ddd1b86427755cea286130455d60833d15446cce3b7d1739294e26606fbb0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 19 Jun 2023 11:18:28 +0000 Subject: [PATCH] WIP OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Werkzeug?expand=0&rev=82 --- python-Werkzeug.changes | 3 --- python-Werkzeug.spec | 9 ++++----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/python-Werkzeug.changes b/python-Werkzeug.changes index 72a769a..468a6df 100644 --- a/python-Werkzeug.changes +++ b/python-Werkzeug.changes @@ -148,9 +148,6 @@ Mon Jun 19 06:24:50 UTC 2023 - Antonio Larrosa 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 diff --git a/python-Werkzeug.spec b/python-Werkzeug.spec index 5ed3699..2b7d091 100644 --- a/python-Werkzeug.spec +++ b/python-Werkzeug.spec @@ -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