commit python-fasteners for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package python-fasteners for 
openSUSE:Factory checked in at 2020-03-27 00:25:41

Comparing /work/SRC/openSUSE:Factory/python-fasteners (Old)
 and  /work/SRC/openSUSE:Factory/.python-fasteners.new.3160 (New)


Package is "python-fasteners"

Fri Mar 27 00:25:41 2020 rev:8 rq:785576 version:0.14.1

Changes:

--- /work/SRC/openSUSE:Factory/python-fasteners/python-fasteners.changes
2020-01-01 14:58:25.677935163 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-fasteners.new.3160/python-fasteners.changes  
2020-03-27 00:25:43.584269842 +0100
@@ -1,0 +2,5 @@
+Mon Mar 16 10:34:29 UTC 2020 - Tomáš Chvátal 
+
+- Fix build without python2
+
+---



Other differences:
--
++ python-fasteners.spec ++
--- /var/tmp/diff_new_pack.WYz99v/_old  2020-03-27 00:25:44.376270243 +0100
+++ /var/tmp/diff_new_pack.WYz99v/_new  2020-03-27 00:25:44.380270245 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fasteners
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,25 +17,24 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without tests
+%bcond_without python2
 Name:   python-fasteners
 Version:0.14.1
 Release:0
 Summary:A python package that provides useful locks
 License:Apache-2.0
-Group:  Development/Languages/Python
 URL:https://github.com/harlowja/fasteners
 Source: 
https://files.pythonhosted.org/packages/source/f/fasteners/fasteners-%{version}.tar.gz
+BuildRequires:  %{python_module monotonic >= 0.1}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module testtools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-monotonic >= 0.1
 Requires:   python-six
 BuildArch:  noarch
-%if %{with tests}
-BuildRequires:  %{python_module monotonic >= 0.1}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module testtools}
+%if %{with python2}
 BuildRequires:  python-futures
 %endif
 %python_subpackages
@@ -58,14 +57,8 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with tests}
 %check
-pushd fasteners/tests
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-py.test-%{$python_bin_suffix} ./
-}
-popd
-%endif
+%pytest
 
 %files %{python_files}
 %license LICENSE




commit python-fasteners for openSUSE:Factory

2020-01-01 Thread root
Hello community,

here is the log from the commit of package python-fasteners for 
openSUSE:Factory checked in at 2020-01-01 14:57:57

Comparing /work/SRC/openSUSE:Factory/python-fasteners (Old)
 and  /work/SRC/openSUSE:Factory/.python-fasteners.new.6675 (New)


Package is "python-fasteners"

Wed Jan  1 14:57:57 2020 rev:7 rq:758634 version:0.14.1

Changes:

--- /work/SRC/openSUSE:Factory/python-fasteners/python-fasteners.changes
2019-06-13 22:31:55.268409065 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-fasteners.new.6675/python-fasteners.changes  
2020-01-01 14:58:25.677935163 +0100
@@ -1,0 +2,6 @@
+Fri Dec 20 19:17:02 UTC 2019 - Dirk Mueller 
+
+- revert back to 0.14.1 as 0.15 is blacklisted in OpenDev due
+  to races with eventlet
+
+---

Old:

  fasteners-0.15.tar.gz

New:

  fasteners-0.14.1.tar.gz



Other differences:
--
++ python-fasteners.spec ++
--- /var/tmp/diff_new_pack.9e7zGi/_old  2020-01-01 14:58:26.025935346 +0100
+++ /var/tmp/diff_new_pack.9e7zGi/_new  2020-01-01 14:58:26.029935347 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fasteners
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without tests
 Name:   python-fasteners
-Version:0.15
+Version:0.14.1
 Release:0
 Summary:A python package that provides useful locks
 License:Apache-2.0

++ fasteners-0.15.tar.gz -> fasteners-0.14.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.15/PKG-INFO new/fasteners-0.14.1/PKG-INFO
--- old/fasteners-0.15/PKG-INFO 2019-05-20 19:36:52.0 +0200
+++ new/fasteners-0.14.1/PKG-INFO   2015-11-13 07:47:25.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: fasteners
-Version: 0.15
+Version: 0.14.1
 Summary: A python package that provides useful locks.
 Home-page: https://github.com/harlowja/fasteners
 Author: Joshua Harlow
