From 243d9d8f839db14cf4f918dca444f15c823404e599c0df5f58024ac5370023a0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 11 Dec 2021 23:51:56 +0000 Subject: [PATCH] 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 --- python-ujson-system-double-conversion.patch | 10 +++---- python-ujson.changes | 32 +++++++++++++++++++++ python-ujson.spec | 13 ++++----- ujson-4.0.2.tar.gz | 3 -- ujson-4.3.0.tar.gz | 3 ++ 5 files changed, 45 insertions(+), 16 deletions(-) delete mode 100644 ujson-4.0.2.tar.gz create mode 100644 ujson-4.3.0.tar.gz diff --git a/python-ujson-system-double-conversion.patch b/python-ujson-system-double-conversion.patch index d91d8da..287a472 100644 --- a/python-ujson-system-double-conversion.patch +++ b/python-ujson-system-double-conversion.patch @@ -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: diff --git a/python-ujson.changes b/python-ujson.changes index 781791f..280fd4a 100644 --- a/python-ujson.changes +++ b/python-ujson.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Sat Dec 11 18:15:20 UTC 2021 - Ben Greiner + +- 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 diff --git a/python-ujson.spec b/python-ujson.spec index 2198633..003b086 100644 --- a/python-ujson.spec +++ b/python-ujson.spec @@ -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 diff --git a/ujson-4.0.2.tar.gz b/ujson-4.0.2.tar.gz deleted file mode 100644 index afc0d13..0000000 --- a/ujson-4.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c615a9e9e378a7383b756b7e7a73c38b22aeb8967a8bfbffd4741f7ffd043c4d -size 7129106 diff --git a/ujson-4.3.0.tar.gz b/ujson-4.3.0.tar.gz new file mode 100644 index 0000000..04569fb --- /dev/null +++ b/ujson-4.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:baee56eca35cb5fbe02c28bd9c0936be41a96fa5c0812d9d4b7edeb5c3d568a0 +size 7129405