Sync from SUSE:SLFO:Main python-json5 revision cdebb7461d001cf25ea2a5d8d9da4bc2
This commit is contained in:
parent
26aa58e505
commit
42aeaaa341
BIN
pyjson5-0.9.14.tar.gz
(Stored with Git LFS)
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
BIN
pyjson5-0.9.25.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -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>
|
||||
|
||||
|
@ -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,24 +25,24 @@
|
||||
|
||||
%{?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
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user