From 01dc81983ee7cf91cafded644fb3730a0bfe501c2e1dc6895140efd63477263b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 6 May 2025 11:35:31 +0000 Subject: [PATCH] Accepting request 1274899 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1274899 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blessed?expand=0&rev=28 --- python-blessed.changes | 5 +++++ python-blessed.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-blessed.changes b/python-blessed.changes index 09f2c36..13e6065 100644 --- a/python-blessed.changes +++ b/python-blessed.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 6 11:33:01 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue May 6 10:17:52 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-blessed.spec b/python-blessed.spec index d344880..78b50cf 100644 --- a/python-blessed.spec +++ b/python-blessed.spec @@ -25,15 +25,15 @@ License: MIT URL: https://github.com/jquast/blessed Source: https://files.pythonhosted.org/packages/source/b/blessed/blessed-%{version}.tar.gz BuildRequires: %{python_module curses} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six >= 1.9.0} BuildRequires: %{python_module wcwidth >= 0.1.4} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-curses -Requires: python-six >= 1.9.0 Requires: python-wcwidth >= 0.1.4 BuildArch: noarch %python_subpackages @@ -81,10 +81,10 @@ sed -i -e 's:cons25 ::' tests/accessories.py rm tox.ini %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check