forked from pool/python-multidict
Accepting request 957229 from system:homeautomation:home-assistant:unstable
- 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`) OBS-URL: https://build.opensuse.org/request/show/957229 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-multidict?expand=0&rev=36
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user