forked from pool/python-Paste
Accepting request 305908 from home:benoit_monin:branches:devel:languages:python
- update to version 2.0.1 - add python-six as dependency - add python-flup, python-nose and python-python-openid as test dependencies - remove test requiring internet access: test_proxy.py - reenable the tests OBS-URL: https://build.opensuse.org/request/show/305908 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Paste?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
c483a013be
commit
364bb1fdcf
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Paste
|
||||
#
|
||||
# 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-Paste
|
||||
Version: 1.7.5.1
|
||||
Version: 2.0.1
|
||||
Release: 0
|
||||
Url: http://pythonpaste.org
|
||||
Summary: Tools for using a Web Server Gateway Interface stack
|
||||
@@ -30,9 +30,13 @@ BuildRequires: python-setuptools
|
||||
# Documentation build requirements:
|
||||
BuildRequires: python-Sphinx
|
||||
# Test build requirements:
|
||||
#BuildRequires: python-nose
|
||||
BuildRequires: python-flup
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-python-openid
|
||||
BuildRequires: python-six
|
||||
Requires: python-flup
|
||||
Requires: python-python-openid
|
||||
Requires: python-six
|
||||
Provides: python-paste = %{version}
|
||||
Obsoletes: python-paste < %{version}
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
@@ -49,6 +53,8 @@ interfaces.
|
||||
|
||||
%prep
|
||||
%setup -q -n Paste-%{version}
|
||||
# remove test requiring internet access
|
||||
rm tests/test_proxy.py
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
@@ -57,8 +63,8 @@ python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
#%%check
|
||||
#python setup.py test
|
||||
%check
|
||||
python setup.py -q test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
Reference in New Issue
Block a user