Accepting request 597345 from devel:languages:python

- Enable testsuite

- update to version 4.2.0:
  * Publish py.typed flag for type hinting analyzers (mypy etc).

OBS-URL: https://build.opensuse.org/request/show/597345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-multidict?expand=0&rev=7
This commit is contained in:
2018-04-19 13:29:32 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 13 deletions

View File

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

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

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Apr 17 08:09:34 UTC 2018 - tchvatal@suse.com
- Enable testsuite
-------------------------------------------------------------------
Tue Apr 17 01:52:51 UTC 2018 - arun@gmx.de
- update to version 4.2.0:
* Publish py.typed flag for type hinting analyzers (mypy etc).
-------------------------------------------------------------------
Sat Feb 10 17:43:52 UTC 2018 - arun@gmx.de

View File

@@ -18,21 +18,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%bcond_without test
Name: python-multidict
Version: 4.1.0
Version: 4.2.0
Release: 0
Summary: Multidict implementation
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/aio-libs/multidict
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-runner}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
%description
@@ -53,13 +52,11 @@ export CFLAGS="%{optflags}"
%python_expand rm -f %{buildroot}%{python_sitearch}/multidict/*.c
%check
%if %{with test}
# Tests have import problems
%endif
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root,-)
%doc docs/changes.rst LICENSE README.rst
%license LICENSE
%doc docs/changes.rst README.rst
%{python_sitearch}/*
%changelog