forked from pool/python-pytest-asyncio
Accepting request 633035 from devel:languages:python:pytest
- update to 0.9.0
- use github tarbal due packaging errrors in upstream
* Python 3.7 support.
* Remove event_loop_process_pool fixture
and pytest.mark.asyncio_process_pool marker (forwarded request 633033 from mimi_vx)
OBS-URL: https://build.opensuse.org/request/show/633035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-asyncio?expand=0&rev=2
This commit is contained in:
@@ -13,28 +13,29 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
Name: python-pytest-asyncio
|
||||
Version: 0.8.0
|
||||
Version: 0.9.0
|
||||
Release: 0
|
||||
License: Apache-2.0
|
||||
Summary: Pytest support for asyncio
|
||||
Url: https://github.com/pytest-dev/pytest-asyncio
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-asyncio/pytest-asyncio-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel} >= 3.5
|
||||
URL: https://github.com/pytest-dev/pytest-asyncio
|
||||
#Source: https://files.pythonhosted.org/packages/source/p/pytest-asyncio/pytest-asyncio-%{version}.tar.gz
|
||||
Source: https://github.com/pytest-dev/pytest-asyncio/archive/v%{version}.tar.gz#./pytest-asyncio-%{version}.tar.gz
|
||||
BuildRequires: %{python_module async_generator}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytest >= 3.0.6
|
||||
Suggests: python-async_generator >= 1.3
|
||||
Suggests: python-coverage
|
||||
Suggests: python-async_generator >= 1.3
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -55,8 +56,10 @@ sed -ie '1i# -*- coding: utf-8 -*-' setup.py
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec -m pytest
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
Reference in New Issue
Block a user