14
0
forked from pool/python-amqp

- Update to 5.0.1:

* Require vine 5.0.0.
  * Stop to use deprecated method ssl.wrap_socket.
  * Dropped Python 3.5 support.
  * Removed additional compatibility code.
  * Dropped Python 2.x support.
  * Dropped Python 3.4 support.
- Add vine-no-double-equals-deps.patch that loosens the vine requirement

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=70
This commit is contained in:
2020-11-10 04:09:23 +00:00
committed by Git OBS Bridge
parent 60a86022a3
commit f0f06cd266
5 changed files with 28 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70cdb10628468ff14e57ec2f751c7aa9e48e7e3651cfd62d431213c0c4e58f21
size 119956

3
amqp-5.0.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9881f8e6fe23e3db9faa6cfd8c05390213e1d1b95c0162bc50552cad75bffa5f
size 118759

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Nov 10 03:55:27 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 5.0.1:
* Require vine 5.0.0.
* Stop to use deprecated method ssl.wrap_socket.
* Dropped Python 3.5 support.
* Removed additional compatibility code.
* Dropped Python 2.x support.
* Dropped Python 3.4 support.
- Add vine-no-double-equals-deps.patch that loosens the vine requirement
-------------------------------------------------------------------
Tue Aug 4 12:09:50 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@@ -17,21 +17,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-amqp
Version: 2.6.1
Version: 5.0.1
Release: 0
Summary: Low-level AMQP client for Python (fork of amqplib)
License: LGPL-2.1-or-later
Group: Development/Languages/Python
URL: http://github.com/celery/py-amqp
Source: https://files.pythonhosted.org/packages/source/a/amqp/amqp-%{version}.tar.gz
Patch0: vine-no-double-equals-deps.patch
BuildRequires: %{python_module case >= 1.3.1}
BuildRequires: %{python_module pytest >= 3.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module vine >= 1.1.3}
BuildRequires: %{python_module vine >= 5.0.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-vine >= 1.1.3
Requires: python-vine >= 5.0.0
BuildArch: noarch
%python_subpackages
@@ -43,6 +44,7 @@ This library should be API compatible with librabbitmq.
%prep
%setup -q -n amqp-%{version}
%autopatch -p1
# requires internet connection:
rm t/integration/test_rmq.py

View File

@@ -0,0 +1,7 @@
Index: amqp-5.0.1/requirements/default.txt
===================================================================
--- amqp-5.0.1.orig/requirements/default.txt
+++ amqp-5.0.1/requirements/default.txt
@@ -1 +1 @@
-vine==5.0.0
+vine>=5.0.0