15
0

Accepting request 493361 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/493361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WSGIProxy2?expand=0&rev=8
This commit is contained in:
2017-05-17 15:18:32 +00:00
committed by Git OBS Bridge
4 changed files with 43 additions and 20 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc3e356d271f22ea2fb447038930150b221e8432a8b016ebd7397be28ead1707
size 16342

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sun May 7 22:41:52 UTC 2017 - toddrme2178@gmail.com
- Source URL must be https.
-------------------------------------------------------------------
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

View File

@@ -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: https://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