14
0

Accepting request 307136 from home:benoit_monin:branches:devel:languages:python

- update to version 0.10.0
- refresh wsgi_intercept-disable-testbogusdomain.patch
- update project URL
- skip tests trying to access google.com with command line option

OBS-URL: https://build.opensuse.org/request/show/307136
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsgi_intercept?expand=0&rev=17
This commit is contained in:
Jan Matejek
2015-05-18 13:37:34 +00:00
committed by Git OBS Bridge
parent 1f8576e361
commit 97192bfc42
5 changed files with 28 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-wsgi_intercept
#
# Copyright (c) 2014 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,12 +17,12 @@
Name: python-wsgi_intercept
Version: 0.6.1
Version: 0.10.0
Release: 0
Summary: Installs a WSGI application in place of a real URI for testing
License: MIT
Group: Development/Languages/Python
Url: http://code.google.com/p/wsgi-intercept/
Url: https://github.com/cdent/python3-wsgi-intercept
Source: http://pypi.python.org/packages/source/w/wsgi_intercept/wsgi_intercept-%{version}.tar.gz
# PATCH-FIX-OPENSUSE speilicke@suse.com -- Patching fails
Patch0: wsgi_intercept-disable-testbogusdomain.patch
@@ -61,7 +61,8 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
rm -rf %{buildroot}%{python_sitelib}/test
%check
py.test build/
# skip tests trying to access google.com
py.test -k "not not_intercepted" build/
%files
%defattr(-,root,root,-)