diff --git a/pytest-asyncio-0.8.0.tar.gz b/pytest-asyncio-0.8.0.tar.gz deleted file mode 100644 index ca85e4d..0000000 --- a/pytest-asyncio-0.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f32804bb58a66e13a3eda11f8942a71b1b6a30466b0d2ffe9214787aab0e172e -size 11310 diff --git a/pytest-asyncio-0.9.0.tar.gz b/pytest-asyncio-0.9.0.tar.gz new file mode 100644 index 0000000..e675d56 --- /dev/null +++ b/pytest-asyncio-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20db04d27c197050f0ecdc30c115e677a77f0d27d95416f6ecef4b29e2de30f9 +size 13222 diff --git a/python-pytest-asyncio.changes b/python-pytest-asyncio.changes index 6cf6658..0bed2ad 100644 --- a/python-pytest-asyncio.changes +++ b/python-pytest-asyncio.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Sep 4 13:10:57 UTC 2018 - Ondřej Súkup + +- 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 diff --git a/python-pytest-asyncio.spec b/python-pytest-asyncio.spec index 310f0a8..95b934e 100644 --- a/python-pytest-asyncio.spec +++ b/python-pytest-asyncio.spec @@ -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}/*