From 178ad33cce3be3db485ee100d2b451e4876645249e306bab080e2e5b8e0adeb7 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 3 Apr 2012 11:30:15 +0000 Subject: [PATCH 1/4] Resolved spec file conflict OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=12 --- python-pyzmq.changes | 18 ++++++++++++++++++ python-pyzmq.spec | 5 ++++- python3-pyzmq.spec | 3 ++- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/python-pyzmq.changes b/python-pyzmq.changes index dcc8c74..92fd449 100644 --- a/python-pyzmq.changes +++ b/python-pyzmq.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Mar 27 09:32:34 UTC 2012 - saschpe@suse.de + +- Update to version 2.1.11: + * remove support for LABEL prefixes. A major feature of libzmq-3.0, the LABEL + prefix, has been removed from libzmq, prior to the first stable libzmq 3.x release. + * The prefix argument to ~.Socket.send_multipart remains, but it continue to behave in + exactly the same way as it always has on 2.1.x, simply prepending message parts. + * ~.Socket.recv_multipart will always return a list, because prefixes are once + again indistinguishable from regular message parts. + * add .Socket.poll method, for simple polling of events on a single socket. + * no longer require monkeypatching tornado IOLoop. The :class:.ioloop.ZMQPoller class + is a poller implementation that matches tornado's expectations, and pyzmq sockets can + be used with any tornado application just by specifying the use of this poller. The + pyzmq IOLoop implementation now only trivially differs from tornado's. +- Don't package documentation sources + ------------------------------------------------------------------- Tue Jan 31 16:20:35 UTC 2012 - saschpe@suse.de @@ -14,6 +31,7 @@ Mon Dec 5 13:14:57 UTC 2011 - toddrme2178@gmail.com - Added python3 subpackage ------------------------------------------------------------------- +>>>>>>> .new Mon Sep 26 12:38:30 UTC 2011 - cfarrell@suse.com - license update: LGPL-3.0+ diff --git a/python-pyzmq.spec b/python-pyzmq.spec index 9a803f5..a3ef19f 100644 --- a/python-pyzmq.spec +++ b/python-pyzmq.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-pyzmq Version: 2.1.11 Release: 0 @@ -25,6 +26,7 @@ Url: http://github.com/zeromq/pyzmq Source: http://pypi.python.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz BuildRequires: python-devel BuildRequires: zeromq-devel +Suggests: zeromq BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} @@ -47,7 +49,8 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) -%doc COPYING.LESSER README.rst examples docs +%doc COPYING.LESSER README.rst examples +#%%doc docs/build/html %{python_sitearch}/* %changelog diff --git a/python3-pyzmq.spec b/python3-pyzmq.spec index 5869f21..becd8f3 100644 --- a/python3-pyzmq.spec +++ b/python3-pyzmq.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python3-pyzmq Version: 2.1.11 Release: 0 @@ -25,8 +26,8 @@ Url: http://github.com/zeromq/pyzmq Source: http://pypi.python.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: zeromq-devel -Requires: python(abi) = %{py3_ver} Requires: python3-base +Requires: python(abi) = %{py3_ver} BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} From ccc7953df70df1db6755966c95d35e0fab8c9d01647ee0e7c0f9917b3d831ea4 Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 26 Apr 2012 10:53:22 +0000 Subject: [PATCH 2/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=13 --- python-pyzmq.changes | 1 - 1 file changed, 1 deletion(-) diff --git a/python-pyzmq.changes b/python-pyzmq.changes index 92fd449..57e8c4f 100644 --- a/python-pyzmq.changes +++ b/python-pyzmq.changes @@ -31,7 +31,6 @@ Mon Dec 5 13:14:57 UTC 2011 - toddrme2178@gmail.com - Added python3 subpackage ------------------------------------------------------------------- ->>>>>>> .new Mon Sep 26 12:38:30 UTC 2011 - cfarrell@suse.com - license update: LGPL-3.0+ From 5733a57986647f5c0721dd073b16f4c84dd2f5fad14d0fbbb5174f8719951b02 Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 26 Apr 2012 15:01:20 +0000 Subject: [PATCH 3/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=14 --- python3-pyzmq.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python3-pyzmq.spec b/python3-pyzmq.spec index becd8f3..9fa4883 100644 --- a/python3-pyzmq.spec +++ b/python3-pyzmq.spec @@ -30,7 +30,7 @@ Requires: python3-base Requires: python(abi) = %{py3_ver} BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%{!?python_sitearch: %global python3_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif %description From b1ad887dfaeda2e27f493a288fd2b07c87ce3b8188d3c5552cd6733677034b24 Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 30 Apr 2012 09:38:32 +0000 Subject: [PATCH 4/4] Accepting request 115865 from home:HighwayStar:branches:devel:languages:python Fixed typo in python3_sitearch define for 11.4, py3_ver for 11.4 and older proveded, so now it builds fine on 11.4 OBS-URL: https://build.opensuse.org/request/show/115865 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=15 --- python3-pyzmq.changes | 5 +++++ python3-pyzmq.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python3-pyzmq.changes b/python3-pyzmq.changes index dcc8c74..ed73918 100644 --- a/python3-pyzmq.changes +++ b/python3-pyzmq.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 27 09:10:08 UTC 2012 - highwaystar.ru@gmail.com + +- fixed building of python3 package on openSUSE 11.4 and older + ------------------------------------------------------------------- Tue Jan 31 16:20:35 UTC 2012 - saschpe@suse.de diff --git a/python3-pyzmq.spec b/python3-pyzmq.spec index 9fa4883..d168ca0 100644 --- a/python3-pyzmq.spec +++ b/python3-pyzmq.spec @@ -27,11 +27,12 @@ Source: http://pypi.python.org/packages/source/p/pyzmq/pyzmq-%{version}. BuildRequires: python3-devel BuildRequires: zeromq-devel Requires: python3-base -Requires: python(abi) = %{py3_ver} BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python3_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%if 0%{?suse_version} && 0%{?suse_version} <= 1140 +%{!?python3_sitearch: %global python3_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)} %endif +Requires: python(abi) = %{py3_ver} %description PyZMQ is a lightweight and super-fast messaging library built on top of