forked from pool/python-txaio
Accepting request 686488 from home:jayvdb:branches:devel:languages:python
- Fix invocation of test suite, previously silently not running - Add missing runtime dependencies - Update to v18.8.1 * add API to support cancellation; this means passing a 1-argument callable to ``create_future`` and ``txaio.cancel`` to actually cancel a future * support Python 3.7 (CI / testing added) - from v18.7.1 * move to calver * deprecate Python 3.3 support and CI testing - from v2.10.0 * the asyncio version of ``make_logger`` now deduces a proper namespace instead of using the root OBS-URL: https://build.opensuse.org/request/show/686488 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-txaio?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
4290ef45c0
commit
4892d9df81
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-txaio
|
||||
#
|
||||
# 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
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-txaio
|
||||
Version: 2.9.0
|
||||
Version: 18.8.1
|
||||
Release: 0
|
||||
Summary: WebSocket and WAMP in Python for Twisted and asyncio
|
||||
License: MIT
|
||||
@@ -26,12 +26,22 @@ Group: Development/Languages/Python
|
||||
URL: http://crossbar.io/autobahn
|
||||
Source: https://files.pythonhosted.org/packages/source/t/txaio/txaio-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python3-testsuite
|
||||
Requires: python-six
|
||||
Recommends: python-Twisted >= 12.1.0
|
||||
Recommends: python-zope.interface >= 3.6
|
||||
%ifpython2
|
||||
Requires: python-future
|
||||
Recommends: python-trollius
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Twisted}
|
||||
BuildRequires: %{python_module Twisted >= 12.1.0}
|
||||
BuildRequires: %{python_module six}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
@@ -51,7 +61,7 @@ asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%python_exec -m pytest -k 'not test_sdist'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Reference in New Issue
Block a user