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:
Yuchen Lin 2018-09-11 15:14:57 +00:00 committed by Git OBS Bridge
parent ac14c79f82
commit f6c8d1668e
4 changed files with 25 additions and 13 deletions

View File

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

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Sep 4 13:10:57 UTC 2018 - Ondřej Súkup <mimi.vx@gmail.com>
- 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
-------------------------------------------------------------------
Fri Jan 5 09:47:11 UTC 2018 - alarrosa@suse.com

View File

@ -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}/*