forked from pool/python-columnize
Accepting request 1278073 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1278073 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-columnize?expand=0&rev=4
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user