diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:30:55 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:30:55 +0000 |
commit | 2e01dabfae2dfac34d9a8fd4088a978ef2ed5d0e (patch) | |
tree | 472fc83a114668d9223c1b6cf65c5f87ebb83125 | |
parent | da50dde281de5d2f275191017e95127a9575aa33 (diff) |
automatic import of python-amino.fix-asyncopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-amino-fix-async.spec | 104 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 106 insertions, 0 deletions
@@ -0,0 +1 @@ +/amino.fix-async-2.0.1.tar.gz diff --git a/python-amino-fix-async.spec b/python-amino-fix-async.spec new file mode 100644 index 0000000..23a00cc --- /dev/null +++ b/python-amino-fix-async.spec @@ -0,0 +1,104 @@ +%global _empty_manifest_terminate_build 0 +Name: python-amino.fix-async +Version: 2.0.1 +Release: 1 +Summary: Amino 2.0.3 fix lib. Discord - https://discord.gg/Bf3dpBRJHj +License: MIT +URL: https://github.com/Minori100/Amino.fix +Source0: https://mirrors.aliyun.com/pypi/web/packages/bc/3d/19aa934baa4a2a99d0d6e63a04a70c6b5e61b0c1b8877b6056bd4a0be00c/amino.fix-async-2.0.1.tar.gz +BuildArch: noarch + +Requires: python3-aiohttp +Requires: python3-requests +Requires: python3-asyncio +Requires: python3-typing +Requires: python3-websocket-client +Requires: python3-setuptools +Requires: python3-json-minify +Requires: python3-six + +%description +### Discord +`https://discord.gg/Bf3dpBRJHj` +### About lib +`Fix Amino.py 2.0.3` +### How to install? +`pip install amino.fix-async` + + + + +%package -n python3-amino.fix-async +Summary: Amino 2.0.3 fix lib. Discord - https://discord.gg/Bf3dpBRJHj +Provides: python-amino.fix-async +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-amino.fix-async +### Discord +`https://discord.gg/Bf3dpBRJHj` +### About lib +`Fix Amino.py 2.0.3` +### How to install? +`pip install amino.fix-async` + + + + +%package help +Summary: Development documents and examples for amino.fix-async +Provides: python3-amino.fix-async-doc +%description help +### Discord +`https://discord.gg/Bf3dpBRJHj` +### About lib +`Fix Amino.py 2.0.3` +### How to install? +`pip install amino.fix-async` + + + + +%prep +%autosetup -n amino.fix-async-2.0.1 + +%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-amino.fix-async -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.1-1 +- Package Spec generated @@ -0,0 +1 @@ +a46a8b3223fabe877a30a610d366e0eb amino.fix-async-2.0.1.tar.gz |