15
0

Accepting request 948286 from home:mcepl:branches:devel:languages:python

- Update to 7.0:
  - Fix spurious log messages when not breaking the lock.
  - Use modern package management by adopting pdm and
    pyproject.toml, and dropping setup.py and setup.cfg.
  - Build the docs with Python 3.8.
  - Update to version 3.0 of Sybil.
  - Adopt the Furo documentation theme.
  - Add a favicon and logos to the published documentation.
  - Use importlib.metadata.version() as a better way to get the
    package version number for the documentation.
  - Drop Python 3.6 support.
  - Update copyright years.
- Remove now irrelevant patch python-flufl.lock-fix-setup.patch.

OBS-URL: https://build.opensuse.org/request/show/948286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flufl.lock?expand=0&rev=8
This commit is contained in:
2022-01-23 23:14:21 +00:00
committed by Git OBS Bridge
parent 9dabe5c6c1
commit 0c313387ec
5 changed files with 31 additions and 21 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc748ee609ec864b4838ef649dbd1170fa79deb0c213c2fd51151bee6a7fc242
size 30762

3
flufl.lock-7.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1415f7d19d8dd96a58242e0efb90ce3cb1877fb545074ad8c1cae4cb7191fe01
size 33169

View File

@@ -1,10 +0,0 @@
Index: flufl.lock-6.0/setup.cfg
===================================================================
--- flufl.lock-6.0.orig/setup.cfg 2021-11-17 10:15:03.278762919 +0100
+++ flufl.lock-6.0/setup.cfg 2021-11-17 10:15:21.578893997 +0100
@@ -1,5 +1,4 @@
[tool:pytest]
-addopts = --cov=flufl --cov-report=term --cov-report=xml
testpaths = test docs
[flake8]

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Jan 20 18:33:51 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Update to 7.0:
- Fix spurious log messages when not breaking the lock.
- Use modern package management by adopting pdm and
pyproject.toml, and dropping setup.py and setup.cfg.
- Build the docs with Python 3.8.
- Update to version 3.0 of Sybil.
- Adopt the Furo documentation theme.
- Add a favicon and logos to the published documentation.
- Use importlib.metadata.version() as a better way to get the
package version number for the documentation.
- Drop Python 3.6 support.
- Update copyright years.
- Remove now irrelevant patch python-flufl.lock-fix-setup.patch.
-------------------------------------------------------------------
Wed Nov 17 09:13:16 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-flufl.lock
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-flufl.lock
Version: 6.0
Version: 7.0
Release: 0
Summary: NFS-safe file locking with timeouts for POSIX and Windows
License: Apache-2.0
URL: https://flufllock.readthedocs.io
URL: https://gitlab.com/warsaw/flufl.lock
Source: https://files.pythonhosted.org/packages/source/f/flufl.lock/flufl.lock-%{version}.tar.gz
Patch: python-flufl.lock-fix-setup.patch
BuildRequires: %{python_module pdm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing_extensions}
BuildRequires: fdupes
@@ -33,15 +33,16 @@ BuildRequires: python-rpm-macros
Requires: python-atpublic
Requires: python-psutil
Requires: python-typing_extensions
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module atpublic}
BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
BuildRequires: %{python_module sybil}
# /SECTION
BuildArch: noarch
%python_subpackages
%description
@@ -51,10 +52,10 @@ NFS-safe file locking with timeouts for POSIX and Windows.
%autosetup -p1 -n flufl.lock-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -63,6 +64,8 @@ NFS-safe file locking with timeouts for POSIX and Windows.
%files %{python_files}
%doc README.rst docs/NEWS.rst
%license LICENSE
%{python_sitelib}/*
%dir %{python_sitelib}/flufl
%{python_sitelib}/flufl/lock*
%{python_sitelib}/flufl.lock-%{version}*info
%changelog