%global _empty_manifest_terminate_build 0 Name: python-aiotools Version: 1.6.0 Release: 1 Summary: Idiomatic asyncio utilities License: MIT URL: https://github.com/achimnol/aiotools Source0: https://mirrors.nju.edu.cn/pypi/web/packages/89/75/10776c11516f7c4920944dad34b437cb436ad4db84fa7e8f226d1cd601a6/aiotools-1.6.0.tar.gz BuildArch: noarch Requires: python3-typing-extensions Requires: python3-setuptools Requires: python3-wheel Requires: python3-twine Requires: python3-towncrier Requires: python3-sphinx Requires: python3-sphinx-rtd-theme Requires: python3-flake8 Requires: python3-async-timeout Requires: python3-pytest Requires: python3-pytest-asyncio Requires: python3-pytest-cov Requires: python3-pytest-mock Requires: python3-codecov Requires: python3-mypy %description [![PyPI release version](https://badge.fury.io/py/aiotools.svg)](https://pypi.org/project/aiotools/) ![Supported Python versions](https://img.shields.io/pypi/pyversions/aiotools.svg) ![Test Status](https://github.com/achimnol/aiotools/workflows/Test%20with%20pytest/badge.svg) [![Code Coverage](https://codecov.io/gh/achimnol/aiotools/branch/master/graph/badge.svg)](https://codecov.io/gh/achimnol/aiotools) Idiomatic asyncio utilties *NOTE:* This project is under early stage of development. The public APIs may break version by version. %package -n python3-aiotools Summary: Idiomatic asyncio utilities Provides: python-aiotools BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-aiotools [![PyPI release version](https://badge.fury.io/py/aiotools.svg)](https://pypi.org/project/aiotools/) ![Supported Python versions](https://img.shields.io/pypi/pyversions/aiotools.svg) ![Test Status](https://github.com/achimnol/aiotools/workflows/Test%20with%20pytest/badge.svg) [![Code Coverage](https://codecov.io/gh/achimnol/aiotools/branch/master/graph/badge.svg)](https://codecov.io/gh/achimnol/aiotools) Idiomatic asyncio utilties *NOTE:* This project is under early stage of development. The public APIs may break version by version. %package help Summary: Development documents and examples for aiotools Provides: python3-aiotools-doc %description help [![PyPI release version](https://badge.fury.io/py/aiotools.svg)](https://pypi.org/project/aiotools/) ![Supported Python versions](https://img.shields.io/pypi/pyversions/aiotools.svg) ![Test Status](https://github.com/achimnol/aiotools/workflows/Test%20with%20pytest/badge.svg) [![Code Coverage](https://codecov.io/gh/achimnol/aiotools/branch/master/graph/badge.svg)](https://codecov.io/gh/achimnol/aiotools) Idiomatic asyncio utilties *NOTE:* This project is under early stage of development. The public APIs may break version by version. %prep %autosetup -n aiotools-1.6.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-aiotools -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Apr 25 2023 Python_Bot - 1.6.0-1 - Package Spec generated