14
0

Accepting request 766043 from home:mcalabkova:branches:devel:languages:python

- update to version 5.0
  * Drop support for Python 3.4.
  * Add support for Python 3.8.
  * Properly declare dependency on zope.schema >= 4.2.0, introduced in zope.security 4.2.1.
  * Fix dict item view iteration on PyPy3 7.x.

OBS-URL: https://build.opensuse.org/request/show/766043
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal
2020-01-21 11:37:54 +00:00
committed by Git OBS Bridge
parent 60b6b1af92
commit 85384f4940
4 changed files with 17 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zope.security
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -27,12 +27,12 @@
%bcond_with test
%endif
Name: python-zope.security%{psuffix}
Version: 4.3.1
Version: 5.0
Release: 0
Summary: Zope Security Framework
License: ZPL-2.1
Group: Development/Languages/Python
Url: http://www.python.org/pypi/zope.security
URL: https://www.python.org/pypi/zope.security
Source0: https://files.pythonhosted.org/packages/source/z/zope.security/zope.security-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
@@ -47,13 +47,14 @@ Requires: python-zope.i18nmessageid
Requires: python-zope.interface
Requires: python-zope.location
Requires: python-zope.proxy >= 4.3.0
Requires: python-zope.schema
Requires: python-zope.schema >= 4.2.0
%if %{with test}
BuildRequires: %{python_module BTrees}
BuildRequires: %{python_module zope.component}
BuildRequires: %{python_module zope.configuration}
BuildRequires: %{python_module zope.location}
BuildRequires: %{python_module zope.proxy >= 4.3.0}
BuildRequires: %{python_module zope.schema >= 4.2.0}
BuildRequires: %{python_module zope.security = %{version}}
BuildRequires: %{python_module zope.testing}
BuildRequires: %{python_module zope.testrunner}
@@ -84,7 +85,6 @@ rm -rf *.egg-info
%if !%{with test}
%files %{python_files}
%defattr(-,root,root)
%license LICENSE.txt
%doc README.rst
%{python_sitearch}/*