From d4ba4aa48f32074be8bab53c4641c878126b17034ed227ff6e74f6de199ff950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 20 Sep 2019 12:49:40 +0000 Subject: [PATCH] - 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 --- msgpack-0.6.1.tar.gz | 3 --- msgpack-0.6.2.tar.gz | 3 +++ python-msgpack.changes | 8 ++++++++ python-msgpack.spec | 19 ++++--------------- 4 files changed, 15 insertions(+), 18 deletions(-) delete mode 100644 msgpack-0.6.1.tar.gz create mode 100644 msgpack-0.6.2.tar.gz diff --git a/msgpack-0.6.1.tar.gz b/msgpack-0.6.1.tar.gz deleted file mode 100644 index e35b815..0000000 --- a/msgpack-0.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4008c72f5ef2b7936447dcb83db41d97e9791c83221be13d5e19db0796df1972 -size 118812 diff --git a/msgpack-0.6.2.tar.gz b/msgpack-0.6.2.tar.gz new file mode 100644 index 0000000..777b315 --- /dev/null +++ b/msgpack-0.6.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea3c2f859346fcd55fc46e96885301d9c2f7a36d453f5d8f2967840efa1e1830 +size 119062 diff --git a/python-msgpack.changes b/python-msgpack.changes index 72f236c..88a0f39 100644 --- a/python-msgpack.changes +++ b/python-msgpack.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Sep 20 12:47:03 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-msgpack.spec b/python-msgpack.spec index ba57bdb..f17e49e 100644 --- a/python-msgpack.spec +++ b/python-msgpack.spec @@ -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