15
0
forked from pool/python-Routes

Accepting request 298183 from home:tbechtold:branches:devel:languages:python

New upstream release

OBS-URL: https://build.opensuse.org/request/show/298183
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Routes?expand=0&rev=14
This commit is contained in:
Denisart Benjamin
2015-04-22 09:19:25 +00:00
committed by Git OBS Bridge
parent 8656811075
commit f74f8a1c7e
4 changed files with 41 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Routes
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-Routes
Version: 1.13
Version: 2.1
Release: 0
Url: http://routes.groovie.org/
Summary: Routing Recognition and Generation Tools
@@ -27,7 +27,14 @@ Source: http://pypi.python.org/packages/source/R/Routes/Routes-%{version
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
Requires: python-repoze.lru
# for testing
BuildRequires: python-coverage
BuildRequires: python-nose
BuildRequires: python-repoze.lru >= 0.3
BuildRequires: python-webob
BuildRequires: python-webtest
Requires: python-repoze.lru >= 0.3
Provides: python-routes = %{version}
Obsoletes: python-routes < %{version}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -41,7 +48,6 @@ A Routing package for Python that matches URL's to dicts and vice versa.
%prep
%setup -q -n Routes-%{version}
rm docs/_build/html/.buildinfo # Remove junk
%build
python setup.py build
@@ -49,9 +55,12 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
nosetests
%files
%defattr(-,root,root,-)
%doc CHANGELOG LICENSE README docs/_build/html
%doc CHANGELOG.rst LICENSE.txt README.rst
%{python_sitelib}/*
%changelog