15
0
forked from pool/python-ujson

Accepting request 785388 from home:bnavigator:branches:devel:languages:python

- update to version 2.0.2
  Fix serialization issue (#382)
- reactivate Python 2 build 

Upstream still supports Python 2.7 and apparently it is needed eg.
by python-python-jsonrpc-server. See discussion in SR #785149

OBS-URL: https://build.opensuse.org/request/show/785388
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=17
This commit is contained in:
Tomáš Chvátal
2020-03-16 05:43:08 +00:00
committed by Git OBS Bridge
parent 8f8424f2ad
commit 75b21ef012
5 changed files with 16 additions and 8 deletions

View File

@@ -17,9 +17,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-ujson
Version: 2.0.1
Version: 2.0.2
Release: 0
Summary: JSON encoder and decoder for Python
License: BSD-3-Clause
@@ -42,9 +41,8 @@ BuildRequires: python-rpm-macros
%python_subpackages
%description
UltraJSON is a JSON encoder and decoder written in pure C with
bindings for Python 2.5+ and 3. For a different C/C++ JSON
decoder experience please checkout ujson4c_, based on UltraJSON.
An ultrafast JSON encoder and decoder written in pure C with
bindings for Python 2.7 and 3.5+
%prep
%setup -q -n ujson-%{version}