15
0

- Update to 2.0.33:

* Fixed #210. Allow to reset select multiple with field.value = []
  * Support for PYTHONOPTIMIZE=2, fix tests on PYTHONOPTIMIZE=1, 2
  * Fixed #196. Fix deprecation warnings for collections to use collections.abc for Iterable on Python 3.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebTest?expand=0&rev=44
This commit is contained in:
Tomáš Chvátal
2019-02-28 09:27:01 +00:00
committed by Git OBS Bridge
parent e55f634329
commit 34d1dace72
4 changed files with 22 additions and 16 deletions

View File

@@ -20,14 +20,13 @@
%define oldpython python
%bcond_without tests
Name: python-WebTest
Version: 2.0.32
Version: 2.0.33
Release: 0
Url: http://webtest.pythonpaste.org/
Summary: Helper to test WSGI applications
License: MIT
Group: Development/Languages/Python
URL: http://webtest.pythonpaste.org/
Source: https://files.pythonhosted.org/packages/source/W/WebTest/WebTest-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module PasteDeploy}
BuildRequires: %{python_module WSGIProxy2}
BuildRequires: %{python_module WebOb >= 1.2}
@@ -38,11 +37,6 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module waitress >= 0.8.5}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with tests}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
%endif
# Documentation build requirements:
BuildRequires: python3-Sphinx
BuildRequires: python3-pylons-sphinx-themes
@@ -50,11 +44,16 @@ Requires: python-WebOb >= 1.2
Requires: python-beautifulsoup4
Requires: python-six
Requires: python-waitress >= 0.8.5
BuildArch: noarch
%if %{with tests}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
%endif
%ifpython2
Obsoletes: %{oldpython}-webtest < %{version}
Provides: %{oldpython}-webtest = %{version}
%endif
BuildArch: noarch
%python_subpackages
%description
@@ -91,13 +90,12 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGELOG.rst README.rst docs/license.rst
%license license.rst
%doc CHANGELOG.rst README.rst
%{python_sitelib}/webtest/
%{python_sitelib}/WebTest-%{version}-py*.egg-info
%files -n %{name}-doc
%defattr(-,root,root,-)
%files -n %{name}-doc
%doc build/sphinx/html
%changelog