diff --git a/kombu-2.2.6.tar.bz2 b/kombu-2.2.6.tar.bz2 deleted file mode 100644 index a09657b..0000000 --- a/kombu-2.2.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:61fd29659cd5b24d236021695d9b4944998872b569c9a34e6eaab21521a01af0 -size 257391 diff --git a/kombu-2.2.6.tar.gz b/kombu-2.2.6.tar.gz new file mode 100644 index 0000000..97ca9bb --- /dev/null +++ b/kombu-2.2.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff20487a3f322e9acc435d8435879fb65e8f087d597e28395987b5db660935a1 +size 285888 diff --git a/python-kombu.changes b/python-kombu.changes index a4cf4f7..f2ae885 100644 --- a/python-kombu.changes +++ b/python-kombu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 11 12:52:40 UTC 2012 - saschpe@suse.de + +- Re-enable testsuite and add it's build-time dependencies + ------------------------------------------------------------------- Tue Jul 10 22:40:59 UTC 2012 - alexandre@exatati.com.br @@ -69,7 +74,7 @@ Thu Jun 21 14:40:14 UTC 2012 - alexandre@exatati.com.br - SQS: Default visibility timeout is now 30 minutes. Since we have ack emulation the visibility timeout is only in effect if the consumer is abrubtly terminated. - - retry argument to ``Producer.publish`` now works properly, + - retry argument to Producer.publish now works properly, when the declare argument is specified. - Json serializer: didn't handle buffer objects (Issue #135). Fix contributed by Jens Hoffrichter. @@ -103,8 +108,8 @@ Mon May 7 20:49:30 UTC 2012 - alexandre@exatati.com.br - Update to 2.1.8: * Bound Exchange/Queue's are now pickleable. * Consumer/Producer can now be instantiated without a channel, - and only later bound using ``.revive(channel)``. - * ProducerPool now takes ``Producer`` argument. + and only later bound using .revive(channel). + * ProducerPool now takes Producer argument. * kombu.utils.fxrange now counts forever if the stop argument is set to None. (fxrange is like xrange but for decimals). @@ -206,7 +211,7 @@ Sat Mar 10 17:00:40 UTC 2012 - saschpe@gmx.de - Update to version 2.1.1: * Connection URLs now supports encoded characters. * Fixed a case where connection pool could not recover from connection loss. - * We now patch amqplib's ``__del__`` method to skip trying to close the socket + * We now patch amqplib's __del__ method to skip trying to close the socket if it is not connected, as this resulted in an annoying warning. * Compression can now be used with binary message payloads. - Don't install INSTALL @@ -273,11 +278,11 @@ Mon Nov 28 02:19:24 UTC 2011 - alexandre@exatati.com.br In addition, an UndeliverableWarning is now emitted when the dead-letter queue is enabled and a message ends up there. * MongoDB transport now supports Replicasets (Issue #81). - * The Connection.ensure`` methods now accepts a max_retries value + * The Connection.ensure methods now accepts a max_retries value of 0. - A value of 0 now means *do not retry*, which is distinct from :const:`None` + A value of 0 now means *do not retry*, which is distinct from :const:None which means *retry indefinitely*. - * SQS Transport: Now has a lowercase `sqs alias, so that it can be + * SQS Transport: Now has a lowercase sqs alias, so that it can be used with broker URLs (Issue #82). * SQS Transport: Fixes KeyError on message acknowledgements (Issue #73). The SQS transport now uses UUID's for delivery tags, rather than @@ -455,14 +460,14 @@ Mon Jun 13 22:42:00 UTC 2011 - alexandre@exatati.com.br * SQS: Now supports fanout messaging by using SimpleDB to store routing tables. - This can be disabled by setting the `supports_fanout` transport option: + This can be disabled by setting the supports_fanout transport option: >>> BrokerConnection(transport="SQS", ... transport_options={"supports_fanout": False}) * SQS: Now properly deletes a message when a message is acked. - * SQS: Can now set the Amazon AWS region, by using the ``region`` + * SQS: Can now set the Amazon AWS region, by using the region transport option. - * amqplib: Now uses `localhost` as default hostname instead of raising an + * amqplib: Now uses localhost as default hostname instead of raising an error. ------------------------------------------------------------------- @@ -474,7 +479,7 @@ Tue Jun 7 22:57:44 UTC 2011 - alexandre@exatati.com.br * Redis transport: Now requires redis-py version 2.4.4 or later. * New Amazon SQS transport added. * librabbitmq transport: Fixes default credentials support. - * amqplib transport: Now supports `login_method` for SSL auth. + * amqplib transport: Now supports login_method for SSL auth. Default login_method is AMQPLAIN. ------------------------------------------------------------------- diff --git a/python-kombu.spec b/python-kombu.spec index bdb36c6..492db65 100644 --- a/python-kombu.spec +++ b/python-kombu.spec @@ -15,9 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - Name: python-kombu Version: 2.2.6 Release: 0 @@ -25,7 +22,7 @@ License: BSD-2-Clause Summary: AMQP Messaging Framework for Python Url: http://github.com/ask/kombu/ Group: Development/Languages/Python -Source: kombu-%{version}.tar.bz2 +Source: http://pypi.python.org/packages/source/k/kombu/kombu-%{version}.tar.gz BuildRequires: python-amqplib BuildRequires: python-anyjson BuildRequires: python-devel @@ -33,19 +30,21 @@ BuildRequires: python-distribute BuildRequires: python-mock BuildRequires: python-msgpack-python BuildRequires: python-nose-cover3 +BuildRequires: python-simplejson BuildRequires: python-unittest2 +BuildRequires: python-PyYAML Requires: python-amqplib Requires: python-anyjson Suggests: couchdb Suggests: mongodb Suggests: rabbitmq-server BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} +%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()")} %py_requires -%if 0%{?suse_version} > 1110 +%else BuildArch: noarch %endif -%endif %description An AMQP messaging framework for Python. @@ -68,8 +67,11 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -#check -#python setup.py test +%check +# Testsuite requires mkgpack-python < 0.2.0 because it dropped Python-2.5 support. +# This makes no sense for us, thus: +sed -i "s/msgpack-python.*/msgpack-python/" requirements/test.txt +python setup.py test %files %defattr(-,root,root,-)