2018-08-01 16:41:07 +02:00
|
|
|
#
|
|
|
|
# spec file for package python-filelock
|
|
|
|
#
|
2022-06-05 18:37:55 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2018-08-01 16:41:07 +02:00
|
|
|
# Copyright (c) 2018 Matthias Fehring <buschmann23@opensuse.org>
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-03-12 16:15:05 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-08-01 16:52:21 +02:00
|
|
|
#
|
2018-08-01 16:41:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
Name: python-filelock
|
2022-12-14 09:33:04 +01:00
|
|
|
Version: 3.8.2
|
2018-08-01 16:41:07 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Platform Independent File Lock in Python
|
2018-08-01 16:52:21 +02:00
|
|
|
License: Unlicense
|
2022-06-05 18:37:55 +02:00
|
|
|
URL: https://github.com/tox-dev/py-filelock
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/f/filelock/filelock-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module pip}
|
2019-03-12 16:15:05 +01:00
|
|
|
BuildRequires: %{python_module pytest}
|
2022-06-05 18:37:55 +02:00
|
|
|
BuildRequires: %{python_module setuptools_scm}
|
2018-08-01 16:41:07 +02:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2022-06-05 18:37:55 +02:00
|
|
|
BuildRequires: %{python_module wheel}
|
2018-08-01 16:41:07 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a single module, which implements a platform
|
|
|
|
independent file lock in Python, which provides a simple way of
|
|
|
|
inter-process communication.
|
|
|
|
|
|
|
|
%prep
|
2022-06-05 18:37:55 +02:00
|
|
|
%setup -q -n filelock-%{version}
|
2018-08-01 16:41:07 +02:00
|
|
|
|
|
|
|
%build
|
2022-06-05 18:37:55 +02:00
|
|
|
%pyproject_wheel
|
2018-08-01 16:41:07 +02:00
|
|
|
|
|
|
|
%install
|
2022-06-05 18:37:55 +02:00
|
|
|
%pyproject_install
|
2019-10-14 15:38:25 +02:00
|
|
|
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
2018-08-01 16:41:07 +02:00
|
|
|
|
2018-08-01 16:52:21 +02:00
|
|
|
%check
|
2022-06-05 18:37:55 +02:00
|
|
|
%pytest
|
2018-08-01 16:52:21 +02:00
|
|
|
|
2018-08-01 16:41:07 +02:00
|
|
|
%files %{python_files}
|
2019-06-07 15:36:30 +02:00
|
|
|
%doc README.md
|
|
|
|
%license LICENSE
|
2022-12-14 09:35:27 +01:00
|
|
|
%{python_sitelib}/filelock
|
|
|
|
%{python_sitelib}/filelock-%{version}*-info
|
2018-08-01 16:41:07 +02:00
|
|
|
|
|
|
|
%changelog
|