1
0
python-filelock/python-filelock.spec
Dirk Mueller e77785edcd Accepting request 1009981 from home:yarunachalam:branches:devel:languages:python
- Update to version 3.8.0 
  * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #149
  * Bump actions/upload-artifact from 2 to 3 by @dependabot in #154
  * Bump actions/download-artifact from 2 to 3 by @dependabot in #152
  * Bump pre-commit/action from 2.0.3 to 3.0.0 by @dependabot in #151
  * Bump actions/checkout from 2 to 3 by @dependabot in #153
  * Bump actions/setup-python from 2 to 4 by @dependabot in #150
  * Add timeout unit to docstrings by @jnordberg in #148
  * Unify badges style by @DeadNews in #155
  * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #156
  * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #157
  * Check 3.11 support by @gaborbernat in #158
  * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #159
  * Bump dependencies by @gaborbernat in #160
  * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #162

OBS-URL: https://build.opensuse.org/request/show/1009981
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=12
2022-10-12 08:38:13 +00:00

62 lines
1.8 KiB
RPMSpec

#
# spec file for package python-filelock
#
# Copyright (c) 2022 SUSE LLC
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-filelock
Version: 3.8.0
Release: 0
Summary: Platform Independent File Lock in Python
License: Unlicense
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}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
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
%setup -q -n filelock-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%changelog