14
0

- update to 4.3.1:

- Support Components subclasses that are not hashable.
  (https://github.com/zopefoundation/zope.interface/issues/53)
- Add the ability to sort the objects returned by ``implementedBy``.
  This is compatible with the way interface classes sort so they can
  be used together in ordered containers like BTrees.
  (https://github.com/zopefoundation/zope.interface/issues/42)
- Make ``setuptools`` a hard dependency of ``setup.py``.
- Change a linear algorithm (O(n)) in ``Components.registerUtility`` and
  ``Components.unregisterUtility`` into a dictionary lookup (O(1)) for
  hashable components. This substantially improves the time taken to
  manipulate utilities in large registries at the cost of some
  additional memory usage. (https://github.com/zopefoundation/zope.interface/issues/46)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=27
This commit is contained in:
2016-11-15 10:12:53 +00:00
committed by Git OBS Bridge
parent 74f9ea36cb
commit b7432fcf14
4 changed files with 23 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zope.interface
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@@ -17,13 +17,13 @@
Name: python-zope.interface
Version: 4.1.2
Version: 4.3.1
Release: 0
Url: http://pypi.python.org/pypi/zope.interface
Summary: Interfaces for Python
License: ZPL-2.1
Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
Source: https://pypi.io/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: python-devel