diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 11:12:14 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 11:12:14 +0000 |
| commit | 21f41849dfd7d706034efe0fc5394a1db3d83e24 (patch) | |
| tree | 2f784020664898202fc9f38eab4ac00be0a7df37 /python-amino-new-py.spec | |
| parent | 23850728a016df06ab0e6d9fd08e33c5683ff7e3 (diff) | |
automatic import of python-amino-new-py
Diffstat (limited to 'python-amino-new-py.spec')
| -rw-r--r-- | python-amino-new-py.spec | 187 |
1 files changed, 187 insertions, 0 deletions
diff --git a/python-amino-new-py.spec b/python-amino-new-py.spec new file mode 100644 index 0000000..067608e --- /dev/null +++ b/python-amino-new-py.spec @@ -0,0 +1,187 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Amino-new.py +Version: 5.0 +Release: 1 +Summary: A library to create Amino bots. +License: MIT +URL: https://github.com/aminobot22/MAmino.py +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/68/f2/d3bb4a6f10c069220d018af5a35587cc2f8b3bfca46376e4ad47bfc19a1e/Amino_new.py-5.0.tar.gz +BuildArch: noarch + +Requires: python3-setuptools +Requires: python3-requests +Requires: python3-six +Requires: python3-websocket-client +Requires: python3-json-minify +Requires: python3-secmail +Requires: python3-bs4 + +%description +[//]: # (**README Improved By ODYSS3EUS**) +[//]: # (Never Underestimate Presentation) + +<h1 align="center"> + <br> + <a href="https://github.com/aminobot22/MAmino.py"><img src="https://i.imgur.com/LLzB0nxt.png?size=512" alt="Amino_new.py" width="200"></a> + <br> + Amino_new + <br> +</h1> + + +#### What Is This? +MAmino.py Is A Python API For Communicating With Amino Servers Whilst Pretending That You're An App User. This Is Mostly Accomplished By Spoofing Device Configuration Headers. It Is Also For Objectifying And Organizing Amino Response Data, So That Actually Doing Anything Is Easier. + +### API Reference +Read The Docs: [Link Here](https://aminopy.readthedocs.io/en/latest/) + +#### How do I use this? +You'll Need Python 3 To Use This Library, I Recommend Using Python 3.6 Or Earlier. +To Install It Just Open The Command Line And Type This Command `python3 -m pip install MAmino.py` +- **NOTE:** MAKE SURE YOU TYPE `Amino_new` **NOT** `Amino` AS IT WILL INSTALL THE **WRONG** PACKAGE UNINSTALL Amino.py! + +#### Pip Not Working? +0. Make Sure Pip Is Installed See: [How To Set-Up Pip](https://nitratine.net/blog/post/how-to-setup-pythons-pip/) +1. Alternatively Download The API [HERE](https://github.com/Slimakoi/Amino.py/archive/refs/heads/master.zip) +2. Extract The .zip File Either With [Winrar](https://www.win-rar.com/download.html?&L=0) or [7zip](https://www.7-zip.org/download.html) +3. Open The Extracted Folder In An [IDE](https://visualstudio.microsoft.com/downloads/) Of Your Choosing +And Navigate To The Folder Named `Amino_new-master` +4. Select The Python Interpreter +5. Make A New `*.py` File And Start Creating + +[//]: # (*Verbose Instructions For Those Who Want To Start Programming But Don't Know How.) + +#### If You Have Any Questions Join Us On Discord: https://discord.gg/mMNJmrKMgw + + + +%package -n python3-Amino-new.py +Summary: A library to create Amino bots. +Provides: python-Amino-new.py +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Amino-new.py +[//]: # (**README Improved By ODYSS3EUS**) +[//]: # (Never Underestimate Presentation) + +<h1 align="center"> + <br> + <a href="https://github.com/aminobot22/MAmino.py"><img src="https://i.imgur.com/LLzB0nxt.png?size=512" alt="Amino_new.py" width="200"></a> + <br> + Amino_new + <br> +</h1> + + +#### What Is This? +MAmino.py Is A Python API For Communicating With Amino Servers Whilst Pretending That You're An App User. This Is Mostly Accomplished By Spoofing Device Configuration Headers. It Is Also For Objectifying And Organizing Amino Response Data, So That Actually Doing Anything Is Easier. + +### API Reference +Read The Docs: [Link Here](https://aminopy.readthedocs.io/en/latest/) + +#### How do I use this? +You'll Need Python 3 To Use This Library, I Recommend Using Python 3.6 Or Earlier. +To Install It Just Open The Command Line And Type This Command `python3 -m pip install MAmino.py` +- **NOTE:** MAKE SURE YOU TYPE `Amino_new` **NOT** `Amino` AS IT WILL INSTALL THE **WRONG** PACKAGE UNINSTALL Amino.py! + +#### Pip Not Working? +0. Make Sure Pip Is Installed See: [How To Set-Up Pip](https://nitratine.net/blog/post/how-to-setup-pythons-pip/) +1. Alternatively Download The API [HERE](https://github.com/Slimakoi/Amino.py/archive/refs/heads/master.zip) +2. Extract The .zip File Either With [Winrar](https://www.win-rar.com/download.html?&L=0) or [7zip](https://www.7-zip.org/download.html) +3. Open The Extracted Folder In An [IDE](https://visualstudio.microsoft.com/downloads/) Of Your Choosing +And Navigate To The Folder Named `Amino_new-master` +4. Select The Python Interpreter +5. Make A New `*.py` File And Start Creating + +[//]: # (*Verbose Instructions For Those Who Want To Start Programming But Don't Know How.) + +#### If You Have Any Questions Join Us On Discord: https://discord.gg/mMNJmrKMgw + + + +%package help +Summary: Development documents and examples for Amino-new.py +Provides: python3-Amino-new.py-doc +%description help +[//]: # (**README Improved By ODYSS3EUS**) +[//]: # (Never Underestimate Presentation) + +<h1 align="center"> + <br> + <a href="https://github.com/aminobot22/MAmino.py"><img src="https://i.imgur.com/LLzB0nxt.png?size=512" alt="Amino_new.py" width="200"></a> + <br> + Amino_new + <br> +</h1> + + +#### What Is This? +MAmino.py Is A Python API For Communicating With Amino Servers Whilst Pretending That You're An App User. This Is Mostly Accomplished By Spoofing Device Configuration Headers. It Is Also For Objectifying And Organizing Amino Response Data, So That Actually Doing Anything Is Easier. + +### API Reference +Read The Docs: [Link Here](https://aminopy.readthedocs.io/en/latest/) + +#### How do I use this? +You'll Need Python 3 To Use This Library, I Recommend Using Python 3.6 Or Earlier. +To Install It Just Open The Command Line And Type This Command `python3 -m pip install MAmino.py` +- **NOTE:** MAKE SURE YOU TYPE `Amino_new` **NOT** `Amino` AS IT WILL INSTALL THE **WRONG** PACKAGE UNINSTALL Amino.py! + +#### Pip Not Working? +0. Make Sure Pip Is Installed See: [How To Set-Up Pip](https://nitratine.net/blog/post/how-to-setup-pythons-pip/) +1. Alternatively Download The API [HERE](https://github.com/Slimakoi/Amino.py/archive/refs/heads/master.zip) +2. Extract The .zip File Either With [Winrar](https://www.win-rar.com/download.html?&L=0) or [7zip](https://www.7-zip.org/download.html) +3. Open The Extracted Folder In An [IDE](https://visualstudio.microsoft.com/downloads/) Of Your Choosing +And Navigate To The Folder Named `Amino_new-master` +4. Select The Python Interpreter +5. Make A New `*.py` File And Start Creating + +[//]: # (*Verbose Instructions For Those Who Want To Start Programming But Don't Know How.) + +#### If You Have Any Questions Join Us On Discord: https://discord.gg/mMNJmrKMgw + + + +%prep +%autosetup -n Amino-new.py-5.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-Amino-new.py -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 5.0-1 +- Package Spec generated |
