forked from pool/python-ruamel.std.pathlib
- update to 0.12.0:
* drop python 2.x support * add orjson * implemented chunked blake OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.std.pathlib?expand=0&rev=11
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 27 10:51:28 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <mcepl@suse.com>
|
||||
|
||||
|
@@ -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
|
||||
|
3
ruamel.std.pathlib-0.12.0.tar.gz
Normal file
3
ruamel.std.pathlib-0.12.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6489bb40856d458fc5c3e7ffee454044c5f4db5be3c6fbd8520066436e0af3bd
|
||||
size 24343
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b7f7444ff3a0c60b2dab44afde4443f098264e3746a2489e155abd55bf6ec65
|
||||
size 22767
|
Reference in New Issue
Block a user