Blob Blame Raw
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}

Name:		python-prettytable
Version:	0.5
Release:	2%{?dist}
Summary:	Python library to display tabular data in tables

Group:		Development/Languages
License:	BSD

BuildArch:	noarch
BuildRequires:	python-devel
BuildRequires:  python-setuptools

PrettyTable is a simple Python library designed to make it quick and easy to
represent tabular data in visually appealing ASCII tables. It was inspired by
the ASCII tables used in the PostgreSQL shell psql. PrettyTable allows for
selection of which columns are to be printed, independent alignment of columns
(left or right justified or centred) and printing of "sub-tables" by specifying
a row range.

%setup -q -n prettytable-%{version}

%{__python} build

%{__python} install -O1 --skip-build --root $RPM_BUILD_ROOT


* Tue Jul 05 2011 Chris Lalancette <> - 0.5-2
- BuildRequire python-setuptools

* Wed Jun 29 2011 Chris Lalancette <> - 0.5-1
- Initial package.