File python-WebHelpers.spec of Package python-WebHelpers

#norootforbuild
#
%define real_name WebHelpers
#
#
Name:           python-%{real_name}
Group:          Development/Libraries/Python
Version:        0.6.4
Release:        0
License:        BSD3c
Summary:        Web Helpers for Python
Autoreqprov:    on
Source:         %{real_name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-setuptools
Url:            http://bitbucket.org/bbangert/webhelpers
%{py_requires}
%define py_vers %(%{__python} -c 'import sys; print int(10*float(sys.version[:3]))')
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%else
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")}
%endif

%description
Web Helpers is a library of helper functions intended to make writing web applications easier. It's the standard function library for Pylons and TurboGears 2, but can be used with any web framework. It also contains a large number of functions not specific to the web, including text processing, number formatting, date calculations, container objects, etc.

Complete documentation is in the docstrings in the source code. Online generated docs are hosted at the Pylons site. Questions or feedback about WebHelpers can be submitted to the pylons-discuss mailing list.

WebHelpers does not have any dependencies; however, certain helpers depend on Routes or other packages as described in the module docstrings.

%prep
%setup -n %{real_name}-%{version}

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README.txt PKG-INFO

%changelog
* Tue Jan 26 2010 - Ciaran Farrell <cfarrell1980@gmail.com> - 0.6.4
- Not sure if this is a downgrade or a completely new package

* Sun Nov 22 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 1.01b
- Initial build for tg21

  
openSUSE Build Service is sponsored by