Группа :: Development/Python3
Пакет: python3-module-aioxmlrpc
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname aioxmlrpc
%def_with check
Name: python3-module-%oname
Version: 0.7.0
Release: alt1
Summary: XML-RPC for asyncio
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.org/project/aioxmlrpc
Vcs: https://github.com/mardiros/aioxmlrpc.git
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-poetry-core
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-httpx
BuildRequires: python3-module-pkg_resources
BuildRequires: python3-module-pytest-asyncio
%endif
%py3_provides %oname
%description
Asyncio version of the standard lib xmlrpc.
Currently only aioxmlrpc.client, which works like xmlrpc.client but with
coroutine is implemented.
%prep
%setup
cat >> pyproject.toml <<EOF
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
EOF
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest -v
%files
%doc LICENSE README.*
%python3_sitelibdir/%oname
%python3_sitelibdir/%{pyproject_distinfo %oname}
%changelog
…
Полный changelog можно просмотреть здесь
%define oname aioxmlrpc
%def_with check
Name: python3-module-%oname
Version: 0.7.0
Release: alt1
Summary: XML-RPC for asyncio
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.org/project/aioxmlrpc
Vcs: https://github.com/mardiros/aioxmlrpc.git
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-poetry-core
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-httpx
BuildRequires: python3-module-pkg_resources
BuildRequires: python3-module-pytest-asyncio
%endif
%py3_provides %oname
%description
Asyncio version of the standard lib xmlrpc.
Currently only aioxmlrpc.client, which works like xmlrpc.client but with
coroutine is implemented.
%prep
%setup
cat >> pyproject.toml <<EOF
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
EOF
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest -v
%files
%doc LICENSE README.*
%python3_sitelibdir/%oname
%python3_sitelibdir/%{pyproject_distinfo %oname}
%changelog
…
Полный changelog можно просмотреть здесь