%global _empty_manifest_terminate_build 0 Name: python-aiobreaker Version: 1.2.0 Release: 1 Summary: Python implementation of the Circuit Breaker pattern. License: BSD URL: https://github.com/arlyon/aiobreaker Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7f/eb/749ef48d3227fd62d500ff01fcd451f10111e00d822c200eb51782ba076a/aiobreaker-1.2.0.tar.gz BuildArch: noarch Requires: python3-sphinx Requires: python3-sphinx-rtd-theme Requires: python3-sphinx-autobuild Requires: python3-sphinx-autodoc-typehints Requires: python3-redis Requires: python3-fakeredis Requires: python3-pytest Requires: python3-pytest-asyncio Requires: python3-mypy Requires: python3-pylint Requires: python3-safety Requires: python3-bandit Requires: python3-codecov Requires: python3-pytest-cov %description aiobreaker is a Python implementation of the Circuit Breaker pattern, described in Michael T. Nygard's book `Release It!`_. Circuit breakers exist to allow one subsystem to fail without destroying the entire system. This is done by wrapping dangerous operations (typically integration points) with a component that can circumvent calls when the system is not healthy. This project is a fork of pybreaker_ by Daniel Fernandes Martins that replaces tornado with native asyncio, originally so I could practice packaging and learn about that shiny new ``typing`` package. %package -n python3-aiobreaker Summary: Python implementation of the Circuit Breaker pattern. Provides: python-aiobreaker BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-aiobreaker aiobreaker is a Python implementation of the Circuit Breaker pattern, described in Michael T. Nygard's book `Release It!`_. Circuit breakers exist to allow one subsystem to fail without destroying the entire system. This is done by wrapping dangerous operations (typically integration points) with a component that can circumvent calls when the system is not healthy. This project is a fork of pybreaker_ by Daniel Fernandes Martins that replaces tornado with native asyncio, originally so I could practice packaging and learn about that shiny new ``typing`` package. %package help Summary: Development documents and examples for aiobreaker Provides: python3-aiobreaker-doc %description help aiobreaker is a Python implementation of the Circuit Breaker pattern, described in Michael T. Nygard's book `Release It!`_. Circuit breakers exist to allow one subsystem to fail without destroying the entire system. This is done by wrapping dangerous operations (typically integration points) with a component that can circumvent calls when the system is not healthy. This project is a fork of pybreaker_ by Daniel Fernandes Martins that replaces tornado with native asyncio, originally so I could practice packaging and learn about that shiny new ``typing`` package. %prep %autosetup -n aiobreaker-1.2.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-aiobreaker -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 1.2.0-1 - Package Spec generated