14
0

Accepting request 693233 from home:mcalabkova:branches:devel:languages:python

- 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.

OBS-URL: https://build.opensuse.org/request/show/693233
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zc.lockfile?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal
2019-04-11 13:04:12 +00:00
committed by Git OBS Bridge
parent c7a2d13e1b
commit cb3ab5e0a1
4 changed files with 21 additions and 14 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
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

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zc.lockfile
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -13,28 +13,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-zc.lockfile
Version: 1.2.1
Version: 1.4
Release: 0
Summary: Basic inter-process locks
License: ZPL-2.1
Group: Development/Libraries/Python
Url: https://pypi.python.org/pypi/zc.lockfile
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 mock}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module zope.testing}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# Testing requirements:
BuildRequires: %{python_module mock}
BuildRequires: %{python_module zope.testing}
Provides: python-zc-lockfile = %{version}
Obsoletes: python-zc-lockfile < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -60,14 +58,14 @@ find -name *~ -delete
# 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 -s %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root)
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt
%license LICENSE.txt
%doc CHANGES.rst COPYRIGHT.txt README.txt
%{python_sitelib}/*
%changelog

View File

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

3
zc.lockfile-1.4.tar.gz Normal file
View File

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