From 5aab3ee931ae958a79dbc9510a38c80b0b9cf7cc86c23ea9369d2a832c55673e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 9 Mar 2020 16:41:09 +0000 Subject: [PATCH] - 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 --- multidict-4.5.2.tar.gz | 3 --- multidict-4.7.5.tar.gz | 3 +++ python-multidict.changes | 6 ++++++ python-multidict.spec | 16 ++++++++-------- 4 files changed, 17 insertions(+), 11 deletions(-) delete mode 100644 multidict-4.5.2.tar.gz create mode 100644 multidict-4.7.5.tar.gz diff --git a/multidict-4.5.2.tar.gz b/multidict-4.5.2.tar.gz deleted file mode 100644 index 5e2ea49..0000000 --- a/multidict-4.5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:024b8129695a952ebd93373e45b5d341dbb87c17ce49637b34000093f243dd4f -size 105996 diff --git a/multidict-4.7.5.tar.gz b/multidict-4.7.5.tar.gz new file mode 100644 index 0000000..96cd9e5 --- /dev/null +++ b/multidict-4.7.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aee283c49601fa4c13adc64c09c978838a7e812f85377ae130a24d7198c0331e +size 50845 diff --git a/python-multidict.changes b/python-multidict.changes index 11b2d55..e648789 100644 --- a/python-multidict.changes +++ b/python-multidict.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 9 16:35:10 UTC 2020 - Tomáš Chvátal + +- Update to 4.7.5: + * various fixes for python 3.8 support + ------------------------------------------------------------------- Wed May 29 12:28:22 UTC 2019 - Marketa Calabkova diff --git a/python-multidict.spec b/python-multidict.spec index 063b19c..1b4df7b 100644 --- a/python-multidict.spec +++ b/python-multidict.spec @@ -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