diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 10:34:16 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 10:34:16 +0000 |
commit | c443f73c06f9d35a99aec70a3cd8f2a4a5e2d4eb (patch) | |
tree | 46f6d44bc8bb2981af09d85948f0c349b022cc4a | |
parent | ae2e36f582a2e192200df05e0b3cebc9e18a3244 (diff) |
automatic import of python-aiomisc
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-aiomisc.spec | 124 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 126 insertions, 0 deletions
@@ -0,0 +1 @@ +/aiomisc-17.0.9.tar.gz diff --git a/python-aiomisc.spec b/python-aiomisc.spec new file mode 100644 index 0000000..d769fcc --- /dev/null +++ b/python-aiomisc.spec @@ -0,0 +1,124 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aiomisc +Version: 17.0.9 +Release: 1 +Summary: aiomisc - miscellaneous utils for asyncio +License: MIT +URL: https://github.com/aiokitchen/aiomisc +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/40/22/3aac864d0f685e5cafb005909a7482725a0bb459b4e00576acc44882c16e/aiomisc-17.0.9.tar.gz +BuildArch: noarch + +Requires: python3-aiocarbon +Requires: python3-aiohttp +Requires: python3-aiohttp-asgi +Requires: python3-colorlog +Requires: python3-croniter +Requires: python3-logging-journald +Requires: python3-raven +Requires: python3-rich +Requires: python3-typing_extensions +Requires: python3-uvloop + +%description +Miscellaneous utils for asyncio. +As a programmer, you are no stranger to the challenges that come with building +and maintaining software applications. One area that can be particularly +difficult is making architecture of the software that using asynchronous I/O. +This is where aiomisc comes in. aiomisc is a Python library that provides a +collection of utility functions and classes for working with asynchronous I/O +in a more intuitive and efficient way. It is built on top of the ``asyncio`` +library and is designed to make it easier for developers to write +asynchronous code that is both reliable and scalable. +With aiomisc, you can take advantage of powerful features like +``worker pools``, ``connection pools``, ``circuit breaker pattern``, +and retry mechanisms such as ``asyncbackoff`` and ``asyncretry`` to make your +asyncio code more robust and easier to maintain. In this documentation, +we'll take a closer look at what ``aiomisc`` has to offer and how it can +help you streamline your asyncio service development. + +%package -n python3-aiomisc +Summary: aiomisc - miscellaneous utils for asyncio +Provides: python-aiomisc +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aiomisc +Miscellaneous utils for asyncio. +As a programmer, you are no stranger to the challenges that come with building +and maintaining software applications. One area that can be particularly +difficult is making architecture of the software that using asynchronous I/O. +This is where aiomisc comes in. aiomisc is a Python library that provides a +collection of utility functions and classes for working with asynchronous I/O +in a more intuitive and efficient way. It is built on top of the ``asyncio`` +library and is designed to make it easier for developers to write +asynchronous code that is both reliable and scalable. +With aiomisc, you can take advantage of powerful features like +``worker pools``, ``connection pools``, ``circuit breaker pattern``, +and retry mechanisms such as ``asyncbackoff`` and ``asyncretry`` to make your +asyncio code more robust and easier to maintain. In this documentation, +we'll take a closer look at what ``aiomisc`` has to offer and how it can +help you streamline your asyncio service development. + +%package help +Summary: Development documents and examples for aiomisc +Provides: python3-aiomisc-doc +%description help +Miscellaneous utils for asyncio. +As a programmer, you are no stranger to the challenges that come with building +and maintaining software applications. One area that can be particularly +difficult is making architecture of the software that using asynchronous I/O. +This is where aiomisc comes in. aiomisc is a Python library that provides a +collection of utility functions and classes for working with asynchronous I/O +in a more intuitive and efficient way. It is built on top of the ``asyncio`` +library and is designed to make it easier for developers to write +asynchronous code that is both reliable and scalable. +With aiomisc, you can take advantage of powerful features like +``worker pools``, ``connection pools``, ``circuit breaker pattern``, +and retry mechanisms such as ``asyncbackoff`` and ``asyncretry`` to make your +asyncio code more robust and easier to maintain. In this documentation, +we'll take a closer look at what ``aiomisc`` has to offer and how it can +help you streamline your asyncio service development. + +%prep +%autosetup -n aiomisc-17.0.9 + +%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-aiomisc -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 17.0.9-1 +- Package Spec generated @@ -0,0 +1 @@ +01eba0c12be1ba0f4a8f97781bf80f08 aiomisc-17.0.9.tar.gz |