Accepting request 796581 from home:mcalabkova:branches:devel:languages:python
- Launch tests OBS-URL: https://build.opensuse.org/request/show/796581 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aspectlib?expand=0&rev=6
This commit is contained in:
parent
61de56ea84
commit
62aa13a1c6
@ -6,7 +6,7 @@ Fri Apr 17 11:20:50 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
Contributed by Jonas Maurus in `#14 <https://github.com/ionelmc/python-aspectlib/pull/14>`_.
|
||||
* Added support for Python 3.7 and 3.8 (``async def`` functions and generators).
|
||||
* Added a convenience ``weave`` fixture for pytest.
|
||||
- Launch tests and pin tornado (one test fails with tornado >= 6)
|
||||
- Launch tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 16 06:39:42 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
%bcond_without test
|
||||
Name: python-aspectlib
|
||||
Version: 1.5.0
|
||||
Release: 0
|
||||
@ -31,7 +30,6 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-fields
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module fields}
|
||||
BuildRequires: %{python_module process-tests}
|
||||
BuildRequires: %{python_module pytest}
|
||||
@ -39,7 +37,6 @@ BuildRequires: %{python_module pytest}
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-trollius
|
||||
%endif
|
||||
%endif
|
||||
%ifpython2
|
||||
Requires: python-trollius
|
||||
%endif
|
||||
@ -65,10 +62,8 @@ rm tests/test_integrations_py3.py
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%pytest --ignore=src
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user