- Update to 4.7.5:

* various fixes for python 3.8 support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-multidict?expand=0&rev=26
This commit is contained in:
Tomáš Chvátal 2020-03-09 16:41:09 +00:00 committed by Git OBS Bridge
parent 0095b9fd3e
commit 5aab3ee931
4 changed files with 17 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:024b8129695a952ebd93373e45b5d341dbb87c17ce49637b34000093f243dd4f
size 105996

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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 9 16:35:10 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 4.7.5:
* various fixes for python 3.8 support
-------------------------------------------------------------------
Wed May 29 12:28:22 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-multidict
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,19 +19,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-multidict
Version: 4.5.2
Version: 4.7.5
Release: 0
Summary: Multidict implementation
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/aio-libs/multidict
Source: https://files.pythonhosted.org/packages/source/m/multidict/multidict-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%python_subpackages
@ -50,10 +47,13 @@ export CFLAGS="%{optflags}"
%install
%python_install
%python_expand rm -f %{buildroot}%{$python_sitearch}/multidict/*.c
%python_expand rm %{buildroot}%{$python_sitearch}/multidict/*.c
%python_expand fdupes %{buildroot}%{$python_sitearch}
%check
%python_exec setup.py test
# remove the extra pytest opts
rm setup.cfg
%pytest_arch
%files %{python_files}
%license LICENSE