forked from pool/python-portalocker
- Adapt licence
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portalocker?expand=0&rev=28
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
134
python-portalocker.changes
Normal file
134
python-portalocker.changes
Normal file
@@ -0,0 +1,134 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 20 11:28:40 UTC 2025 - Peter Varkoly <varkoly@suse.com>
|
||||
|
||||
- Adapt licence
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 20 15:11:44 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.0.0:
|
||||
* Completely modernized portalocker build system and added
|
||||
fully strict pyright and mypy compliance with ruff formatting
|
||||
and checking. Dropped support for deprecated Python versions,
|
||||
only 3.9 and up are supported now.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 5 12:28:36 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.10.1:
|
||||
* fixed typo thanks to @harmstyler
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 30 20:07:44 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.10.0:
|
||||
* Properly propagating exceptions for NFS read-only lock issues
|
||||
and added support for being able to choose between lockf and
|
||||
flock
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 7 20:28:35 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.8.2:
|
||||
* Removed docs from build to fix #88 again
|
||||
- update to 2.8.0:
|
||||
* Added support for Python 3.11 and 3.12
|
||||
Made the package fully ruff, pyright and mypy compliant with
|
||||
automated testsing using both tox and Github actions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 5 07:31:01 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Update to 2.7.0:
|
||||
* Added fail_when_locked=False support to BoundedSemaphore thanks to
|
||||
@flaviens
|
||||
- 2.6.0:
|
||||
* Added fileno() support. Fixes #80 on posix systems
|
||||
- 2.5.1:
|
||||
* Added clear warning when locking in non-blocking mode without
|
||||
specifying either EXCLUSIVE or SHARED mode. Fixes #77
|
||||
- 2.5.0:
|
||||
* Fixed shared locks on Windows and simplified locking mechanism
|
||||
- 2.4.0:
|
||||
* Added warning when trying to use a timeout in blocking mode. And
|
||||
removed deprecated testing code and checks
|
||||
- 2.3.2:
|
||||
* Added semver indicator and specified needed Python release thanks
|
||||
to @rayluo v2.3.2
|
||||
- 2.3.1:
|
||||
* Removed Python 2 classifier thanks to @rayluo v2.3.1
|
||||
- 2.3.0:
|
||||
* enabled PEP 561 compliance v2.3.0
|
||||
- 2.2.1:
|
||||
* removed debug statement v2.2.1
|
||||
- 2.2.0:
|
||||
* updated travis location
|
||||
- 2.1.0:
|
||||
* Added Redis based distributed lock which gracefully handles
|
||||
connection loss and dying applications. Added full type hinting
|
||||
support. Fixed bug where the file handle was not always explicitly
|
||||
closed with errors
|
||||
- v2.0.0:
|
||||
* Removed support for old Python versions. Versions 3.5 and above
|
||||
are supported. Added BoundedSemaphore class
|
||||
- 1.7.1:
|
||||
* removed tests from wheel file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:29:36 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add sle15_python_module_pythons (jsc#PED-68)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 13 22:43:08 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Make calling of %{sle15modernpython} optional.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 3 20:15:46 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Update to v1.7.0
|
||||
* Fix ResourceWarning unclosed file if LockException is raised
|
||||
- from v1.6.0
|
||||
* Fixed unlocking bug on Windows
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 18 08:44:55 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- Update to 1.5.2
|
||||
* Allow for development setuptools
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 13:21:44 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.5.1:
|
||||
* no upstream changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 11:18:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.5.0:
|
||||
* No upstream changelog
|
||||
- Switch to github tarball to include tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 14 12:13:23 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.4.0:
|
||||
* no upstream changelog
|
||||
- Drop patch portalocker-1.2.1-old-Sphinx.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 18 11:27:33 UTC 2018 - jengelh@inai.de
|
||||
|
||||
- Clear filler wording from description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 17 12:40:14 UTC 2018 - mcepl@suse.com
|
||||
|
||||
- Fix specfile name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 17 12:07:31 UTC 2018 - mcepl@suse.com
|
||||
|
||||
- Initial packaging effort
|
||||
69
python-portalocker.spec
Normal file
69
python-portalocker.spec
Normal file
@@ -0,0 +1,69 @@
|
||||
#
|
||||
# spec file for package python-portalocker
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-portalocker
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: Locking library for Python
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/WoLpH/portalocker
|
||||
Source: https://github.com/WoLpH/portalocker/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 3.4.0}
|
||||
BuildRequires: %{python_module setuptools >= 38.3.0}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Suggests: python-redis
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Portalocker is a library to provide an API to file locking.
|
||||
|
||||
On Linux and Unix systems, the locks are advisory by default. By
|
||||
specifying the `-o mand` option to the mount command, it is possible
|
||||
to enable mandatory file locking on Linux. This is generally not
|
||||
recommended however.
|
||||
|
||||
%prep
|
||||
%setup -q -n portalocker-%{version}
|
||||
# do not bother with benchmark and cov
|
||||
rm pytest.ini
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Do not test redis, the optional dependency is not installed by
|
||||
# default
|
||||
%pytest --ignore portalocker_tests/test_redis.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/portalocker
|
||||
%{python_sitelib}/portalocker-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
3
v2.10.0.tar.gz
Normal file
3
v2.10.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d4d4418bf730bc19d0a4b0a0201cb3b004c59b1e1770fa3f5c4a139e0d524802
|
||||
size 34084
|
||||
3
v2.10.1.tar.gz
Normal file
3
v2.10.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:78967d066afd336baea06e2ba5e93d0ad96bf3f8dd03cb3fc0d40318154bb9cc
|
||||
size 34084
|
||||
BIN
v3.0.0.tar.gz
LFS
Normal file
BIN
v3.0.0.tar.gz
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user