File python-tabulate.spec of Package python-tabulate
%global modname tabulate
Name: python-%{modname}
Version: 0.7.7
Release: 1%{?dist}
Summary: Pretty-print tabular data in Python, a library and a command-line utility
License: MIT
URL: https://pypi.python.org/pypi/tabulate
Source0: https://pypi.python.org/packages/1c/a1/3367581782ce79b727954f7aa5d29e6a439dc2490a9ac0e7ea0a7115435d/tabulate-0.7.7.tar.gz
BuildArch: noarch
%description
The main use cases of the library are:
* printing small tables without hassle: just one function call, formatting is
guided by the data itself
* authoring tabular data for lightweight plain-text markup: multiple output
formats suitable for further editing or transformation
* readable presentation of mixed textual and numeric data: smart column
alignment, configurable number formatting, alignment by a decimal point
%package -n python2-%{modname}
Summary: %{summary}
%{?python_provide:%python_provide python2-%{modname}}
BuildRequires: python2-devel python-setuptools
BuildRequires: numpy
%description -n python2-%{modname}
The main use cases of the library are:
* printing small tables without hassle: just one function call, formatting is
guided by the data itself
* authoring tabular data for lightweight plain-text markup: multiple output
formats suitable for further editing or transformation
* readable presentation of mixed textual and numeric data: smart column
alignment, configurable number formatting, alignment by a decimal point
Python 2 version.
%prep
%setup -q -n tabulate-%{version}
%build
%{__python2} setup.py build
%install
%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
%files -n python2-%{modname}
%license LICENSE
%doc README.rst
%{python2_sitelib}/%{modname}*.egg-info/
%{python2_sitelib}/%{modname}.py*
%{_bindir}/tabulate
%changelog
* Tue May 23 2017 Steve Traylen <steve.traylen@cern.ch> - 0.7.7-1
- New version 0.7.7 , first epel7 release.
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 0.7.5-5
- Rebuild for Python 3.6
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-4
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sun Nov 29 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.7.5-2
- Drop multiple versions of bins
* Tue Nov 24 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.7.5-1
- Initial package