forked from pool/python-WSGIProxy2
Accepting request 492329 from home:TheBlackCat:branches:devel:languages:python
- Update to version 0.4.3 - Implement single-spec version - Fix source URL. OBS-URL: https://build.opensuse.org/request/show/492329 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSGIProxy2?expand=0&rev=13
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a4b236fac5d4a2b51d9b3ed34cbe0d01aae173dce0ab9877f225b1dcdb4a6e8e
|
||||
size 18817
|
||||
3
WSGIProxy2-0.4.3.tar.gz
Normal file
3
WSGIProxy2-0.4.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc3e356d271f22ea2fb447038930150b221e8432a8b016ebd7397be28ead1707
|
||||
size 16342
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 1 16:48:32 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Update to version 0.4.3
|
||||
* Add OPTIONS to defaults allowed methods
|
||||
* Drop restkit support
|
||||
* Drop py26 support
|
||||
- Implement single-spec version
|
||||
- Fix source URL.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 14 14:57:58 UTC 2015 - benoit.monin@gmx.fr
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-WSGIProxy2
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 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
|
||||
@@ -16,26 +16,31 @@
|
||||
#
|
||||
|
||||
|
||||
# Tests have dependency loop with python-WebTest
|
||||
%bcond_with tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-WSGIProxy2
|
||||
Version: 0.4.2
|
||||
Version: 0.4.3
|
||||
Release: 0
|
||||
Summary: WSGI Proxy Implementation
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/gawel/WSGIProxy2/
|
||||
Source: http://pypi.python.org/packages/source/W/WSGIProxy2/WSGIProxy2-%{version}.zip
|
||||
BuildRequires: python-WebOb
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-six
|
||||
BuildRequires: unzip
|
||||
Source: http://files.pythonhosted.org/packages/source/W/WSGIProxy2/WSGIProxy2-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module WebOb}
|
||||
BuildRequires: %{python_module six}
|
||||
%if %{with tests}
|
||||
BuildRequires: %{python_module WebTest}
|
||||
%endif
|
||||
Conflicts: python-WSGIProxy
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Proxy support for WebOb or classic WSGI applications
|
||||
@@ -44,17 +49,20 @@ Proxy support for WebOb or classic WSGI applications
|
||||
%setup -q -n WSGIProxy2-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
python setup.py test
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%doc CHANGES.rst COPYING README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user