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