|
|
f5b0a4 |
%global srcname tabulate
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
Name: python-%{srcname}
|
|
rdobuilder |
987a41 |
Version: 0.8.9
|
|
rdobuilder |
987a41 |
Release: 2%{?dist}
|
|
|
f5b0a4 |
Summary: Pretty-print tabular data in Python, a library and a command-line utility
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
License: MIT
|
|
|
f5b0a4 |
URL: https://pypi.python.org/pypi/tabulate
|
|
|
f5b0a4 |
Source: %{pypi_source}
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
BuildArch: noarch
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
%global _description %{expand:
|
|
|
f5b0a4 |
The main use cases of the library are:
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* printing small tables without hassle: just one function call, formatting is
|
|
|
f5b0a4 |
guided by the data itself
|
|
|
f5b0a4 |
* authoring tabular data for lightweight plain-text markup: multiple output
|
|
|
f5b0a4 |
formats suitable for further editing or transformation
|
|
|
f5b0a4 |
* readable presentation of mixed textual and numeric data: smart column
|
|
|
f5b0a4 |
alignment, configurable number formatting, alignment by a decimal point}
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
%description %{_description}
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
%package -n python3-%{srcname}
|
|
|
f5b0a4 |
Summary: %{summary}
|
|
|
f5b0a4 |
BuildRequires: python3-devel
|
|
|
f5b0a4 |
BuildRequires: python3dist(setuptools)
|
|
|
f5b0a4 |
# Test deps
|
|
rdobuilder |
987a41 |
BuildRequires: python3dist(pytest)
|
|
|
f5b0a4 |
BuildRequires: python3dist(numpy)
|
|
|
f5b0a4 |
BuildRequires: python3dist(pandas)
|
|
|
f5b0a4 |
BuildRequires: python3dist(wcwidth)
|
|
|
f5b0a4 |
# widechars support
|
|
|
f5b0a4 |
%{?python_extras_subpkg:Recommends: python3-%{srcname}+widechars}
|
|
|
f5b0a4 |
%{!?python_extras_subpkg:Recommends: python%{python3_version}dist(wcwidth)}
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
%description -n python3-%{srcname} %{_description}
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
Python 3 version.
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
%{?python_extras_subpkg:%python_extras_subpkg -n python3-%{srcname} -i %{python3_sitelib}/%{srcname}*.egg-info widechars}
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
%prep
|
|
|
f5b0a4 |
%autosetup -n %{srcname}-%{version}
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
%build
|
|
|
f5b0a4 |
%py3_build
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
%install
|
|
|
f5b0a4 |
%py3_install
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
%check
|
|
rdobuilder |
987a41 |
%{pytest}
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
%files -n python3-%{srcname}
|
|
|
f5b0a4 |
%license LICENSE
|
|
|
f5b0a4 |
%doc README README.md
|
|
|
f5b0a4 |
%{_bindir}/%{srcname}
|
|
|
f5b0a4 |
%{python3_sitelib}/%{srcname}*.egg-info/
|
|
|
f5b0a4 |
%{python3_sitelib}/%{srcname}.py
|
|
|
f5b0a4 |
%{python3_sitelib}/__pycache__/%{srcname}.*
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
%changelog
|
|
rdobuilder |
987a41 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.9-2
|
|
rdobuilder |
987a41 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
987a41 |
|
|
rdobuilder |
987a41 |
* Sun Jul 04 2021 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.8.9-1
|
|
rdobuilder |
987a41 |
- Update to latest release
|
|
rdobuilder |
987a41 |
- replace nose with pytest
|
|
rdobuilder |
987a41 |
- drop no longer needed patch
|
|
rdobuilder |
987a41 |
|
|
|
f5b0a4 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-5
|
|
|
f5b0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-4
|
|
|
f5b0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 0.8.7-3
|
|
|
f5b0a4 |
- Add tabulate[widechars] subpackage
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.8.7-2
|
|
|
f5b0a4 |
- Rebuilt for Python 3.9
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Sun Mar 29 2020 Aniket Pradhan <major AT fedoraproject DOT org> - 0.8.7-1
|
|
|
f5b0a4 |
- Update to 0.8.7
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.6-2
|
|
|
f5b0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Wed Jan 22 2020 Aniket Pradhan <major AT fedoraproject DOT org> - 0.8.6-1
|
|
|
f5b0a4 |
- Update to 0.8.6
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Wed Nov 20 12:21:20 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.5-2
|
|
|
f5b0a4 |
- Remove all useless changes in spec
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Fri Oct 25 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.8.5-1
|
|
|
f5b0a4 |
- Update to 0.8.5
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-7
|
|
|
f5b0a4 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-6
|
|
|
f5b0a4 |
- Rebuilt for Python 3.8
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-5
|
|
|
f5b0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-4
|
|
|
f5b0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Sat Jan 26 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.8.3-3
|
|
|
f5b0a4 |
- Remove py2 subpackage
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Sat Jan 26 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.8.3-2
|
|
|
f5b0a4 |
- Fix FTBFS
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Sat Jan 26 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.8.3-1
|
|
|
f5b0a4 |
- Update to latest upstream release
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-4
|
|
|
f5b0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.2-3
|
|
|
f5b0a4 |
- Rebuilt for Python 3.7
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-2
|
|
|
f5b0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Tue Jan 09 2018 Steve Traylen <steve.traylen@cern.ch> - 0.8.2-1
|
|
|
f5b0a4 |
- Update to 0.8.2, Correct source URL.
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Tue Oct 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.1-1
|
|
|
f5b0a4 |
- Update to 0.8.1
|
|
|
f5b0a4 |
- Run more tests
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Sun Oct 01 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.0-1
|
|
|
f5b0a4 |
- Update to 0.8.0
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-7
|
|
|
f5b0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-6
|
|
|
f5b0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.7.5-5
|
|
|
f5b0a4 |
- Rebuild for Python 3.6
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-4
|
|
|
f5b0a4 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-3
|
|
|
f5b0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Sun Nov 29 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.7.5-2
|
|
|
f5b0a4 |
- Drop multiple versions of bins
|
|
|
f5b0a4 |
|
|
|
f5b0a4 |
* Tue Nov 24 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.7.5-1
|
|
|
f5b0a4 |
- Initial package
|