From 82ddf611c7c2f086af300b1f1ff17608aaed694e087596c6a0c9d76607fa6fd9 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Fri, 16 May 2025 13:36:06 +0000 Subject: [PATCH] Accepting request 1278011 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1278011 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-columnize?expand=0&rev=9 --- python-columnize.changes | 5 +++++ python-columnize.spec | 19 +++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/python-columnize.changes b/python-columnize.changes index ef5f2ea..2b4473a 100644 --- a/python-columnize.changes +++ b/python-columnize.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 16 10:02:04 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Sat Mar 12 09:14:09 UTC 2022 - Matej Cepl diff --git a/python-columnize.spec b/python-columnize.spec index e157033..97f5779 100644 --- a/python-columnize.spec +++ b/python-columnize.spec @@ -1,7 +1,7 @@ # # spec file for package python-columnize # -# Copyright (c) 2022 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 @@ -17,24 +17,23 @@ %define modname columnize -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-columnize Version: 0.3.11 Release: 0 -License: MIT Summary: Format a simple (i.e. not nested) list into aligned columns -URL: https://github.com/rocky/pycolumnize +License: MIT Group: Development/Languages/Python +URL: https://github.com/rocky/pycolumnize Source0: https://files.pythonhosted.org/packages/source/c/columnize/columnize-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildArch: noarch # SECTION For tests BuildRequires: %{python_module pytest} # /SECTION -BuildRequires: fdupes -BuildArch: noarch - %python_subpackages %description @@ -44,10 +43,10 @@ Format a simple (i.e. not nested) list into aligned columns. %autosetup -p1 -n columnize-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check