@@ -12,9 +12,6 @@
 .. image:: https://travis-ci.org/harlowja/fasteners.png?branch=master
:target: https://travis-ci.org/harlowja/fasteners
 
-.. image:: https://ci.appveyor.com/api/projects/status/7d7aku32pimpadiv
-   :target: https://ci.appveyor.com/project/JoshuaHarlow/fasteners
-
 .. image:: 
https://readthedocs.org/projects/fasteners/badge/?version=latest
:target: https://readthedocs.org/projects/fasteners/?badge=latest
:alt: Documentation Status
@@ -74,7 +71,7 @@
 Classifier: Operating System :: POSIX :: Linux
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.15/README.rst 
new/fasteners-0.14.1/README.rst
--- old/fasteners-0.15/README.rst   2019-04-26 21:18:09.0 +0200
+++ new/fasteners-0.14.1/README.rst 2015-08-08 10:15:25.0 +0200
@@ -4,9 +4,6 @@
 .. image:: https://travis-ci.org/harlowja/fasteners.png?branch=master
:target: https://travis-ci.org/harlowja/fasteners
 
-.. image:: https://ci.appveyor.com/api/projects/status/7d7aku32pimpadiv
-   :target: https://ci.appveyor.com/project/JoshuaHarlow/fasteners
-
 .. image:: https://readthedocs.org/projects/fasteners/badge/?version=latest
:target: https://readthedocs.org/projects/fasteners/?badge=latest
:alt: Documentation Status
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.15/fasteners/_utils.py 
new/fasteners-0.14.1/fasteners/_utils.py
--- old/fasteners-0.15/fasteners/_utils.py  2019-04-26 21:18:09.0 
+0200
+++ new/fasteners-0.14.1/fasteners/_utils.py2015-11-13 07:39:16.0 
+0100
@@ -17,25 +17,8 @@
 #under the License.
 
 import logging
-import sys
 import time
 
-try:
-from os import fsencode as _fsencode
-except (ImportError, AttributeError):
-def _fsencode(path):
-# Replicate similar logic to what py3.2+ fsencode does.
-# See: https://bugs.python.org/issue8514
-encoding = sys.getfilesystemencoding()
-if encoding == 'mbcs':
- 

commit python-fasteners for openSUSE:Factory

2019-06-13 Thread root
Hello community,

here is the log from the commit of package python-fasteners for 
openSUSE:Factory checked in at 2019-06-13 22:31:51

Comparing /work/SRC/openSUSE:Factory/python-fasteners (Old)
 and  /work/SRC/openSUSE:Factory/.python-fasteners.new.4811 (New)


Package is "python-fasteners"

Thu Jun 13 22:31:51 2019 rev:6 rq:708374 version:0.15

Changes:

--- /work/SRC/openSUSE:Factory/python-fasteners/python-fasteners.changes
2018-12-13 19:44:19.581021845 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-fasteners.new.4811/python-fasteners.changes  
2019-06-13 22:31:55.268409065 +0200
@@ -1,0 +2,9 @@
+Fri Jun  7 12:56:34 UTC 2019 - Marketa Calabkova 
+
+- update to version 0.15
+  * Welcome back alive!
+  * Drop Python 2.6
+  * TST: check exitcodes of child processes
+  * TST: fix multiplatform support for process lock tests
+
+---

Old:

  fasteners-0.14.1.tar.gz

New:

  fasteners-0.15.tar.gz



Other differences:
--
++ python-fasteners.spec ++
--- /var/tmp/diff_new_pack.AQmLK0/_old  2019-06-13 22:31:55.796408893 +0200
+++ /var/tmp/diff_new_pack.AQmLK0/_new  2019-06-13 22:31:55.796408893 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fasteners
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without tests
 Name:   python-fasteners
-Version:0.14.1
+Version:0.15
 Release:0
 Summary:A python package that provides useful locks
 License:Apache-2.0

