Accepting request 789781 from home:mcalabkova:branches:devel:languages:python

- update to version 5.1.0
  * Minor API change :class:`CBORSimpleValue` is now a subclass of namedtuple and allows
    all numeric comparisons. This brings functional parity between C and Python modules.
  * Fixes for C-module on big-endian systems including floating point decoding, smallint encoding,
    and boolean argument handling. Tested on s390x and MIPS32.
  * Increase version requred of setuptools during install due to unicode errors.

OBS-URL: https://build.opensuse.org/request/show/789781
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2020-03-30 14:54:22 +00:00
committed by Git OBS Bridge
parent 0b67683715
commit ccf7ddabca
4 changed files with 15 additions and 5 deletions

View File

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

3
cbor2-5.1.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Mar 30 12:59:56 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 5.1.0
* Minor API change :class:`CBORSimpleValue` is now a subclass of namedtuple and allows
all numeric comparisons. This brings functional parity between C and Python modules.
* Fixes for C-module on big-endian systems including floating point decoding, smallint encoding,
and boolean argument handling. Tested on s390x and MIPS32.
* Increase version requred of setuptools during install due to unicode errors.
-------------------------------------------------------------------
Mon Mar 9 08:31:26 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-cbor2
Version: 5.0.1
Version: 5.1.0
Release: 0
Summary: Pure Python CBOR (de)serializer with extensive tag support
License: MIT
@@ -26,7 +26,7 @@ URL: https://github.com/agronholm/cbor2
Source: https://files.pythonhosted.org/packages/source/c/cbor2/cbor2-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 36.2.7}
BuildRequires: %{python_module setuptools >= 40.7.0}
BuildRequires: %{python_module setuptools_scm >= 1.7.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros