forked from pool/python-kazoo
Accepting request 518136 from home:tbechtold:branches:devel:languages:python
- update to 2.4.0: * add missed parens to LockingQueue function call. * revert PR #305 SetWatches which caused RuntimeError * pep8 all the things * drop Python 2.6/3.3 official support, add 3.5/3.6 testing * allow multiple endpoints in KazooClient hosts arg * use epoll when available to support fds > 1023 * Add TreeCache recipe * update MANIFEST.in to reflect changes to filenames * add travis deployment and update ZK versions * allow having observers and different sized clusters * fully resolve multiple records for hosts in the zookeeper connection string * Fix the recipe examples, so they actually work by connecting to ZooKeeper. Without start() they just hang and can't be killed. OBS-URL: https://build.opensuse.org/request/show/518136 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kazoo?expand=0&rev=7
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:525a9959b98a1203530bee01446b365a9f7f1caa69399af0151127178941eb82
|
|
||||||
size 108037
|
|
||||||
3
kazoo-2.4.0.tar.gz
Normal file
3
kazoo-2.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a7c2d1d7ddb047c936d368e31b08a93bb327ffa46606fe85f550a37ce608c29b
|
||||||
|
size 142830
|
||||||
@@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 22 13:40:43 UTC 2017 - tbechtold@suse.com
|
||||||
|
|
||||||
|
- update to 2.4.0:
|
||||||
|
* add missed parens to LockingQueue function call.
|
||||||
|
* revert PR #305 SetWatches which caused RuntimeError
|
||||||
|
* pep8 all the things
|
||||||
|
* drop Python 2.6/3.3 official support, add 3.5/3.6 testing
|
||||||
|
* allow multiple endpoints in KazooClient hosts arg
|
||||||
|
* use epoll when available to support fds > 1023
|
||||||
|
* Add TreeCache recipe
|
||||||
|
* update MANIFEST.in to reflect changes to filenames
|
||||||
|
* add travis deployment and update ZK versions
|
||||||
|
* allow having observers and different sized clusters
|
||||||
|
* fully resolve multiple records for hosts in the zookeeper
|
||||||
|
connection string
|
||||||
|
* Fix the recipe examples, so they actually work by connecting to
|
||||||
|
ZooKeeper. Without start() they just hang and can't be killed.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 29 14:41:34 UTC 2016 - dmueller@suse.com
|
Thu Sep 29 14:41:34 UTC 2016 - dmueller@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-kazoo
|
# spec file for package python-kazoo
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,21 +16,18 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
|
||||||
Name: python-kazoo
|
Name: python-kazoo
|
||||||
Version: 2.2.1
|
Version: 2.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Higher Level Zookeeper Client
|
Summary: Higher Level Zookeeper Client
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/yahoo/Zake
|
Url: https://github.com/yahoo/Zake
|
||||||
Source: https://pypi.io/packages/source/k/kazoo/kazoo-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/k/kazoo/kazoo-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
# Test requirements:
|
# Test requirements:
|
||||||
@@ -40,6 +37,9 @@ Requires: python-six
|
|||||||
#BuildRequires: python-nose
|
#BuildRequires: python-nose
|
||||||
#BuildRequires: python-nose
|
#BuildRequires: python-nose
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Implements a higher level API to Apache Zookeeper for Python clients.
|
Implements a higher level API to Apache Zookeeper for Python clients.
|
||||||
@@ -48,18 +48,18 @@ Implements a higher level API to Apache Zookeeper for Python clients.
|
|||||||
%setup -q -n kazoo-%{version}
|
%setup -q -n kazoo-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
|
||||||
#NOTE(saschpe): Currently require a running Zookeeper instance:
|
#NOTE(saschpe): Currently require a running Zookeeper instance:
|
||||||
#%%check
|
#%%check
|
||||||
#python setup.py test
|
#python setup.py test
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE README.rst
|
%doc LICENSE README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user