++ fasteners-0.14.1.tar.gz -> fasteners-0.15.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.14.1/PKG-INFO new/fasteners-0.15/PKG-INFO
--- old/fasteners-0.14.1/PKG-INFO   2015-11-13 07:47:25.0 +0100
+++ new/fasteners-0.15/PKG-INFO 2019-05-20 19:36:52.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: fasteners
-Version: 0.14.1
+Version: 0.15
 Summary: A python package that provides useful locks.
 Home-page: https://github.com/harlowja/fasteners
 Author: Joshua Harlow
@@ -12,6 +12,9 @@
 .. image:: https://travis-ci.org/harlowja/fasteners.png?branch=master
:target: https://travis-ci.org/harlowja/fasteners
 
+.. image:: https://ci.appveyor.com/api/projects/status/7d7aku32pimpadiv
+   :target: https://ci.appveyor.com/project/JoshuaHarlow/fasteners
+
 .. image:: 
https://readthedocs.org/projects/fasteners/badge/?version=latest
:target: https://readthedocs.org/projects/fasteners/?badge=latest
:alt: Documentation Status
@@ -71,7 +74,7 @@
 Classifier: Operating System :: POSIX :: Linux
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.14.1/README.rst 
new/fasteners-0.15/README.rst
--- old/fasteners-0.14.1/README.rst 2015-08-08 10:15:25.0 +0200
+++ new/fasteners-0.15/README.rst   2019-04-26 21:18:09.0 +0200
@@ -4,6 +4,9 @@
 .. image:: https://travis-ci.org/harlowja/fasteners.png?branch=master
:target: https://travis-ci.org/harlowja/fasteners
 
+.. image:: https://ci.appveyor.com/api/projects/status/7d7aku32pimpadiv
+   :target: https://ci.appveyor.com/project/JoshuaHarlow/fasteners
+
 .. image:: https://readthedocs.org/projects/fasteners/badge/?version=latest
:target: https://readthedocs.org/projects/fasteners/?badge=latest
:alt: Documentation Status
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.14.1/fasteners/_utils.py 
new/fasteners-0.15/fasteners/_utils.py
--- old/fasteners-0.14.1/fasteners/_utils.py2015-11-13 07:39:16.0 
+0100
+++ new/fasteners-0.15/fasteners/_utils.py  2019-04-26 21:18:09.0 
+0200
@@ -17,8 +17,25 @@
 #under the License.
 
 import logging
+import sys
 import time
 
+try:
+from os import fsencode as _fsencode
+except (ImportError, AttributeError):
+def _fsencode(path):
+# Replicate similar logic to what py3.2+ fsencode does.
+# See: ht

commit python-fasteners for openSUSE:Factory

2018-12-13 Thread root
Hello community,

here is the log from the commit of package python-fasteners for 
openSUSE:Factory checked in at 2018-12-13 19:44:17

Comparing /work/SRC/openSUSE:Factory/python-fasteners (Old)
 and  /work/SRC/openSUSE:Factory/.python-fasteners.new.28833 (New)


Package is "python-fasteners"

Thu Dec 13 19:44:17 2018 rev:5 rq:654048 version:0.14.1

Changes:

--- /work/SRC/openSUSE:Factory/python-fasteners/python-fasteners.changes
2017-05-09 18:03:50.583016074 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-fasteners.new.28833/python-fasteners.changes 
2018-12-13 19:44:19.581021845 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:47:54 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-fasteners.spec ++
--- /var/tmp/diff_new_pack.NyW1Ij/_old  2018-12-13 19:44:19.993021308 +0100
+++ /var/tmp/diff_new_pack.NyW1Ij/_new  2018-12-13 19:44:19.993021308 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fasteners
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,34 +12,32 @@
 # 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/
 #
 
-%bcond_without tests
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without tests
 Name:   python-fasteners
 Version:0.14.1
 Release:0
 Summary:A python package that provides useful locks
 License:Apache-2.0
 Group:  Development/Languages/Python
-Url:https://github.com/harlowja/fasteners
+URL:https://github.com/harlowja/fasteners
 Source: 
