diff --git a/pyjson5-0.9.14.tar.gz b/pyjson5-0.9.14.tar.gz deleted file mode 100644 index 45cc9c8..0000000 --- a/pyjson5-0.9.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e7d27778960a7ef30b3d69bf3bf61ee152b211a956fcd92e09162b6852c3ad64 -size 111681 diff --git a/pyjson5-0.9.25.tar.gz b/pyjson5-0.9.25.tar.gz new file mode 100644 index 0000000..23139ab --- /dev/null +++ b/pyjson5-0.9.25.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a31db9a7d2cd102051e27efd519b9670a3b6be7b9d951145637c0a3e2350e141 +size 363613 diff --git a/python-json5.changes b/python-json5.changes index 99e3742..a18d340 100644 --- a/python-json5.changes +++ b/python-json5.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Apr 15 06:16:21 UTC 2024 - Dirk Müller + +- 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 + +- 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 diff --git a/python-json5.spec b/python-json5.spec index b3b54dd..f3559d2 100644 --- a/python-json5.spec +++ b/python-json5.spec @@ -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