From 1c1fd3b80d117789b2a1dfbaaa5b58eb0777d2f852e409252579a6f61e243497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 15 May 2025 11:03:40 +0000 Subject: [PATCH] Accepting request 1277425 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1277425 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blessings?expand=0&rev=13 --- python-blessings.changes | 5 +++++ python-blessings.spec | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-blessings.changes b/python-blessings.changes index ed24a1b..0e9855e 100644 --- a/python-blessings.changes +++ b/python-blessings.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 14 12:27:41 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Apr 21 12:22:46 UTC 2023 - Dirk Müller diff --git a/python-blessings.spec b/python-blessings.spec index 01dbfe9..f91834b 100644 --- a/python-blessings.spec +++ b/python-blessings.spec @@ -1,7 +1,7 @@ # # spec file for package python-blessings # -# 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 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-blessings Version: 1.7 @@ -27,8 +26,10 @@ Group: Development/Languages/Python URL: https://github.com/erikrose/blessings Source: https://files.pythonhosted.org/packages/source/b/blessings/blessings-%{version}.tar.gz BuildRequires: %{python_module curses} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros Requires: python-curses Requires: python-six @@ -43,10 +44,10 @@ arrays of text. %setup -q -n blessings-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %check # Can't be run because it expects real term where it can play with colours @@ -55,6 +56,7 @@ arrays of text. %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/blessings +%{python_sitelib}/blessings-%{version}*-info %changelog