1
0
forked from pool/python-pyngus

Accepting request 688188 from home:pgajdos

- version update to 2.3.0
  * disable the socket I/O logging - fills the debug logs with
    lots of useless crap.
  * test improvements
- enable unit tests
- add a description
- source points to github
- run fdupes

OBS-URL: https://build.opensuse.org/request/show/688188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyngus?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal 2019-03-25 10:46:34 +00:00 committed by Git OBS Bridge
parent 5dadeaf2f1
commit 580dc19a14
4 changed files with 26 additions and 6 deletions

View File

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

3
pyngus-2.3.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Mar 25 10:38:33 UTC 2019 - pgajdos@suse.com
- version update to 2.3.0
* disable the socket I/O logging - fills the debug logs with
lots of useless crap.
* test improvements
- enable unit tests
- add a description
- source points to github
- run fdupes
-------------------------------------------------------------------
Tue Dec 4 12:52:31 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pyngus
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@ -19,23 +19,26 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-pyngus
Version: 2.2.0
Version: 2.3.0
Release: 0
Summary: Callback API implemented over Proton
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/kgiusti/pyngus
Source: https://files.pythonhosted.org/packages/source/p/pyngus/pyngus-%{version}.tar.gz
Source: https://github.com/kgiusti/pyngus/archive/v%{version}.tar.gz#/pyngus-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-python-qpid-proton >= 0.9
BuildArch: noarch
BuildRequires: fdupes
%if %{with test}
BuildRequires: %{python_module python-qpid-proton >= 0.9}
%endif
%python_subpackages
%description
A messaging framework built on the QPID Proton engine. It
provides a callback-based API for message passing
%prep
%setup -q -n pyngus-%{version}
@ -45,6 +48,11 @@ BuildRequires: %{python_module python-qpid-proton >= 0.9}
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# SSL Failure: error:1417C086:SSL routines:tls_process_client_certificate:certificate verify failed
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python tests/test-runner -i '*test_ssl_minimal'
%files %{python_files}
%license LICENSE