15
0

Accepting request 680060 from devel:languages:python

- 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/request/show/680060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WebTest?expand=0&rev=26
This commit is contained in:
2019-03-04 08:09:27 +00:00
committed by Git OBS Bridge
4 changed files with 22 additions and 16 deletions

View File

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

3
WebTest-2.0.33.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 28 09:24:07 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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.
-------------------------------------------------------------------
Thu Feb 7 16:14:39 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>

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