Sync from SUSE:SLFO:Main python-zc.lockfile revision 89666f3f9188e533b32c2ed4e4aea84d
This commit is contained in:
commit
58e027aac8
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
|
76
python-zc.lockfile.changes
Normal file
76
python-zc.lockfile.changes
Normal file
@ -0,0 +1,76 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 10 09:15:59 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 23 09:53:37 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: do not use python setup.py test
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 12 10:35:36 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to version 2.0
|
||||
* Extracted new SimpleLockFile that removes implicit behavior
|
||||
writing to the lock file, and instead allows a subclass to
|
||||
define that behavior.
|
||||
* SimpleLockFile and thus LockFile are now new-style classes. Any
|
||||
clients relying on LockFile being an old-style class will need
|
||||
to be adapted.
|
||||
* Drop support for Python 3.4.
|
||||
* Add support for Python 3.8b3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 9 11:06:01 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to version 1.4
|
||||
* Claim support for Python 3.4, 3.5, 3.6 and 3.7.
|
||||
* Drop Python 2.6, 3.2 and 3.3.
|
||||
* Stop logging failure to acquire locks. Clients can do that if
|
||||
they wish.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 24 10:53:56 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Update to 1.2.1
|
||||
* Fixed: unlocking and locking didn’t work when a
|
||||
multiprocessing process was running (and presumably other
|
||||
conditions).
|
||||
1.2.0:
|
||||
* Added the ability to include the hostname in the lock file
|
||||
content.
|
||||
* Code and ReST markup cosmetics. [alecghica]
|
||||
|
||||
- Converted to single-spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 3 17:36:14 UTC 2013 - hpj@urpla.net
|
||||
|
||||
- Update to 1.1.0 version:
|
||||
* Added Trove classifiers and made setup.py zest.releaser friendly.
|
||||
* Added Python 3.2, 3.3 and PyPy 1.9 support.
|
||||
* Removed Python 2.4 and Python 2.5 support.
|
||||
|
||||
- renamed to python-zc.lockfile
|
||||
- enable testing
|
||||
- improve doc and packaging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 14 14:45:30 UTC 2013 - p.drouand@gmail.com
|
||||
|
||||
- Update to 1.0.2 version:
|
||||
* Fixed: the fix included in 1.0.1 caused multiple pids to be written
|
||||
to the lock file
|
||||
- Clean the specfile by removing redundant and useless tags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 10 12:49:38 UTC 2010 - coolo@novell.com
|
||||
|
||||
- fix file list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 2 14:14:44 UTC 2010 - hvogel@novell.com
|
||||
|
||||
- Initial Package, Version 1.0.0
|
||||
|
77
python-zc.lockfile.spec
Normal file
77
python-zc.lockfile.spec
Normal file
@ -0,0 +1,77 @@
|
||||
#
|
||||
# spec file for package python-zc.lockfile
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# 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-zc.lockfile
|
||||
Version: 2.0
|
||||
Release: 0
|
||||
Summary: Basic inter-process locks
|
||||
License: ZPL-2.1
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://pypi.python.org/pypi/zc.lockfile
|
||||
Source: https://files.pythonhosted.org/packages/source/z/zc.lockfile/zc.lockfile-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module zope.testing}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if 0%{?suse_version} <= 1500
|
||||
BuildRequires: python2-mock
|
||||
%endif
|
||||
Provides: python-zc-lockfile = %{version}
|
||||
Obsoletes: python-zc-lockfile < %{version}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
The zc.lockfile package provides a basic portable implementation of
|
||||
interprocess locks using lock files. The purpose if not specifically to lock
|
||||
files, but to simply provide locks with an implementation based on file-locking
|
||||
primitives. Of course, these locks could be used to mediate access to other
|
||||
files. For example, the ZODB file storage implementation uses file locks to
|
||||
mediate access to file-storage database files. The database files and lock file
|
||||
files are separate files.
|
||||
|
||||
%prep
|
||||
%setup -q -n zc.lockfile-%{version}
|
||||
rm -rf src/zc.lockfile.egg-info
|
||||
find -name *~ -delete
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
# concatenate both README.txt
|
||||
cat %{buildroot}%{python_sitelib}/zc/lockfile/README.txt >> README.txt
|
||||
rm %{buildroot}%{python_sitelib}/zc/lockfile/README.txt
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
cd build/lib
|
||||
%{python_expand export PYTHONPATH='.'
|
||||
$python -m unittest -v zc.lockfile.tests
|
||||
$python -m doctest -v zc/lockfile/README.txt
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc CHANGES.rst COPYRIGHT.txt README.txt
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
BIN
zc.lockfile-2.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
zc.lockfile-2.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user