diff --git a/python-ruamel.std.pathlib.changes b/python-ruamel.std.pathlib.changes index 100e69f..785a8c2 100644 --- a/python-ruamel.std.pathlib.changes +++ b/python-ruamel.std.pathlib.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Jan 27 10:51:28 UTC 2024 - Dirk Müller + +- update to 0.12.0: + * drop python 2.x support + * add orjson + * implemented chunked blake + ------------------------------------------------------------------- Tue Oct 25 19:51:11 UTC 2022 - Matej Cepl diff --git a/python-ruamel.std.pathlib.spec b/python-ruamel.std.pathlib.spec index 62a8e4f..f4f740a 100644 --- a/python-ruamel.std.pathlib.spec +++ b/python-ruamel.std.pathlib.spec @@ -1,7 +1,7 @@ # # spec file for package python-ruamel.std.pathlib # -# Copyright (c) 2022 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 @@ -17,16 +17,20 @@ Name: python-ruamel.std.pathlib -Version: 0.9.2 +Version: 0.12.0 Release: 0 Summary: Improvements over the standard pathlib module and pathlib2 package License: MIT Group: Development/Languages/Python URL: https://sourceforge.net/projects/ruamel-std-pathlib/ Source: https://files.pythonhosted.org/packages/source/r/ruamel.std.pathlib/ruamel.std.pathlib-%{version}.tar.gz +BuildRequires: %{python_module orjson} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-orjson Requires: python-ruamel.base >= 1.0.0+post1 BuildArch: noarch %python_subpackages @@ -36,22 +40,21 @@ Improvements over the standard pathlib module and pathlib2 package. %prep %setup -q -n ruamel.std.pathlib-%{version} -sed -i '/keywords=/d' setup.py %build -%python_build +%pyproject_wheel %install export RUAMEL_NO_PIP_INSTALL_CHECK=1 -%python_install -# This makes this package the owner of the Python 2 namespace ruamel.std -%{python_expand touch %{buildroot}%{$python_sitelib}/ruamel/std/__init__.py -%fdupes %{buildroot}%{$python_sitelib} -} +%pyproject_install %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%dir %{python_sitelib}/ruamel +%dir %{python_sitelib}/ruamel/std +%{python_sitelib}/ruamel/std/pathlib +%{python_sitelib}/ruamel.std.pathlib-%{version}-py3*-nspkg.pth +%{python_sitelib}/ruamel.std.pathlib-%{version}.dist-info %changelog diff --git a/ruamel.std.pathlib-0.12.0.tar.gz b/ruamel.std.pathlib-0.12.0.tar.gz new file mode 100644 index 0000000..ea2584f --- /dev/null +++ b/ruamel.std.pathlib-0.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6489bb40856d458fc5c3e7ffee454044c5f4db5be3c6fbd8520066436e0af3bd +size 24343 diff --git a/ruamel.std.pathlib-0.9.2.tar.gz b/ruamel.std.pathlib-0.9.2.tar.gz deleted file mode 100644 index 5d42bff..0000000 --- a/ruamel.std.pathlib-0.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b7f7444ff3a0c60b2dab44afde4443f098264e3746a2489e155abd55bf6ec65 -size 22767