From 4c06cc472cb6221028713d43636e10bf4f7ab7df27d069a1af23bd8b6e08fde4 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 17 May 2023 12:09:44 +0000 Subject: [PATCH 1/2] Accepting request 1087456 from home:cboltz:branches:devel:languages:python - Update to 3.16.1 * no upstream changelog OBS-URL: https://build.opensuse.org/request/show/1087456 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json_tricks?expand=0&rev=23 --- pyjson_tricks-3.15.5.tar.gz | 3 --- pyjson_tricks-3.16.1.tar.gz | 3 +++ python-json_tricks.changes | 6 ++++++ python-json_tricks.spec | 6 +++--- 4 files changed, 12 insertions(+), 6 deletions(-) delete mode 100644 pyjson_tricks-3.15.5.tar.gz create mode 100644 pyjson_tricks-3.16.1.tar.gz diff --git a/pyjson_tricks-3.15.5.tar.gz b/pyjson_tricks-3.15.5.tar.gz deleted file mode 100644 index 31f96b1..0000000 --- a/pyjson_tricks-3.15.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dce2e5d58b7670f4afcb2f52832e1340d00db344e5bbff7a992e3b89d545d0b1 -size 41517 diff --git a/pyjson_tricks-3.16.1.tar.gz b/pyjson_tricks-3.16.1.tar.gz new file mode 100644 index 0000000..305d4f7 --- /dev/null +++ b/pyjson_tricks-3.16.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1c38b1d7d51e361a0bc23e392ee6cecec9b1f9a9c52ea301fbb7b0718c85899 +size 41064 diff --git a/python-json_tricks.changes b/python-json_tricks.changes index 386f602..01cf292 100644 --- a/python-json_tricks.changes +++ b/python-json_tricks.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 16 18:39:56 UTC 2023 - Christian Boltz + +- Update to 3.16.1 + * no upstream changelog + ------------------------------------------------------------------- Thu Jul 14 17:58:22 UTC 2022 - Ben Greiner diff --git a/python-json_tricks.spec b/python-json_tricks.spec index 09940dc..7425527 100644 --- a/python-json_tricks.spec +++ b/python-json_tricks.spec @@ -1,7 +1,7 @@ # # spec file for package python-json_tricks # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-json_tricks -Version: 3.15.5 +Version: 3.16.1 Release: 0 Summary: Extra features for Python's JSON License: BSD-3-Clause @@ -75,7 +75,7 @@ As well as compression and disallowing duplicate keys. %pytest %files %{python_files} -%doc README.rst +%doc README.md %license LICENSE.txt %{python_sitelib}/json_tricks %{python_sitelib}/json_tricks-%{version}*-info From 3933ecbfcd1886962e97ab92415d6812e24cd0775e564689ffd0664ed54a6f7e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 17 May 2023 12:15:36 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json_tricks?expand=0&rev=24 --- python-json_tricks.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python-json_tricks.spec b/python-json_tricks.spec index 7425527..ea6a2cf 100644 --- a/python-json_tricks.spec +++ b/python-json_tricks.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-json_tricks Version: 3.16.1 @@ -25,7 +24,8 @@ Summary: Extra features for Python's JSON License: BSD-3-Clause URL: https://github.com/mverleg/pyjson_tricks Source: https://github.com/mverleg/pyjson_tricks/archive/v%{version}.tar.gz#/pyjson_tricks-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Recommends: python-numpy @@ -62,13 +62,13 @@ python handling of json files: As well as compression and disallowing duplicate keys. %prep -%setup -q -n pyjson_tricks-%{version} +%autosetup -p1 -n pyjson_tricks-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check