From cdfbf9ed519a3d7a634c4905e5f14361f1e731c7774e2a23d678963030da30ea Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 16 Mar 2017 21:52:25 +0000 Subject: [PATCH] - update to 4.0.2: - Now depends on :mod:`amqp` 2.0. The new py-amqp version have been refactored for better performance, using modern Python socket conventions, and API consistency. - No longer depends on :mod:`anyjson`. Kombu will now only choose between :pypi:`simplejson` and the built-in :mod:`json`. - Removed transports that are no longer supported in this version: - Django ORM transport - SQLAlchemy ORM transport - Beanstalk transport - ZeroMQ transport - amqplib transport (use pyamqp). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=116 --- kombu-3.0.35.tar.gz | 3 --- kombu-4.0.2.tar.gz | 3 +++ python-kombu.changes | 17 +++++++++++++++++ python-kombu.spec | 25 +++++++++---------------- 4 files changed, 29 insertions(+), 19 deletions(-) delete mode 100644 kombu-3.0.35.tar.gz create mode 100644 kombu-4.0.2.tar.gz diff --git a/kombu-3.0.35.tar.gz b/kombu-3.0.35.tar.gz deleted file mode 100644 index 4ba6774..0000000 --- a/kombu-3.0.35.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:22ab336a17962717a5d9470547e5508d4bcf1b6ec10cd9486868daf4e5edb727 -size 381135 diff --git a/kombu-4.0.2.tar.gz b/kombu-4.0.2.tar.gz new file mode 100644 index 0000000..3c60fd1 --- /dev/null +++ b/kombu-4.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0fc6f2a36610a308f838db4b832dad79a681b516ac1d1a1f9d42edb58cc11a2 +size 418051 diff --git a/python-kombu.changes b/python-kombu.changes index 0e37f92..a9659df 100644 --- a/python-kombu.changes +++ b/python-kombu.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu Mar 16 08:24:12 UTC 2017 - dmueller@suse.com + +- update to 4.0.2: + - Now depends on :mod:`amqp` 2.0. + The new py-amqp version have been refactored for better performance, + using modern Python socket conventions, and API consistency. + - No longer depends on :mod:`anyjson`. + Kombu will now only choose between :pypi:`simplejson` and the built-in + :mod:`json`. + - Removed transports that are no longer supported in this version: + - Django ORM transport + - SQLAlchemy ORM transport + - Beanstalk transport + - ZeroMQ transport + - amqplib transport (use pyamqp). + ------------------------------------------------------------------- Mon Nov 14 14:41:42 UTC 2016 - dmueller@suse.com diff --git a/python-kombu.spec b/python-kombu.spec index 8d95e46..32c11ec 100644 --- a/python-kombu.spec +++ b/python-kombu.spec @@ -1,7 +1,7 @@ # # spec file for package python-kombu # -# 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 # remain the property of their copyright owners, unless otherwise agreed @@ -17,33 +17,28 @@ Name: python-kombu -Version: 3.0.35 +Version: 4.0.2 Release: 0 Summary: AMQP Messaging Framework for Python License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/celery/kombu -Source: http://pypi.python.org/packages/source/k/kombu/kombu-%{version}.tar.gz +Source: https://pypi.io/packages/source/k/kombu/kombu-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools # Test requirements: BuildRequires: python-PyYAML -BuildRequires: python-amqp >= 1.4.9 -BuildRequires: python-anyjson >= 0.3.3 BuildRequires: python-boto BuildRequires: python-mock BuildRequires: python-msgpack-python BuildRequires: python-nose-cover3 +BuildRequires: python-pytest +BuildRequires: python-pytz BuildRequires: python-redis BuildRequires: python-unittest2 >= 0.5.0 -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -BuildRequires: python-importlib -BuildRequires: python-ordereddict -Requires: python-importlib -Requires: python-ordereddict -%endif -Requires: python-amqp >= 1.4.9 -Requires: python-anyjson >= 0.3.3 +BuildRequires: python2-amqp >= 2.0 +BuildRequires: python2-case +Requires: python2-amqp %if 0%{?suse_version} Suggests: couchdb Suggests: mongodb @@ -70,8 +65,6 @@ provide proven and tested solutions to common messaging problems. %prep %setup -q -n kombu-%{version} -# For rpmlint warning: remove shebang from python library: -sed -i '/^#!/d' ./kombu/tests/test_serialization.py %build python setup.py build @@ -84,7 +77,7 @@ python setup.py -q test %files %defattr(-,root,root,-) -%doc AUTHORS Changelog FAQ README.rst THANKS TODO LICENSE +%doc Changelog FAQ README.rst THANKS TODO LICENSE %{python_sitelib}/* %changelog