14
0
Files
python-zope.testbrowser/python-zope.testbrowser.spec
Tomáš Chvátal 9f2c0a1044 Accepting request 692343 from home:mcalabkova:branches:devel:languages:python
- update to version 5.3.2
  * Fix a bug where you couldn’t set a cookie expiration date when 
    your locale was not English.
  * Fix an incompatibility with BeautifulSoup4 >= 4.7 that could 
    result in a SyntaxError from browser.getControl().
    * note: BeautifulSoup is not in requirements in setup.py and
      we are successfully building the package without it
  * Fix narrative doctests that started failing on January 1st, 
    2019 due to a hardcoded “future” date.
  5.3.1
  * Fix a DeprecationWarning on Python 3.
  5.3.0
  * Add support for Python 3.7.
  * Drop support for Python 3.3 and 3.4.
  * Drop support for pystone as Python 3.7 dropped pystone.
  * Fix mechRepr of CheckboxListControl to always return a 
    native str.
  * Add mechRepr to input fields having the type email.
- Added patch zope.testbrowser-remove-bad-test.patch to disable 
  failing test.
  * It seems to me that Google has changed the robot policy again 
    and therefore it is not a bug in the software itself (similar
    to upstream issue #12).

OBS-URL: https://build.opensuse.org/request/show/692343
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=13
2019-04-09 06:18:58 +00:00

84 lines
2.7 KiB
RPMSpec

#
# spec file for package python-zope.testbrowser
#
# Copyright (c) 2019 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-zope.testbrowser
Version: 5.3.2
Release: 0
Summary: Programmable browser for functional black-box tests
License: ZPL-2.1
Group: Development/Languages/Python
Url: https://github.com/zopefoundation/zope.testbrowser
Source: https://files.pythonhosted.org/packages/source/z/zope.testbrowser/zope.testbrowser-%{version}.tar.gz
Patch0: zope.testbrowser-remove-bad-test.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module WSGIProxy2}
BuildRequires: %{python_module WebTest >= 2.0.30}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytz > dev}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module zope.cachedescriptors}
BuildRequires: %{python_module zope.interface}
BuildRequires: %{python_module zope.schema}
BuildRequires: %{python_module zope.testing}
# /SECTION
Requires: python-WSGIProxy2
Requires: python-WebTest >= 2.0.30
Requires: python-pytz > dev
Requires: python-setuptools
Requires: python-six
Requires: python-zope.cachedescriptors
Requires: python-zope.interface
Requires: python-zope.schema
Suggests: python-zope.testing
Suggests: python-mock
BuildArch: noarch
%python_subpackages
%description
The zope.testbrowser package provides an programmable web browser
with special focus on testing. It is used in Zope, but it's not Zope
specific. It can be used to test or otherwise interact with any web
site.
%prep
%setup -q -n zope.testbrowser-%{version}
%patch0 -p1
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%files %{python_files}
%doc CHANGES.rst README.rst
%license LICENSE.rst
%{python_sitelib}/*
%changelog