15
0

Accepting request 871217 from home:gladiac:branches:devel:languages:python

- Update to version 5.0.4
  * https://gitlab.com/warsaw/flufl.lock/-/blob/5.0.4/docs/NEWS.rst
- Removed LICENSE (part of the tarball now)
- Added python-flufl.lock-fix-setup.patch

OBS-URL: https://build.opensuse.org/request/show/871217
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flufl.lock?expand=0&rev=3
This commit is contained in:
2021-02-11 17:20:42 +00:00
committed by Git OBS Bridge
parent 7d03005c80
commit b486043225
6 changed files with 34 additions and 27 deletions

13
LICENSE
View File

@@ -1,13 +0,0 @@
Copyright 2004-2017 Barry Warsaw
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

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

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

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

View File

@@ -0,0 +1,10 @@
Index: flufl.lock-5.0.4/setup.cfg
===================================================================
--- flufl.lock-5.0.4.orig/setup.cfg 2021-01-02 03:42:37.032559900 +0100
+++ flufl.lock-5.0.4/setup.cfg 2021-02-11 09:11:24.784359755 +0100
@@ -1,5 +1,4 @@
[tool:pytest]
-addopts = --cov=flufl
testpaths = test docs
[flake8]

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 11 07:45:45 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 5.0.4
* https://gitlab.com/warsaw/flufl.lock/-/blob/5.0.4/docs/NEWS.rst
- Removed LICENSE (part of the tarball now)
- Added python-flufl.lock-fix-setup.patch
-------------------------------------------------------------------
Mon Dec 2 10:47:12 UTC 2019 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-flufl.lock
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,33 +19,35 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-flufl.lock
Version: 3.2
Version: 5.0.4
Release: 0
Summary: NFS-safe file locking with timeouts for POSIX systems
Summary: NFS-safe file locking with timeouts for POSIX and Windows
License: Apache-2.0
URL: https://flufllock.readthedocs.io
Source0: https://files.pythonhosted.org/packages/source/f/flufl.lock/flufl.lock-%{version}.tar.gz
# https://gitlab.com/warsaw/flufl.lock/merge_requests/11
Source1: https://gitlab.com/warsaw/flufl.lock/raw/master/LICENSE
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 setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-atpublic
BuildArch: noarch
Requires: python-psutil
Suggests: python-typing_extensions
# SECTION test requirements
BuildRequires: %{python_module atpublic}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module sybil}
# /SECTION
BuildArch: noarch
%python_subpackages
%description
NFS-safe file locking with timeouts for POSIX systems.
NFS-safe file locking with timeouts for POSIX and Windows.
%prep
%setup -q -n flufl.lock-%{version}
%autosetup -p1 -n flufl.lock-%{version}
%build
cp %{SOURCE1} .
%python_build
%install
@@ -56,7 +58,7 @@ cp %{SOURCE1} .
%pytest
%files %{python_files}
%doc README.rst
%doc README.rst docs/NEWS.rst
%license LICENSE
%{python_sitelib}/*