7c981e
%global modname prettytable
7c981e
7c981e
7c981e
Name:		python-%{modname}
7c981e
Version:	0.7.2
7c981e
Release:	27%{?dist}
7c981e
Summary:	Python library to display tabular data in tables
7c981e
7c981e
License:	BSD
7c981e
Source0:    http://pypi.python.org/packages/source/P/PrettyTable/%{modname}-%{version}.tar.gz
7c981e
URL:		http://pypi.python.org/pypi/PrettyTable
7c981e
7c981e
BuildArch:	noarch
7c981e
7c981e
BuildRequires:  python3-devel
7c981e
BuildRequires:  python3-setuptools
7c981e
7c981e
7c981e
%global _description\
7c981e
PrettyTable is a simple Python library designed to make it quick and easy to\
7c981e
represent tabular data in visually appealing ASCII tables. It was inspired by\
7c981e
the ASCII tables used in the PostgreSQL shell psql. PrettyTable allows for\
7c981e
selection of which columns are to be printed, independent alignment of columns\
7c981e
(left or right justified or centred) and printing of "sub-tables" by specifying\
7c981e
a row range.
7c981e
7c981e
%description %_description
7c981e
7c981e
%package -n python3-%{modname}
7c981e
Summary:	Python library to display tabular data in tables
7c981e
%{?python_provide:%python_provide python3-%{modname}}
7c981e
7c981e
%description -n python3-%{modname}
7c981e
PrettyTable is a simple Python library designed to make it quick and easy to
7c981e
represent tabular data in visually appealing ASCII tables. It was inspired by
7c981e
the ASCII tables used in the PostgreSQL shell psql. PrettyTable allows for
7c981e
selection of which columns are to be printed, independent alignment of columns
7c981e
(left or right justified or centred) and printing of "sub-tables" by specifying
7c981e
a row range.
7c981e
7c981e
7c981e
%prep
7c981e
%setup -q -n %{modname}-%{version}
7c981e
7c981e
7c981e
%build
7c981e
%py3_build
7c981e
7c981e
%check
7c981e
%{__python3} %{modname}_test.py
7c981e
7c981e
7c981e
%install
7c981e
%py3_install
7c981e
7c981e
7c981e
%files -n python3-%{modname}
7c981e
%{!?_licensedir:%global license %%doc}
7c981e
%license COPYING
7c981e
%doc README CHANGELOG
7c981e
%{python3_sitelib}/%{modname}.py*
7c981e
%{python3_sitelib}/__pycache__/%{modname}*
7c981e
%{python3_sitelib}/%{modname}-%{version}*
7c981e
7c981e
7c981e
%changelog
7c981e
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.7.2-27
7c981e
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
7c981e
  Related: rhbz#1991688
7c981e
7c981e
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.7.2-26
7c981e
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
7c981e
7c981e
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-25
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
7c981e
7c981e
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-24
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7c981e
7c981e
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.2-23
7c981e
- Rebuilt for Python 3.9
7c981e
7c981e
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-22
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7c981e
7c981e
* Sun Nov 17 2019 Miro Hrončok <mhroncok@redhat.com> - 0.7.2-21
7c981e
- Subpackage python2-prettytable has been removed
7c981e
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
7c981e
7c981e
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.7.2-20
7c981e
- Rebuilt for Python 3.8.0rc1 (#1748018)
7c981e
7c981e
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.7.2-19
7c981e
- Rebuilt for Python 3.8
7c981e
7c981e
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-18
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7c981e
7c981e
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-17
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
7c981e
7c981e
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-16
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7c981e
7c981e
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 0.7.2-15
7c981e
- Rebuilt for Python 3.7
7c981e
7c981e
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.7.2-14
7c981e
- Update Python 2 dependency declarations to new packaging standards
7c981e
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
7c981e
7c981e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-13
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7c981e
7c981e
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.7.2-12
7c981e
- Python 2 binary package renamed to python2-prettytable
7c981e
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
7c981e
7c981e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-11
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7c981e
7c981e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-10
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7c981e
7c981e
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.7.2-9
7c981e
- Rebuild for Python 3.6
7c981e
7c981e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-8
7c981e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
7c981e
7c981e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-7
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7c981e
7c981e
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-6
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
7c981e
7c981e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-5
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7c981e
7c981e
* Thu Jul 31 2014 Tom Callaway <spot@fedoraproject.org> - 0.7.2-4
7c981e
- fix license handling
7c981e
7c981e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-3
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7c981e
7c981e
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.7.2-2
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
7c981e
7c981e
* Tue Jan 07 2014 Pádraig Brady <pbrady@redhat.com> - 0.7.2-1
7c981e
- Latest upstream
7c981e
7c981e
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-3
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7c981e
7c981e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7c981e
7c981e
* Tue Aug 07 2012 Ralph Bean <rbean@redhat.com> - 0.6.1-1
7c981e
- New upstream version
7c981e
- Added support for python3
7c981e
- Included README, COPYING, and CHANGELOG in docs
7c981e
7c981e
* Tue Aug 07 2012 Pádraig Brady <P@draigBrady.com> - 0.6-1
7c981e
- Update to 0.6
7c981e
7c981e
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-4
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7c981e
7c981e
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-3
7c981e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7c981e
7c981e
* Tue Jul 05 2011 Chris Lalancette <clalance@redhat.com> - 0.5-2
7c981e
- BuildRequire python-setuptools
7c981e
7c981e
* Wed Jun 29 2011 Chris Lalancette <clalance@redhat.com> - 0.5-1
7c981e
- Initial package.