- Update to 0.4.6:
* PATCH added into (default) list of allowed methods * Allow to use URIs with no path * Clean up connection before returning result. This removes some ResourceWarnings when testing - Add multibuild to enable tests without cycle dependencies - Add missing requirements found by tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSGIProxy2?expand=0&rev=19
This commit is contained in:
parent
da525e6696
commit
4ce213ecb5
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc3e356d271f22ea2fb447038930150b221e8432a8b016ebd7397be28ead1707
|
||||
size 16342
|
3
WSGIProxy2-0.4.6.tar.gz
Normal file
3
WSGIProxy2-0.4.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cee2a64abc193cc96c7ff1208b709335e9a4d1316ce84b91501102166d814c9a
|
||||
size 16481
|
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 10:44:27 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.4.6:
|
||||
* PATCH added into (default) list of allowed methods
|
||||
* Allow to use URIs with no path
|
||||
* Clean up connection before returning result. This removes some ResourceWarnings when testing
|
||||
- Add multibuild to enable tests without cycle dependencies
|
||||
- Add missing requirements found by tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:56:09 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-WSGIProxy2
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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,25 +17,37 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# Tests have dependency loop with python-WebTest
|
||||
%bcond_with tests
|
||||
Name: python-WSGIProxy2
|
||||
Version: 0.4.3
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
%else
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-WSGIProxy2%{psuffix}
|
||||
Version: 0.4.6
|
||||
Release: 0
|
||||
Summary: WSGI Proxy Implementation
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/gawel/WSGIProxy2/
|
||||
Source: https://files.pythonhosted.org/packages/source/W/WSGIProxy2/WSGIProxy2-%{version}.tar.gz
|
||||
BuildRequires: %{python_module WebOb}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-WebOb
|
||||
Requires: python-requests
|
||||
Requires: python-six
|
||||
Requires: python-urllib3
|
||||
Conflicts: python-WSGIProxy
|
||||
BuildArch: noarch
|
||||
%if %{with tests}
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module WebOb}
|
||||
BuildRequires: %{python_module WebTest}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module urllib3}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
@ -49,17 +61,21 @@ Proxy support for WebOb or classic WSGI applications
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%if %{with test}
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
%doc CHANGES.rst README.rst
|
||||
%{python_sitelib}/*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user