forked from pool/python-wsgi_intercept
- Update to 1.8.1:
* Fixes issues with latest urllib OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsgi_intercept?expand=0&rev=40
This commit is contained in:
committed by
Git OBS Bridge
parent
1c86082f2e
commit
95bdcf5883
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 24 13:45:03 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.8.1:
|
||||||
|
* Fixes issues with latest urllib
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 21 05:51:06 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
Thu Mar 21 05:51:06 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||||
|
|
||||||
|
@@ -18,31 +18,29 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-wsgi_intercept
|
Name: python-wsgi_intercept
|
||||||
Version: 1.8.0
|
Version: 1.8.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Installs a WSGI application in place of a real URI for testing
|
Summary: Installs a WSGI application in place of a real URI for testing
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/cdent/python3-wsgi-intercept
|
URL: https://github.com/cdent/python3-wsgi-intercept
|
||||||
Source: https://pypi.io/packages/source/w/wsgi_intercept/wsgi_intercept-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/w/wsgi_intercept/wsgi_intercept-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
# Test requirements:
|
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module httplib2}
|
BuildRequires: %{python_module httplib2}
|
||||||
BuildRequires: %{python_module pytest >= 2.4}
|
BuildRequires: %{python_module pytest >= 2.4}
|
||||||
BuildRequires: %{python_module requests >= 2.0.1}
|
BuildRequires: %{python_module requests >= 2.0.1}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: %{python_module urllib3 >= 1.11.0}
|
BuildRequires: %{python_module urllib3 >= 1.11.0}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
|
BuildArch: noarch
|
||||||
%if 0%{?_no_weakdeps}
|
%if 0%{?_no_weakdeps}
|
||||||
Requires: python-requests >= 2.0.1
|
Requires: python-requests >= 2.0.1
|
||||||
%else
|
%else
|
||||||
Recommends: python-requests >= 2.0.1
|
Recommends: python-requests >= 2.0.1
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -54,9 +52,6 @@ can avoid spawning multiple processes or threads to test your Web app.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n wsgi_intercept-%{version}
|
%setup -q -n wsgi_intercept-%{version}
|
||||||
%if 0%{?suse_version} == 1230
|
|
||||||
%patch0 -p1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -68,7 +63,7 @@ rm -r %{buildroot}%{python_sitelib}/wsgi_intercept/tests
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
export WSGI_INTERCEPT_SKIP_NETWORK=true
|
export WSGI_INTERCEPT_SKIP_NETWORK=true
|
||||||
%python_exec -m pytest --ignore _build.python2 --ignore _build.python3
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/wsgi_intercept-%{version}-py%{py_ver}.egg-info
|
%{python_sitelib}/wsgi_intercept-%{version}-py%{py_ver}.egg-info
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1a0a91e0da8ea71cbc3cf3fb81dfdc0012958136e2407c94906c8139bb24cc86
|
|
||||||
size 26919
|
|
3
wsgi_intercept-1.8.1.tar.gz
Normal file
3
wsgi_intercept-1.8.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:34de19ef24e1dbc496eec281b84aa87ef79035af82bb2792a47ec98deb2c4d4f
|
||||||
|
size 28248
|
Reference in New Issue
Block a user