Accepting request 116007 from 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 (forwarded request 115865 from HighwayStar)

OBS-URL: https://build.opensuse.org/request/show/116007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyzmq?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2012-05-07 20:50:45 +00:00 committed by Git OBS Bridge
commit 6a78cf36ef
4 changed files with 31 additions and 4 deletions

View File

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

View File

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

View File

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

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python3-pyzmq
Version: 2.1.11
Release: 0
@ -25,12 +26,13 @@ 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
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)")}
%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