Hello community,

here is the log from the commit of package python-pyzmq for openSUSE:Factory 
checked in at 2012-05-21 10:27:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyzmq (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyzmq.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyzmq", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyzmq/python-pyzmq.changes        
2012-05-07 22:50:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyzmq.new/python-pyzmq.changes   
2012-05-21 10:28:13.000000000 +0200
@@ -1,0 +2,10 @@
+Fri May 18 09:07:39 UTC 2012 - [email protected]
+
+- Fix rpmlint warnings
+
+-------------------------------------------------------------------
+Fri Apr 27 09:10:08 UTC 2012 - [email protected]
+
+- fixed building of python3 package on openSUSE 11.4 and older 
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/python-pyzmq/python3-pyzmq.changes       
2012-05-07 22:50:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyzmq.new/python3-pyzmq.changes  
2012-05-21 10:28:13.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 18 09:07:39 UTC 2012 - [email protected]
+
+- Fix rpmlint warnings
+
+-------------------------------------------------------------------
@@ -4,0 +10,17 @@
+
+-------------------------------------------------------------------
+Tue Mar 27 09:32:34 UTC 2012 - [email protected]
+
+- 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

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyzmq.spec ++++++
--- /var/tmp/diff_new_pack.3mg9eJ/_old  2012-05-21 10:28:34.000000000 +0200
+++ /var/tmp/diff_new_pack.3mg9eJ/_new  2012-05-21 10:28:34.000000000 +0200
@@ -15,20 +15,24 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-Name:           python-pyzmq
+%define pyname  zmq
+%define modname py%{pyname}
+Name:           python-%{modname}
 Version:        2.1.11
 Release:        0
 Summary:        Python bindings for 0MQ
 License:        LGPL-3.0+
 Group:          Development/Languages/Python
 Url:            http://github.com/zeromq/pyzmq
-Source:         
http://pypi.python.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz
+Source:         
http://pypi.python.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  zeromq-devel
 Suggests:       zeromq
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%if 0%{?suse_version}
+%py_requires
+%endif
+%if 0%{?suse_version} <= 1110
 %{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 %endif
 
@@ -36,21 +40,42 @@
 PyZMQ is a lightweight and super-fast messaging library built on top of
 the ZeroMQ library (http://www.zeromq.org).
 
+%package devel
+Group:          Development/Languages/Python
+Summary:        Development files for %{name}
+License:        LGPL-3.0+
+Requires:       %{name} = %{version}
+Requires:       python-devel
+Requires:       zeromq-devel
+%if 0%{?suse_version}
+%py_requires -d
+%endif
+
+%description devel
+Development libraries and headers needed to build 
+software using %{name}
+
 %prep
-%setup -q -n pyzmq-%{version}
-sed -i "1d" 
zmq/{eventloop/stack_context,tests/test_{message,zmqstream,socket,error,stopwatch},log/handlers}.py
+%setup -q -n %{modname}-%{version}
+sed -i "1d" 
%{pyname}/{eventloop/stack_context,tests/test_{message,zmqstream,socket,error,stopwatch},log/handlers}.py
 
 %build
 CFLAGS="%{optflags}" python setup.py build
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-#cd docs && make html && rm build/html/.buildinfo # Build documentation and 
remove temporary files
+chmod +x %{buildroot}%{python_sitearch}/%{pyname}/eventloop/platform/posix.py
+chmod +x %{buildroot}%{python_sitearch}/%{pyname}/eventloop/platform/auto.py
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING.LESSER README.rst examples
-#%%doc docs/build/html
-%{python_sitearch}/*
+%doc COPYING.LESSER README.rst examples docs
+%{python_sitearch}/%{pyname}/
+%{python_sitearch}/%{modname}-%{version}-py%{py_ver}.egg-info
+%exclude %{python_sitearch}/%{pyname}/utils/*.h
+
+%files devel
+%defattr(-,root,root,-)
+%{python_sitearch}/%{pyname}/utils/*.h
 
 %changelog

++++++ python3-pyzmq.spec ++++++
--- /var/tmp/diff_new_pack.3mg9eJ/_old  2012-05-21 10:28:34.000000000 +0200
+++ /var/tmp/diff_new_pack.3mg9eJ/_new  2012-05-21 10:28:34.000000000 +0200
@@ -15,43 +15,66 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-Name:           python3-pyzmq
+%define pyname  zmq
+%define modname py%{pyname}
+Name:           python3-%{modname}
 Version:        2.1.11
 Release:        0
 Summary:        Python bindings for 0MQ
 License:        LGPL-3.0+
 Group:          Development/Languages/Python
 Url:            http://github.com/zeromq/pyzmq
-Source:         
http://pypi.python.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz
+Source:         
http://pypi.python.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
+BuildRequires:  python3
+BuildRequires:  python3-2to3
 BuildRequires:  python3-devel
 BuildRequires:  zeromq-devel
-Requires:       python3-base
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%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))")}
+%if 0%{?suse_version} <= 1140
+%{!?python3_sitearch: %global python3_sitearch %(python3 -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}
+Requires:       python3 >= %{py3_ver}
 
 %description
 PyZMQ is a lightweight and super-fast messaging library built on top of
 the ZeroMQ library (http://www.zeromq.org).
 
+%package devel
+Group:          Development/Languages/Python
+Summary:        Development files for %{name}
+License:        LGPL-3.0+
+Requires:       %{name} = %{version}
+Requires:       python(abi) = %{py3_ver}
+Requires:       python3 >= %{py3_ver}
+Requires:       python3-devel >= %{py3_ver}
+Requires:       zeromq-devel
+
+%description devel
+Development libraries and headers needed to build 
+software using %{name}
+
 %prep
-%setup -q -n pyzmq-%{version}
-sed -i "1d" 
zmq/{eventloop/stack_context,tests/test_{message,zmqstream,socket,error,stopwatch},log/handlers}.py
+%setup -q -n %{modname}-%{version}
+sed -i "1d" 
%{pyname}/{eventloop/stack_context,tests/test_{message,zmqstream,socket,error,stopwatch},log/handlers}.py
 
 %build
 CFLAGS="%{optflags}" python3 setup.py build
 
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
-#cd docs && make html && rm build/html/.buildinfo # Build documentation and 
remove temporary files
+chmod +x %{buildroot}%{python3_sitearch}/%{pyname}/eventloop/platform/posix.py
+chmod +x %{buildroot}%{python3_sitearch}/%{pyname}/eventloop/platform/auto.py
 
 %files
 %defattr(-,root,root,-)
 %doc COPYING.LESSER README.rst examples docs
-%{python3_sitearch}/*
+%{python3_sitearch}/%{pyname}/
+%{python3_sitearch}/%{modname}-%{version}-py%{py3_ver}.egg-info
+%exclude %{python3_sitearch}/%{pyname}/utils/*.h
+
+%files devel
+%defattr(-,root,root,-)
+%{python3_sitearch}/%{pyname}/utils/*.h
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to