14
0
forked from pool/python-pika

Accepting request 973774 from devel:languages:python

- version update to 1.2.1
  1.2.1 2022-04-27
  `GitHub milestone <https://github.com/pika/pika/milestone/18?closed=1>`_
  1.2.0 2021-02-04
  `GitHub milestone <https://github.com/pika/pika/milestone/17?closed=1>`_
- python-mock is not required for build

OBS-URL: https://build.opensuse.org/request/show/973774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pika?expand=0&rev=17
This commit is contained in:
2022-04-29 22:45:21 +00:00
committed by Git OBS Bridge
4 changed files with 19 additions and 8 deletions

View File

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

3
1.2.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e3ad2d70bda170662736efab8cf26dfa1139713a3dda9c6d7dfe7f68063feaf
size 298155

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Apr 28 15:23:41 UTC 2022 - pgajdos@suse.com
- version update to 1.2.1
1.2.1 2022-04-27
`GitHub milestone <https://github.com/pika/pika/milestone/18?closed=1>`_
1.2.0 2021-02-04
`GitHub milestone <https://github.com/pika/pika/milestone/17?closed=1>`_
- python-mock is not required for build
-------------------------------------------------------------------
Fri Apr 17 08:48:25 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pika
# spec file
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define mod_name pika
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-%{mod_name}
Version: 1.1.0
Version: 1.2.1
Release: 0
Summary: Pika Python AMQP Client Library
License: BSD-3-Clause
@@ -27,7 +27,6 @@ Group: Development/Languages/Python
URL: https://github.com/pika/pika
Source: https://github.com/pika/pika/archive/%{version}.tar.gz
BuildRequires: %{python_module Twisted}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tornado}
@@ -60,7 +59,9 @@ sed -i -e 's:,tests/acceptance::' setup.cfg
%python_expand %fdupes %{buildroot}%{$python_sitelib}/*.egg-info
%check
%pytest tests/
# E ModuleNotFoundError: No module named 'tests'
export PYTHONPATH='.'
%pytest
%files %{python_files}
%doc README.rst CHANGELOG.rst