15
0

- update to 8.0.2:

* Update dependencies.
  * Other minor improvements and cleanups.
  * Minor documentation fix.
  * Drop Python 3.7 support (GL#34)
  * Added a claimfile property to Lock objects
  * Switch to pdm- ackend (GL#33)
  * Use ruff for linting, since its much faster.
  * Update all dependencies eagerly.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flufl.lock?expand=0&rev=17
This commit is contained in:
2024-01-05 17:31:14 +00:00
committed by Git OBS Bridge
parent 3a61c738bd
commit ac2a1e60bf
4 changed files with 22 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-flufl.lock
#
# 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
@@ -18,15 +18,15 @@
%{?sle15_python_module_pythons}
Name: python-flufl.lock
Version: 7.1.1
Version: 8.0.2
Release: 0
Summary: NFS-safe file locking with timeouts for POSIX and Windows
License: Apache-2.0
URL: https://gitlab.com/warsaw/flufl.lock
Source: https://files.pythonhosted.org/packages/source/f/flufl.lock/flufl.lock-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/f/flufl.lock/flufl_lock-%{version}.tar.gz
BuildRequires: %{python_module atpublic >= 2.3}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pdm-pep517}
BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil >= 5.9}
BuildRequires: %{python_module typing_extensions if %python-base < 3.8}
@@ -46,7 +46,7 @@ BuildRequires: %{python_module sybil}
NFS-safe file locking with timeouts for POSIX and Windows.
%prep
%autosetup -p1 -n flufl.lock-%{version}
%autosetup -p1 -n flufl_lock-%{version}
sed -i 's/--cov=flufl --cov-report=term --cov-report=xml//' pyproject.toml
%build
@@ -64,6 +64,6 @@ sed -i 's/--cov=flufl --cov-report=term --cov-report=xml//' pyproject.toml
%license LICENSE
%dir %{python_sitelib}/flufl
%{python_sitelib}/flufl/lock
%{python_sitelib}/flufl.lock-%{version}*info
%{python_sitelib}/flufl_lock-%{version}.dist-info
%changelog