forked from pool/python-pamqp
Accepting request 874631 from home:jayvdb:branches:devel:languages:python
- Disabled Python 2 builds - Update to v3.0.1 * See https://github.com/gmr/pamqp/blob/master/docs/changelog.rst OBS-URL: https://build.opensuse.org/request/show/874631 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pamqp?expand=0&rev=20
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9c69844d2f587fcb8f086490ad5e4d629dc94ad3b25efd898dacb387aac453e0
|
||||
size 59484
|
||||
3
pamqp-3.0.1.tar.gz
Normal file
3
pamqp-3.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1f0f5d3fb028b03350556dd997535b01e9e69f81b921139a5af3ea214c757409
|
||||
size 66682
|
||||
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 23 14:52:28 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Disabled Python 2 builds
|
||||
- Update to v3.0.1
|
||||
* See https://github.com/gmr/pamqp/blob/master/docs/changelog.rst
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 9 07:24:28 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pamqp
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,23 +17,20 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
%define skip_python2 1
|
||||
Name: python-pamqp
|
||||
Version: 2.3.0
|
||||
Version: 3.0.1
|
||||
Release: 0
|
||||
Summary: A pure-python AMQP 0-9-1 frame encoder and decoder
|
||||
Summary: Pure-python AMQP 0-9-1 frame encoder and decoder
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/gmr/pamqp
|
||||
Source: https://github.com/gmr/pamqp/archive/%{version}.tar.gz
|
||||
Source: https://github.com/gmr/pamqp/archive/%{version}.tar.gz#/pamqp-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%if %{with python2}
|
||||
BuildRequires: python-unittest2
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -58,9 +55,8 @@ encoding should be run through the pamqp.frame module.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/pamqp*
|
||||
|
||||
%check
|
||||
# for python 2.7 has to 'always' be there, for python 3.7 'default' is enough
|
||||
export PYTHONWARNINGS=always
|
||||
%pytest tests/*
|
||||
# DemarshalingTests.test_basic_properties fails in v3.0.1 due to failing datetime value comparison
|
||||
%pytest -k 'not (DemarshalingTests and test_basic_properties)' tests/*
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user