Sync from SUSE:SLFO:Main python-json5 revision cdebb7461d001cf25ea2a5d8d9da4bc2

This commit is contained in:
Adrian Schröter 2024-12-13 11:39:07 +01:00
parent 26aa58e505
commit 42aeaaa341
4 changed files with 28 additions and 11 deletions

BIN
pyjson5-0.9.14.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pyjson5-0.9.25.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Apr 15 06:16:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.9.25:
* Explicitly specify the directory to use for the package in
pyproject.toml.
-------------------------------------------------------------------
Mon Mar 25 20:18:38 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.9.24:
* drop python2
* switch to pyproject.toml
* add typing
* format with ruff
-------------------------------------------------------------------
Mon Nov 27 19:03:15 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-json5
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -25,18 +25,18 @@
%{?sle15_python_module_pythons}
Name: python-json5
Version: 0.9.14
Version: 0.9.25
Release: 0
Summary: A Python implementation of the JSON5 data format
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/dpranke/pyjson5
Source: https://github.com/dpranke/pyjson5/archive/v%{version}.tar.gz#/pyjson5-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
Requires: python-setuptools
%if %{with libalternatives}
Requires: alts
BuildRequires: alts
@ -62,10 +62,10 @@ slightly more usable as a configuration language:
%setup -q -n pyjson5-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/pyjson5
%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@ -87,6 +87,7 @@ slightly more usable as a configuration language:
%doc README.md
%license LICENSE
%python_alternative %{_bindir}/pyjson5
%{python_sitelib}/*
%{python_sitelib}/json5
%{python_sitelib}/json5-%{version}.dist-info
%changelog