forked from pool/python-pika
- Switch to github tarball in order to get tests
- Run the tests
- Version update to 0.12.0:
* BlockingConnection now supports the add_callback_threadsafe method which
allows a function to be executed correctly on the IO loop thread.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pika?expand=0&rev=17
This commit is contained in:
committed by
Git OBS Bridge
parent
87f58d9a21
commit
39227b41de
3
0.12.0.tar.gz
Normal file
3
0.12.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b1bd9025b63ad6fdd183dd79010620fa168966adda6154a23a7d5ed4f88cf9d
|
||||
size 243292
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b87fd6b339450f531b8cba3bc02d8448cab15798032c02b7601367d09abc3818
|
||||
size 96381
|
||||
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 19 10:57:35 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Switch to github tarball in order to get tests
|
||||
- Run the tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 19 10:56:13 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Version update to 0.12.0:
|
||||
* BlockingConnection now supports the add_callback_threadsafe method which
|
||||
allows a function to be executed correctly on the IO loop thread.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 19 09:57:08 UTC 2018 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
|
||||
@@ -12,28 +12,31 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define mod_name pika
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-%{mod_name}
|
||||
Version: 0.11.0
|
||||
Version: 0.12.0
|
||||
Release: 0
|
||||
Url: http://pika.github.com/
|
||||
Summary: Pika Python AMQP Client Library
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pika/pika-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
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 nose}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module tornado}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python
|
||||
Recommends: python-Twisted
|
||||
Recommends: python-tornado
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -44,6 +47,9 @@ should also work with other AMQP 0-9-1 brokers.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
# acceptance needs running configured server
|
||||
rm -rf tests/acceptance/
|
||||
sed -i -e 's:,tests/acceptance::' setup.cfg
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -53,12 +59,14 @@ should also work with other AMQP 0-9-1 brokers.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/%{mod_name}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/*.egg-info
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}"% nosetests-%{$python_bin_suffix} tests/
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%doc README.rst CHANGELOG.rst
|
||||
%license LICENSE
|
||||
# You may have to add additional files here (documentation and binaries mostly)
|
||||
%python_sitelib/%{mod_name}*
|
||||
%python_sitelib/*.egg-info
|
||||
%{python_sitelib}/%{mod_name}*
|
||||
%{python_sitelib}/*.egg-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user