From a439542e2dadfac31c890aa1f19f0b26c51b4568c1acc03ebea67e9e7f3c3924 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Fri, 16 May 2025 13:18:34 +0000 Subject: [PATCH] Accepting request 1277976 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1277976 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-help-colors?expand=0&rev=15 --- python-click-help-colors.changes | 5 +++++ python-click-help-colors.spec | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/python-click-help-colors.changes b/python-click-help-colors.changes index a4ace25..f310636 100644 --- a/python-click-help-colors.changes +++ b/python-click-help-colors.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 16 08:25:51 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Sat Nov 25 13:06:15 UTC 2023 - Dirk Müller diff --git a/python-click-help-colors.spec b/python-click-help-colors.spec index d376320..9b123f7 100644 --- a/python-click-help-colors.spec +++ b/python-click-help-colors.spec @@ -1,7 +1,7 @@ # # spec file for package python-click-help-colors # -# 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 @@ -25,7 +25,9 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/r-m-n/click-help-colors Source: https://files.pythonhosted.org/packages/source/c/click-help-colors/click-help-colors-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-click >= 7.0 @@ -43,10 +45,10 @@ Colorization of help messages in Click %setup -q -n click-help-colors-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -55,6 +57,7 @@ Colorization of help messages in Click %files %{python_files} %doc README.rst %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/click[-_]help[-_]colors +%{python_sitelib}/click[-_]help[-_]colors-%{version}*-info %changelog