Hello community, here is the log from the commit of package python-zake for openSUSE:Factory checked in at 2015-05-19 23:44:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-zake (Old) and /work/SRC/openSUSE:Factory/.python-zake.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zake" Changes: -------- --- /work/SRC/openSUSE:Factory/python-zake/python-zake.changes 2015-02-27 11:10:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-zake.new/python-zake.changes 2015-05-19 23:44:32.000000000 +0200 @@ -1,0 +2,13 @@ +Thu May 14 16:18:42 UTC 2015 - benoit.mo...@gmx.fr + +- update to version 0.2.1: + * Remove testtools as an install requirement + * Changed attribute name "_child_watches" to "_child_watchers" + * Update run_zookeeper.sh +- add runtime dependencies (python-kazoo, python-six) as build + dependencies to ensure their availability +- remove python-testtools from runtime dependencies +- add test dependencies python-nose and python-testtools +- run the tests during build with nosetests + +------------------------------------------------------------------- Old: ---- zake-0.2.0.tar.gz New: ---- zake-0.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-zake.spec ++++++ --- /var/tmp/diff_new_pack.mmQyQM/_old 2015-05-19 23:44:32.000000000 +0200 +++ /var/tmp/diff_new_pack.mmQyQM/_new 2015-05-19 23:44:32.000000000 +0200 @@ -17,7 +17,7 @@ Name: python-zake -Version: 0.2.0 +Version: 0.2.1 Release: 0 Summary: Testing utilities for the kazoo library License: Apache-2.0 @@ -25,10 +25,13 @@ Url: https://github.com/yahoo/Zake Source: https://pypi.python.org/packages/source/z/zake/zake-%{version}.tar.gz BuildRequires: python-devel +BuildRequires: python-kazoo +BuildRequires: python-nose BuildRequires: python-setuptools +BuildRequires: python-six +BuildRequires: python-testtools Requires: python-kazoo Requires: python-six -Requires: python-testtools 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()")} @@ -48,6 +51,9 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +nosetests + %files %defattr(-,root,root,-) %doc README.rst ++++++ zake-0.2.0.tar.gz -> zake-0.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zake-0.2.0/PKG-INFO new/zake-0.2.1/PKG-INFO --- old/zake-0.2.0/PKG-INFO 2015-02-14 03:31:16.000000000 +0100 +++ new/zake-0.2.1/PKG-INFO 2015-03-11 01:47:47.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: zake -Version: 0.2.0 +Version: 0.2.1 Summary: A python package that works to provide a nice set of testing utilities for the kazoo library. Home-page: https://github.com/yahoo/Zake Author: Joshua Harlow diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zake-0.2.0/setup.py new/zake-0.2.1/setup.py --- old/zake-0.2.0/setup.py 2015-02-14 03:30:44.000000000 +0100 +++ new/zake-0.2.1/setup.py 2015-03-11 01:47:03.000000000 +0100 @@ -26,7 +26,7 @@ setup( name='zake', - version='0.2.0', + version='0.2.1', description='A python package that works to provide a nice set of ' 'testing utilities for the kazoo library.', author="Joshua Harlow", @@ -36,7 +36,6 @@ install_requires=[ 'kazoo', 'six', - 'testtools', ], classifiers=[ "Development Status :: 4 - Beta", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zake-0.2.0/zake/fake_client.py new/zake-0.2.1/zake/fake_client.py --- old/zake-0.2.0/zake/fake_client.py 2015-02-14 03:30:44.000000000 +0100 +++ new/zake-0.2.1/zake/fake_client.py 2015-03-11 01:47:03.000000000 +0100 @@ -69,7 +69,7 @@ def __init__(self, handler=None, storage=None, server_version=None): self._listeners = set() - self._child_watches = collections.defaultdict(list) + self._child_watchers = collections.defaultdict(list) self._data_watchers = collections.defaultdict(list) if handler is None: self._handler = k_threading.SequentialThreadingHandler() @@ -157,7 +157,7 @@ @property def child_watches(self): - return self._child_watches + return self._child_watchers @property def data_watches(self): @@ -249,7 +249,7 @@ if not self._connected: self._connected = True with self._watches_lock: - self._child_watches.clear() + self._child_watchers.clear() self._data_watchers.clear() self.storage.attach(self) self.handler.start() @@ -314,7 +314,7 @@ paths = self.storage.get_children(path) if watch: with self._watches_lock: - self._child_watches[path].append(watch) + self._child_watchers[path].append(watch) if include_data: children_with_data = [] for (child_path, data) in six.iteritems(paths): @@ -361,7 +361,7 @@ def fire_child_watches(self, child_watches): for (paths, event) in child_watches: - self._fire_watches(paths, event, self._child_watches) + self._fire_watches(paths, event, self._child_watchers) def fire_data_watches(self, data_watches): for (paths, event) in data_watches: @@ -400,7 +400,7 @@ if self._connected: self._connected = False with self._watches_lock: - self._child_watches.clear() + self._child_watchers.clear() self._data_watchers.clear() self.storage.purge(self) self._fire_state_change(k_states.KazooState.LOST) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zake-0.2.0/zake.egg-info/PKG-INFO new/zake-0.2.1/zake.egg-info/PKG-INFO --- old/zake-0.2.0/zake.egg-info/PKG-INFO 2015-02-14 03:31:16.000000000 +0100 +++ new/zake-0.2.1/zake.egg-info/PKG-INFO 2015-03-11 01:47:47.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: zake -Version: 0.2.0 +Version: 0.2.1 Summary: A python package that works to provide a nice set of testing utilities for the kazoo library. Home-page: https://github.com/yahoo/Zake Author: Joshua Harlow diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zake-0.2.0/zake.egg-info/requires.txt new/zake-0.2.1/zake.egg-info/requires.txt --- old/zake-0.2.0/zake.egg-info/requires.txt 2015-02-14 03:31:16.000000000 +0100 +++ new/zake-0.2.1/zake.egg-info/requires.txt 2015-03-11 01:47:47.000000000 +0100 @@ -1,3 +1,2 @@ kazoo -six -testtools \ No newline at end of file +six \ No newline at end of file