Compare commits

1 Commits
main ... 1.1

4 changed files with 11 additions and 28 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

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