diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 05:12:48 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 05:12:48 +0000 |
commit | d02cf899b90f7981ff63aa3cd1f7549d6e605be9 (patch) | |
tree | 05b3eeb77957c1d47e8505acd58e08cb98af5d91 | |
parent | 33b870b16b140907bb3778610da31d8b79d50b68 (diff) |
automatic import of python-aioktsopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-aiokts.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/aiokts-0.3.2.tar.gz diff --git a/python-aiokts.spec b/python-aiokts.spec new file mode 100644 index 0000000..279fe03 --- /dev/null +++ b/python-aiokts.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aiokts +Version: 0.3.2 +Release: 1 +Summary: Tuned asyncio and aiohttp classes for simpler creation of powerful APIs +License: MIT +URL: https://github.com/KTSStudio/aiokts +Source0: https://mirrors.aliyun.com/pypi/web/packages/9b/e7/2a2c5e1f06d5716fe3e0ff36e6386b9ad79bee6a7b5e6df62fbc2b069828/aiokts-0.3.2.tar.gz +BuildArch: noarch + + +%description +Tuned asyncio and aiohttp classes for simpler creation of powerful APIs + +%package -n python3-aiokts +Summary: Tuned asyncio and aiohttp classes for simpler creation of powerful APIs +Provides: python-aiokts +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aiokts +Tuned asyncio and aiohttp classes for simpler creation of powerful APIs + +%package help +Summary: Development documents and examples for aiokts +Provides: python3-aiokts-doc +%description help +Tuned asyncio and aiohttp classes for simpler creation of powerful APIs + +%prep +%autosetup -n aiokts-0.3.2 + +%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-aiokts -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.2-1 +- Package Spec generated @@ -0,0 +1 @@ +7fa5aeb3f67ad1113650a17825ad2d3b aiokts-0.3.2.tar.gz |