https://files.pythonhosted.org/packages/source/f/fasteners/fasteners-%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
+Requires:   python-monotonic >= 0.1
+Requires:   python-six
+BuildArch:  noarch
 %if %{with tests}
+BuildRequires:  %{python_module monotonic >= 0.1}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module testtools}
-BuildRequires:  %{python_module monotonic >= 0.1}
 BuildRequires:  python-futures
 %endif
-Requires:   python-monotonic >= 0.1
-Requires:   python-six
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildArch:  noarch
 %python_subpackages
 
 %description
@@ -70,8 +68,8 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc ChangeLog LICENSE README.rst
+%license LICENSE
+%doc ChangeLog README.rst
 %{python_sitelib}/*
 
 %changelog




commit python-fasteners for openSUSE:Factory

2017-05-09 Thread root
Hello community,

here is the log from the commit of package python-fasteners for 
openSUSE:Factory checked in at 2017-05-09 18:03:46

Comparing /work/SRC/openSUSE:Factory/python-fasteners (Old)
 and  /work/SRC/openSUSE:Factory/.python-fasteners.new (New)


Package is "python-fasteners"

Tue May  9 18:03:46 2017 rev:4 rq:493457 version:0.14.1

Changes:

--- /work/SRC/openSUSE:Factory/python-fasteners/python-fasteners.changes
2016-01-01 19:50:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-fasteners.new/python-fasteners.changes   
2017-05-09 18:03:50.583016074 +0200
@@ -1,0 +2,6 @@
+Wed May  3 15:34:35 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version.
+- Fix source URL.
+
+---



Other differences:
--
++ python-fasteners.spec ++
--- /var/tmp/diff_new_pack.kPCkKJ/_old  2017-05-09 18:03:51.254921126 +0200
+++ /var/tmp/diff_new_pack.kPCkKJ/_new  2017-05-09 18:03:51.258920561 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fasteners
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,7 +15,9 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%bcond_without tests
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-fasteners
 Version:0.14.1
 Release:0
@@ -23,17 +25,22 @@
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:https://github.com/harlowja/fasteners
-Source: 
https://pypi.python.org/packages/source/f/fasteners/fasteners-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+Source: 
https://files.pythonhosted.org/packages/source/f/fasteners/fasteners-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+%if %{with tests}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module testtools}
+BuildRequires:  %{python_module monotonic >= 0.1}
+BuildRequires:  python-futures
+%endif
 Requires:   python-monotonic >= 0.1
 Requires:   python-six
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
 A python package that provides useful locks
@@ -47,12 +54,22 @@
 %setup -q -n fasteners-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%if %{with tests}
+%check
+pushd fasteners/tests
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
+py.test-%{$python_bin_suffix} ./
+}
+popd
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc ChangeLog LICENSE README.rst
 %{python_sitelib}/*




commit python-fasteners for openSUSE:Factory

2016-01-01 Thread h_root
Hello community,

here is the log from the commit of package python-fasteners for 
openSUSE:Factory checked in at 2016-01-01 19:48:21

Comparing /work/SRC/openSUSE:Factory/python-fasteners (Old)
 and  /work/SRC/openSUSE:Factory/.python-fasteners.new (New)


Package is "python-fasteners"

Changes:

--- /work/SRC/openSUSE:Factory/python-fasteners/python-fasteners.changes
2015-10-06 13:27:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-fasteners.new/python-fasteners.changes   
2016-01-01 19:50:23.0 +0100
@@ -1,0 +2,10 @@
+Thu Dec 17 13:42:09 UTC 2015 - tbecht...@suse.com
+
+- update to 0.14.1:
+  * Allow providing a custom exception logger
+to 'locked' decorator
+  * Allow providing a custom logger to process
+lock class
+  * Fix issue #12
+
+---

Old:

  fasteners-0.13.0.tar.gz

New:

  fasteners-0.14.1.tar.gz



Other differences:
--
++ python-fasteners.spec ++
--- /var/tmp/diff_new_pack.STFASc/_old  2016-01-01 19:50:24.0 +0100
+++ /var/tmp/diff_new_pack.STFASc/_new  2016-01-01 19:50:24.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-fasteners
-Version:0.13.0
+Version:0.14.1
 Release:0
 Summary:A python package that provides useful locks
 License:Apache-2.0

++ fasteners-0.13.0.tar.gz -> fasteners-0.14.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.13.0/ChangeLog 
new/fasteners-0.14.1/ChangeLog
--- old/fasteners-0.13.0/ChangeLog  2015-08-22 16:27:55.0 +0200
+++ new/fasteners-0.14.1/ChangeLog  2015-11-13 07:40:18.0 +0100
@@ -1,3 +1,9 @@
+0.14:
+  - Allow providing a custom exception logger
+to 'locked' decorator
+  - Allow providing a custom logger to process
+lock class
+  - Fix issue #12
 0.13:
   - Fix 'ensure_tree' check on freebsd
 0.12:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.13.0/PKG-INFO 
new/fasteners-0.14.1/PKG-INFO
--- old/fasteners-0.13.0/PKG-INFO   2015-08-22 16:29:46.0 +0200
+++ new/fasteners-0.14.1/PKG-INFO   2015-11-13 07:47:25.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: fasteners
-Version: 0.13.0
+Version: 0.14.1
 Summary: A python package that provides useful locks.
 Home-page: https://github.com/harlowja/fasteners
 Author: Joshua Harlow
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.13.0/fasteners/_utils.py 
new/fasteners-0.14.1/fasteners/_utils.py
--- old/fasteners-0.13.0/fasteners/_utils.py2015-08-08 10:15:25.0 
+0200
+++ new/fasteners-0.14.1/fasteners/_utils.py2015-11-13 07:39:16.0 
+0100
@@ -27,6 +27,14 @@
 LOG = logging.getLogger(__name__)
 
 
+def pick_first_not_none(*values):
+"""Returns first of values that is *not* None (or None if all are/were)."""
+for val in values:
+if val is not None:
+return val
+return None
+
+
 class LockStack(object):
 """Simple lock stack to get and release many locks.
 
@@ -35,8 +43,9 @@
 invalid if that is attempted.
 """
 
-def __init__(self):
+def __init__(self, logger=None):
 self._stack = []
+self._logger = pick_first_not_none(logger, LOG)
 
 def acquire_lock(self, lock):
 gotten = lock.acquire()
@@ -55,8 +64,8 @@
 try:
 lock.release()
 except Exception:
-LOG.exception("Failed releasing lock %s from lock"
-  " stack with %s locks", am_left, tot_am)
+self._logger.exception("Failed releasing lock %s from lock"
+   " stack with %s locks", am_left, tot_am)
 am_left -= 1
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.13.0/fasteners/lock.py 
new/fasteners-0.14.1/fasteners/lock.py
--- old/fasteners-0.13.0/fasteners/lock.py  2015-08-08 10:15:25.0 
+0200
+++ new/fasteners-0.14.1/fasteners/lock.py  2015-11-13 07:39:16.0 
+0100
@@ -137,7 +137,7 @@
  current_thread_functor=None):
 self._writer = None
 self._pending_writers = collections.deque()
-self._readers = collections.deque()
+self._readers = {}
 self._cond = condition_cls()
 if current_thread_functor is None:
 current_thread_functor = self._fetch_current_thread_functor()
@@ -191,7 +191,10 @@
 # No active writer, or we are the writer;
 # we are good to become a reader.
 if s

commit python-fasteners for openSUSE:Factory

2015-10-06 Thread h_root
Hello community,

here is the log from the commit of package python-fasteners for 
openSUSE:Factory checked in at 2015-10-06 13:27:40

Comparing /work/SRC/openSUSE:Factory/python-fasteners (Old)
 and  /work/SRC/openSUSE:Factory/.python-fasteners.new (New)


Package is "python-fasteners"

Changes:

--- /work/SRC/openSUSE:Factory/python-fasteners/python-fasteners.changes
2015-08-03 17:21:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-fasteners.new/python-fasteners.changes   
2015-10-06 13:27:46.0 +0200
@@ -1,0 +2,6 @@
+Sun Oct  4 09:54:45 UTC 2015 - tbecht...@suse.com
+
+- update to 0.13.0:
+  * Fix 'ensure_tree' check on freebsd
+
+---

Old:

  fasteners-0.12.0.tar.gz

New:

  fasteners-0.13.0.tar.gz



Other differences:
--
++ python-fasteners.spec ++
--- /var/tmp/diff_new_pack.0DOeW7/_old  2015-10-06 13:27:47.0 +0200
+++ /var/tmp/diff_new_pack.0DOeW7/_new  2015-10-06 13:27:47.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-fasteners
-Version:0.12.0
+Version:0.13.0
 Release:0
 Summary:A python package that provides useful locks
 License:Apache-2.0

++ fasteners-0.12.0.tar.gz -> fasteners-0.13.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.12.0/ChangeLog 
new/fasteners-0.13.0/ChangeLog
--- old/fasteners-0.12.0/ChangeLog  2015-06-19 21:19:19.0 +0200
+++ new/fasteners-0.13.0/ChangeLog  2015-08-22 16:27:55.0 +0200
@@ -1,3 +1,5 @@
+0.13:
+  - Fix 'ensure_tree' check on freebsd
 0.12:
   - Use a tiny retry util helper class
 for performing process locking
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.12.0/PKG-INFO 
new/fasteners-0.13.0/PKG-INFO
--- old/fasteners-0.12.0/PKG-INFO   2015-06-19 21:19:28.0 +0200
+++ new/fasteners-0.13.0/PKG-INFO   2015-08-22 16:29:46.0 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: fasteners
-Version: 0.12.0
+Version: 0.13.0
 Summary: A python package that provides useful locks.
 Home-page: https://github.com/harlowja/fasteners
 Author: Joshua Harlow
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.12.0/fasteners/lock.py 
new/fasteners-0.13.0/fasteners/lock.py
--- old/fasteners-0.12.0/fasteners/lock.py  2015-06-16 19:49:27.0 
+0200
+++ new/fasteners-0.13.0/fasteners/lock.py  2015-08-08 10:15:25.0 
+0200
@@ -161,14 +161,11 @@
 @property
 def owner(self):
 """Returns whether the lock is locked by a writer or reader."""
-with self._cond:
-# Obtain the lock to ensure we get a accurate view of the actual
-# owner that isn't likely to change when we are reading it...
-if self._writer is not None:
-return self.WRITER
-if self._readers:
-return self.READER
-return None
+if self._writer is not None:
+return self.WRITER
+if self._readers:
+return self.READER
+return None
 
 def is_reader(self):
 """Returns if the caller is one of the readers."""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fasteners-0.12.0/fasteners/process_lock.py 
new/fasteners-0.13.0/fasteners/process_lock.py
--- old/fasteners-0.12.0/fasteners/process_lock.py  2015-06-19 
21:19:19.0 +0200
+++ new/fasteners-0.13.0/fasteners/process_lock.py  2015-08-22 
15:34:02.0 +0200
@@ -41,6 +41,8 @@
 raise
 else:
 return False
+elif e.errno == errno.EISDIR:
+return False
 else:
 raise
 else:
@@ -207,6 +209,7 @@
 
 
 class _WindowsLock(_InterProcessLock):
+"""Interprocess lock implementation that works on windows systems."""
 
 def trylock(self):
 msvcrt.locking(self.lockfile.fileno(), msvcrt.LK_NBLCK, 1)
@@ -216,6 +219,7 @@
 
 
 class _FcntlLock(_InterProcessLock):
+"""Interprocess lock implementation that works on posix systems."""
 
 def trylock(self):
 fcntl.lockf(self.lockfile, fcntl.LOCK_EX | fcntl.LOCK_NB)
@@ -226,13 +230,9 @@
 
 if os.name == 'nt':
 import msvcrt
-
-#: Interprocess lock implementation that works on your system.
 InterProcessLock = _WindowsLock
 else:
 import fcntl
-
-#: Interprocess lock implementation that works on your system.
 InterProcessLock = _FcntlLock
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'