From 4be1aadef02cfda5fd87847106f832930c483de7 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Apr 2023 23:34:15 +0000 Subject: automatic import of python-aiotools --- .gitignore | 1 + python-aiotools.spec | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 104 insertions(+) create mode 100644 python-aiotools.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..cbe28e4 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/aiotools-1.6.0.tar.gz diff --git a/python-aiotools.spec b/python-aiotools.spec new file mode 100644 index 0000000..6078dad --- /dev/null +++ b/python-aiotools.spec @@ -0,0 +1,102 @@ +%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 11 2023 Python_Bot - 1.6.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..c5a83f6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +aee61a6df908f17e9b1761ed15dc4e25 aiotools-1.6.0.tar.gz -- cgit v1.2.3