forked from pool/python-pytest-asyncio
Accepting request 993402 from home:jayvdb:branches:devel:languages:python:pytest
- Update to 0.19.0
* BREAKING: The default ``asyncio_mode`` is now *strict*.
* Removes `setup.py` since all relevant configuration is present
`setup.cfg`.
* Declare support for Python 3.11
OBS-URL: https://build.opensuse.org/request/show/993402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=21
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package python-pytest-asyncio
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
@@ -25,15 +25,17 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-pytest-asyncio%{psuffix}
|
||||
Version: 0.18.3
|
||||
Version: 0.19.0
|
||||
Release: 0
|
||||
Summary: Pytest support for asyncio
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/pytest-dev/pytest-asyncio
|
||||
Source: https://github.com/pytest-dev/pytest-asyncio/archive/v%{version}.tar.gz#/pytest-asyncio-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytest >= 6.1.0
|
||||
@@ -63,12 +65,12 @@ provides useful fixtures and markers to make testing easier.
|
||||
|
||||
%build
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%if !%{with test}
|
||||
%install
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
@@ -81,8 +83,8 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/pytest_asyncio
|
||||
%{python_sitelib}/pytest_asyncio-%{version}*-info
|
||||
%{python_sitelib}/pytest_asyncio/
|
||||
%{python_sitelib}/pytest_asyncio-%{version}*-info/
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user