919eaff
%global pypi_name beautifultable
919eaff
919eaff
Name:           python-%{pypi_name}
a9e07ac
Version:        1.1.0
1ff5dff
Release:        7%{?dist}
919eaff
Summary:        Print ASCII tables for terminals
919eaff
919eaff
License:        MIT
919eaff
URL:            https://github.com/pri22296/beautifultable
919eaff
Source0:        %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
919eaff
BuildArch:      noarch
919eaff
919eaff
%description
919eaff
This package provides the BeautifulTable class for easily printing tabular data
919eaff
in a visually appealing ASCII format to a terminal.
919eaff
919eaff
Features included but not limited to:
919eaff
919eaff
- Full customization of the look and feel of the table
919eaff
- Build the Table as you wish, By adding rows, or by columns or even mixing both
919eaff
  these approaches
919eaff
- Full support for colors using ANSI sequences or any library of your choice
919eaff
- Plenty of predefined styles for multiple use cases and option to create
919eaff
  custom ones
919eaff
- Support for Unicode characters
919eaff
919eaff
%package -n     python3-%{pypi_name}
919eaff
Summary:        %{summary}
919eaff
919eaff
BuildRequires:  python3-devel
919eaff
BuildRequires:  python3-setuptools
919eaff
BuildRequires:  python3-wcwidth
919eaff
%{?python_provide:%python_provide python3-%{pypi_name}}
919eaff
 
919eaff
%description -n python3-%{pypi_name}
919eaff
This package provides the BeautifulTable class for easily printing tabular data
919eaff
in a visually appealing ASCII format to a terminal.
919eaff
919eaff
Features included but not limited to:
919eaff
919eaff
- Full customization of the look and feel of the table
919eaff
- Build the Table as you wish, By adding rows, or by columns or even mixing both
919eaff
  these approaches
919eaff
- Full support for colors using ANSI sequences or any library of your choice
919eaff
- Plenty of predefined styles for multiple use cases and option to create
919eaff
  custom ones
919eaff
- Support for Unicode characters
919eaff
919eaff
%package -n %{name}-doc
919eaff
Summary:        The %{name} documentation
919eaff
919eaff
BuildRequires:  python3-sphinx
919eaff
919eaff
%description -n %{name}-doc
919eaff
Documentation for %{name}.
919eaff
919eaff
%prep
919eaff
%autosetup -n %{pypi_name}-%{version}
919eaff
rm -rf %{pypi_name}.egg-info
919eaff
919eaff
%build
919eaff
%py3_build
919eaff
PYTHONPATH=${PWD} sphinx-build-3 docs html
919eaff
rm -rf html/.{doctrees,buildinfo}
919eaff
919eaff
%install
919eaff
%py3_install
919eaff
919eaff
%check
919eaff
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} test.py
919eaff
919eaff
%files -n python3-%{pypi_name}
919eaff
%doc README.rst
919eaff
%license LICENSE.txt
919eaff
%{python3_sitelib}/%{pypi_name}
919eaff
%{python3_sitelib}/%{pypi_name}-%{version}-py*.egg-info/
919eaff
919eaff
%files -n %{name}-doc
919eaff
%doc html
919eaff
%license LICENSE.txt
919eaff
919eaff
%changelog
1ff5dff
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.1.0-7
1ff5dff
- Rebuilt for Python 3.13
1ff5dff
2f848f0
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
2f848f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
2f848f0
b715204
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
b715204
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
b715204
45e891a
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
45e891a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
45e891a
a2864bd
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.1.0-3
a2864bd
- Rebuilt for Python 3.12
a2864bd
f9e258f
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
f9e258f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
f9e258f
a9e07ac
* Fri Aug 19 2022 Fabian Affolter <mail@fabian-affolter.ch> - 1.1.0-1
a9e07ac
- Update to latest upstream release 1.1.0 (closes #2082669)
a9e07ac
58021ca
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-7
58021ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
58021ca
3bc2dfc
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.1-6
3bc2dfc
- Rebuilt for Python 3.11
3bc2dfc
003641c
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-5
003641c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
003641c
aababd7
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
aababd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
aababd7
4e103f3
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.1-3
4e103f3
- Rebuilt for Python 3.10
4e103f3
8d1e549
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
8d1e549
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
8d1e549
ae246c1
* Wed Jan 20 2021 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.1-1
ae246c1
- Update to latest upstream release 1.0.1 (#1917935)
ae246c1
800c904
* Tue Jul 28 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.0-1
ae246c1
- Update to latest upstream release 1.0.0 (#1858630)
800c904
919eaff
* Thu Apr 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.0-2
ae246c1
- Add missing BR for tests (#1812435)
919eaff
919eaff
* Wed Mar 11 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.0-1
919eaff
- Initial package for Fedora