- Update to 0.6.2:

* Support Python 3.8.
  * Update Cython to 0.29.13 for support Python 3.8.
  * Some small optimizations.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-msgpack?expand=0&rev=18
This commit is contained in:
Tomáš Chvátal 2019-09-20 12:49:40 +00:00 committed by Git OBS Bridge
parent 5434af81e9
commit d4ba4aa48f
4 changed files with 15 additions and 18 deletions

View File

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

3
msgpack-0.6.2.tar.gz Normal file
View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Sep 20 12:47:03 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.6.2:
* Support Python 3.8.
* Update Cython to 0.29.13 for support Python 3.8.
* Some small optimizations.
-------------------------------------------------------------------
Thu Mar 7 21:33:19 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -16,20 +16,19 @@
#
%bcond_without test
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-msgpack
Version: 0.6.1
Version: 0.6.2
Release: 0
Summary: MessagePack (de)serializer
License: Apache-2.0
Group: Development/Languages/Python
Url: http://msgpack.org/
URL: https://github.com/msgpack/msgpack-python
Source: https://files.pythonhosted.org/packages/source/m/msgpack/msgpack-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: gcc-c++
@ -41,11 +40,6 @@ Obsoletes: python-msgpack-python < 0.5.0
Provides: %{oldpython}-msgpack-python = %{version}
Obsoletes: %{oldpython}-msgpack-python < 0.5.0
%endif
%if %{with test}
# Test requirements:
BuildRequires: %{python_module pytest}
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
%description
@ -65,15 +59,10 @@ export CFLAGS="%{optflags}"
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%if %{with test}
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
py.test-%{$python_bin_suffix}
}
%endif
%pytest_arch
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%license COPYING
%{python_sitearch}/msgpack