Group :: Development/Python3
RPM: python3-module-pytest-asyncio
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name pytest-asyncio
%def_with check
Name: python3-module-%pypi_name
Version: 0.21.1
Release: alt1
Summary: Pytest support for asyncio
License: Apache-2.0
Group: Development/Python3
Url: https://pypi.org/project/pytest-asyncio/
VCS: https://github.com/pytest-dev/pytest-asyncio
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
Patch0: %name-%version-alt.patch
%pyproject_runtimedeps_metadata
%py3_provides %pypi_name
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
%pyproject_builddeps_metadata_extra testing
%endif
%description
pyee supplies a BaseEventEmitter object that is similar to the EventEmitter
class from Node.js. It also supplies a number of subclasses with added support
for async and threaded programming in python, such as async/await as seen in
python 3.5+.
%prep
%setup
%autopatch -p1
%pyproject_scm_init
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest -ra tests -Wignore
%files
%doc *.rst
%python3_sitelibdir/pytest_asyncio/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui
%define pypi_name pytest-asyncio
%def_with check
Name: python3-module-%pypi_name
Version: 0.21.1
Release: alt1
Summary: Pytest support for asyncio
License: Apache-2.0
Group: Development/Python3
Url: https://pypi.org/project/pytest-asyncio/
VCS: https://github.com/pytest-dev/pytest-asyncio
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
Patch0: %name-%version-alt.patch
%pyproject_runtimedeps_metadata
%py3_provides %pypi_name
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
%pyproject_builddeps_metadata_extra testing
%endif
%description
pyee supplies a BaseEventEmitter object that is similar to the EventEmitter
class from Node.js. It also supplies a number of subclasses with added support
for async and threaded programming in python, such as async/await as seen in
python 3.5+.
%prep
%setup
%autopatch -p1
%pyproject_scm_init
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest -ra tests -Wignore
%files
%doc *.rst
%python3_sitelibdir/pytest_asyncio/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui