forked from pool/python-columnize
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-columnize?expand=0&rev=9
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
columnize-0.3.11.tar.gz
Normal file
3
columnize-0.3.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a631b863b310a6c1457629b7bf32a3777ea5a407f8985311ce8c24c31d1d8bb2
|
||||
size 18776
|
||||
55
python-columnize.changes
Normal file
55
python-columnize.changes
Normal file
@@ -0,0 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to 0.3.11:
|
||||
- store source-code module in a directory
|
||||
- black files
|
||||
- use pytest
|
||||
- use __version__ for version number
|
||||
- start using github workflows
|
||||
- Bundle tests into tarball
|
||||
- Remove upstreamed patches:
|
||||
- drop-nose-requirement.patch
|
||||
- python-columnize-no-mock.patch
|
||||
- test_columnize.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 8 10:13:54 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Rearrange and reapply patches.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 8 06:50:19 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
- do not require python-mock for build
|
||||
- added patches
|
||||
fix https://github.com/rocky/pycolumnize/issues/28
|
||||
+ python-columnize-no-mock.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 5 17:08:57 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Include test file missed from being included in source tarball
|
||||
and enable tests using pytest; additional BuildRequires for
|
||||
tests: python-pytest, python-mock.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 30 00:42:44 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 0.3.10:
|
||||
* Make compatible with Python version 2.4..3.8 now.
|
||||
* Use TideLift security and make compliant.
|
||||
- Add drop-nose-requirement.patch -- Drop requirement on outdated
|
||||
nose; we do not run tests anyway.
|
||||
- Update License to MIT in keeping with upstream.
|
||||
- More fine-grained file list.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 12 06:05:54 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for v0.3.9
|
||||
61
python-columnize.spec
Normal file
61
python-columnize.spec
Normal file
@@ -0,0 +1,61 @@
|
||||
#
|
||||
# spec file for package python-columnize
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define modname columnize
|
||||
Name: python-columnize
|
||||
Version: 0.3.11
|
||||
Release: 0
|
||||
Summary: Format a simple (i.e. not nested) list into aligned columns
|
||||
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
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Format a simple (i.e. not nested) list into aligned columns.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n columnize-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc NEWS.md README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/%{modname}
|
||||
%{python_sitelib}/%{modname}-%{version}*-info/
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user