mirror of
https://github.com/openRuyi-Project/openRuyi.git
synced 2026-05-13 18:33:44 +00:00
43 lines
1.2 KiB
RPMSpec
43 lines
1.2 KiB
RPMSpec
# SPDX-FileCopyrightText: (C) 2025 Institute of Software, Chinese Academy of Sciences (ISCAS)
|
|
# SPDX-FileCopyrightText: (C) 2025 openRuyi Project Contributors
|
|
# SPDX-FileContributor: Zheng Junjie <zhengjunjie@iscas.ac.cn>
|
|
#
|
|
# SPDX-License-Identifier: MulanPSL-2.0
|
|
|
|
%global srcname pytest_asyncio
|
|
|
|
Name: python-pytest-asyncio
|
|
Version: 1.3.0
|
|
Release: %autorelease
|
|
License: Apache-2.0
|
|
URL: https://github.com/pytest-dev/pytest-asyncio
|
|
Summary: Pytest support for asyncio
|
|
#!RemoteAsset
|
|
Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildSystem: pyproject
|
|
|
|
BuildOption(install): -l %{srcname} +auto
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
BuildRequires: pkgconfig(python3)
|
|
|
|
Provides: python3-pytest-asyncio
|
|
%python_provide python3-pytest-asyncio
|
|
|
|
%description
|
|
Python asyncio code is usually written in the form of
|
|
coroutines, which makes it slightly more difficult to test using normal
|
|
testing tools. pytest-asyncio provides useful fixtures and markers
|
|
to make testing async code easier.
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires
|
|
|
|
%files -f %{pyproject_files}
|
|
%license LICENSE
|
|
%doc README*
|
|
|
|
%changelog
|
|
%{?autochangelog}
|