17
0

Compare commits

2 Commits

2 changed files with 14 additions and 10 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 16 10:02:04 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 12 09:14:09 UTC 2022 - Matej Cepl <mcepl@suse.com> Sat Mar 12 09:14:09 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-columnize # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,24 +17,23 @@
%define modname columnize %define modname columnize
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-columnize Name: python-columnize
Version: 0.3.11 Version: 0.3.11
Release: 0 Release: 0
License: MIT
Summary: Format a simple (i.e. not nested) list into aligned columns Summary: Format a simple (i.e. not nested) list into aligned columns
URL: https://github.com/rocky/pycolumnize License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/rocky/pycolumnize
Source0: https://files.pythonhosted.org/packages/source/c/columnize/columnize-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/c/columnize/columnize-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION For tests # SECTION For tests
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
# /SECTION # /SECTION
BuildRequires: fdupes
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -44,10 +43,10 @@ Format a simple (i.e. not nested) list into aligned columns.
%autosetup -p1 -n columnize-%{version} %autosetup -p1 -n columnize-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check