From 6d34fbe690a5f695c58adaeac6d1dcfd643fc82ad0ed40907f3b17d21afa4a86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 3 Jun 2025 12:10:47 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-priority?expand=0&rev=5 --- python-priority.changes | 5 +++++ python-priority.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-priority.changes b/python-priority.changes index 152c59d..d990ba0 100644 --- a/python-priority.changes +++ b/python-priority.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 3 12:10:34 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Apr 21 12:29:46 UTC 2023 - Dirk Müller diff --git a/python-priority.spec b/python-priority.spec index 8fc880a..32aa0e9 100644 --- a/python-priority.spec +++ b/python-priority.spec @@ -1,7 +1,7 @@ # # spec file for package python-priority # -# Copyright (c) 2023 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 @@ -16,7 +16,6 @@ # -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-priority Version: 2.0.0 @@ -27,8 +26,10 @@ URL: https://github.com/python-hyper/priority/ Source: https://files.pythonhosted.org/packages/source/p/priority/priority-%{version}.tar.gz BuildRequires: %{python_module base >= 3.6.1} BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -45,10 +46,10 @@ connection. %setup -q -n priority-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check