14
0
forked from pool/python-ujson

Accepting request 939939 from home:bnavigator:python-rpm-macros

- update to 4.3.0
  * Enable Windows on ARM64 target (#488) @nsait-linaro
- Release 4.2.0
  * Add a default keyword argument to dumps (#470) @garenchan
  * Add support for Python 3.10 (#472) @hugovk
  * Build 32-bit wheels for Windows (#481) @hugovk
  * Build PyPy3 wheels for manylinux (#475) @hugovk
  * Build wheels for musl aarch64 (aka ARM) Linux
    (musllinux_1_1_aarch64) (#478) @bwoodsend
  * Build wheels for musl Linux (musllinux_1_1_x86_64) (#476)
    @bwoodsend
  * Use declarative setup metadata (#477) @hugovk
  * Wheel building updates (#473) @hugovk
  * Rename master to main (#471) @hugovk
  * Replace README.rst with Markdown (#479) @hugovk
- Release 4.1.0
  * Add gcov coverage testing for C code (#457) @bwoodsend
  * Test Python 3.10-dev (#454) @hugovk
  * Remove unused variable (#459) @hugovk
  * Remove explicit handling of manylinux platform tag (#452)
    @bwoodsend
  * dconv no longer uses global instances of
    StringToDoubleConverter and (#469) @das-intensity
  * Switch shebang for the manylinux-wheels script (#465)
    @bwoodsend
  * Fix typos in error message (#449) @filipsalomonsson
- refresh python-ujson-system-double-conversion.patch
- Update requirements: removes unmaintained blist

OBS-URL: https://build.opensuse.org/request/show/939939
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=29
This commit is contained in:
2021-12-11 23:51:56 +00:00
committed by Git OBS Bridge
parent 11ee84eda4
commit 243d9d8f83
5 changed files with 45 additions and 16 deletions

View File

@@ -1,8 +1,8 @@
Index: ujson-2.0.1/setup.py
Index: ujson-4.3.0/setup.py
===================================================================
--- ujson-2.0.1.orig/setup.py 2020-03-08 09:02:52.000000000 +0100
+++ ujson-2.0.1/setup.py 2020-03-10 15:01:45.077782242 +0100
@@ -33,9 +33,9 @@ module1 = Extension(
--- ujson-4.3.0.orig/setup.py
+++ ujson-4.3.0/setup.py
@@ -15,9 +15,9 @@ module1 = Extension(
"./lib/ultrajsonenc.c",
"./lib/ultrajsondec.c",
],
@@ -13,4 +13,4 @@ Index: ujson-2.0.1/setup.py
+ extra_link_args=["-lstdc++", "-lm", "-ldouble-conversion"],
)
with open("python/version_template.h") as f:

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Sat Dec 11 18:15:20 UTC 2021 - Ben Greiner <code@bnavigator.de>
- update to 4.3.0
* Enable Windows on ARM64 target (#488) @nsait-linaro
- Release 4.2.0
* Add a default keyword argument to dumps (#470) @garenchan
* Add support for Python 3.10 (#472) @hugovk
* Build 32-bit wheels for Windows (#481) @hugovk
* Build PyPy3 wheels for manylinux (#475) @hugovk
* Build wheels for musl aarch64 (aka ARM) Linux
(musllinux_1_1_aarch64) (#478) @bwoodsend
* Build wheels for musl Linux (musllinux_1_1_x86_64) (#476)
@bwoodsend
* Use declarative setup metadata (#477) @hugovk
* Wheel building updates (#473) @hugovk
* Rename master to main (#471) @hugovk
* Replace README.rst with Markdown (#479) @hugovk
- Release 4.1.0
* Add gcov coverage testing for C code (#457) @bwoodsend
* Test Python 3.10-dev (#454) @hugovk
* Remove unused variable (#459) @hugovk
* Remove explicit handling of manylinux platform tag (#452)
@bwoodsend
* dconv no longer uses global instances of
StringToDoubleConverter and (#469) @das-intensity
* Switch shebang for the manylinux-wheels script (#465)
@bwoodsend
* Fix typos in error message (#449) @filipsalomonsson
- refresh python-ujson-system-double-conversion.patch
- Update requirements: removes unmaintained blist
-------------------------------------------------------------------
Mon Feb 1 18:19:31 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,10 +16,10 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-ujson
Version: 4.0.2
Version: 4.3.0
Release: 0
Summary: JSON encoder and decoder for Python
License: BSD-3-Clause
@@ -27,13 +27,10 @@ URL: https://github.com/esnme/ultrajson
Source: https://files.pythonhosted.org/packages/source/u/ujson/ujson-%{version}.tar.gz
# unbundle double-conversion (https://github.com/ultrajson/ultrajson/issues/375)
Patch0: python-ujson-system-double-conversion.patch
BuildRequires: %{python_module blist}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: double-conversion-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -61,8 +58,8 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%pytest_arch
%files %{python_files}
%doc README.rst
%doc README.md
%{python_sitearch}/ujson.*
%{python_sitearch}/ujson-%{version}-py*.egg-info
%{python_sitearch}/ujson-%{version}*-info
%changelog

View File

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

3
ujson-4.3.0.tar.gz Normal file
View File

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