Accepting request 957326 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/957326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-multidict?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2022-02-26 16:01:56 +00:00 committed by Git OBS Bridge
commit b832d80db3
4 changed files with 18 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25b4e5f22d3a37ddf3effc0710ba692cfc792c2b9edfb9c05aefe823256e84d5
size 53685

3
multidict-6.0.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ff3bd75f38e4c43f1f470f2df7a4d430b821c4ce22be384e1459cb57d6bb013
size 50334

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Feb 24 08:14:48 UTC 2022 - Adrian Schröter <adrian@suse.de>
- update to 6.0.2:
- Use ``METH_FASTCALL`` where it makes sense.
``MultiDict.add()`` is 2.2 times faster now, ``CIMultiDict.add()`` is 1.5 times faster.
The same boost is applied to ``get*()``, ``setdefault()``, and ``pop*()`` methods. (:issue:`681`)
- Fixed type annotations for keys of multidict mapping classes. (:issue:`644`)
- Support Multidict[int] for pure-python version.
``__class_getitem__`` is already provided by C Extension, making it work with the pure-extension too. (:issue:`678`)
- Dropped Python 3.6 support (:issue:`680`)
-------------------------------------------------------------------
Sun Dec 20 09:35:53 UTC 2020 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-multidict
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,8 +18,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
Name: python-multidict
Version: 5.1.0
Version: 6.0.2
Release: 0
Summary: Multidict implementation
License: Apache-2.0
@ -47,7 +48,6 @@ export CFLAGS="%{optflags}"
%install
%python_install
%python_expand rm %{buildroot}%{$python_sitearch}/multidict/*.c %{buildroot}%{$python_sitearch}/multidict/_multilib/*.h
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check