diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 23:34:15 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 23:34:15 +0000 |
commit | 4be1aadef02cfda5fd87847106f832930c483de7 (patch) | |
tree | 6200ad149a00fc1b05156bdb34687d65a1d34ce3 | |
parent | 1cde3d9d19d975db8b15fd3b501f815378498850 (diff) |
automatic import of python-aiotools
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-aiotools.spec | 102 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 104 insertions, 0 deletions
@@ -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 +[](https://pypi.org/project/aiotools/) + + +[](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 +[](https://pypi.org/project/aiotools/) + + +[](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 +[](https://pypi.org/project/aiotools/) + + +[](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 <Python_Bot@openeuler.org> - 1.6.0-1 +- Package Spec generated @@ -0,0 +1 @@ +aee61a6df908f17e9b1761ed15dc4e25 aiotools-1.6.0.tar.gz |