diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 19:33:05 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 19:33:05 +0000 |
commit | f76b16d099de4a2e01a3f6a9f6c1b04d2aff5438 (patch) | |
tree | 972437863a667b91591918a35f297cdfa7119695 /python-alexflipnote-py.spec | |
parent | ccff9486ce1122af9cbbe894e71ca5ace40e7bca (diff) |
automatic import of python-alexflipnote-py
Diffstat (limited to 'python-alexflipnote-py.spec')
-rw-r--r-- | python-alexflipnote-py.spec | 214 |
1 files changed, 214 insertions, 0 deletions
diff --git a/python-alexflipnote-py.spec b/python-alexflipnote-py.spec new file mode 100644 index 0000000..6ce9ce1 --- /dev/null +++ b/python-alexflipnote-py.spec @@ -0,0 +1,214 @@ +%global _empty_manifest_terminate_build 0 +Name: python-alexflipnote.py +Version: 4.0.1 +Release: 1 +Summary: An easy to use Python Wrapper for the AlexFlipnote API +License: MPL-2.0 +URL: https://github.com/Soheab/alexflipnote.py +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/50/23/72622562f76650f5df3ea5843a51afdcd41256b89b3e1d17055a04559353/alexflipnote.py-4.0.1.tar.gz +BuildArch: noarch + +Requires: python3-aiohttp + +%description +[](https://pepy.tech/project/alexflipnote-py) +[](https://pepy.tech/project/alexflipnote-py) +[](https://pepy.tech/project/alexflipnote-py) +[](https://pypi.python.org/pypi/alexflipnote.py/) +[](https://github.com/tterb/atomic-design-ui/blob/master/LICENSEs) + +# AlexFlipnote.py + +An easy-to-use Python Wrapper for the AlexFlipnote API + +## Requirements + +- Python 3.8 or above +- aiohttp (``python -m pip install -U aiohttp``) + +## Installation + +Install the package by doing one of the following commands: + +**Using pip (recommended)**: + +- `pip install alexflipnote.py -U` +- `python -m pip install alexflipnote.py -U` + +## Documentation + +See the full and detailed [docs here][docs] + +## Links + +[API][base_url] | [Changelogs][changelog] | [Examples][examples] | [Github][github] | [PyPi][pypi] + +## Made by + +This wrapper is made by **Soheab_#6240** (150665783268212746), DM me on Discord or join my server [here][discord_mine] +for anything related to this wrapper. + +Join AlexFlipnote's server [here][discord_alexflipnote] to suggest or report anything on the API. + +[docs]: start-docs.md +[changelog]: https://github.com/Soheab/alexflipnote.py/blob/master/changelog.md +[examples]: start-docs.md#examples +[base_url]: https://api.alexflipnote.dev +[github]: https://github.com/Soheab/alexflipnote.py +[pypi]: https://pypi.org/project/alexflipnote.py/ +[discord_alexflipnote]: https://discord.gg/Alexflipnote +[discord_mine]: https://discord.gg/yCzcfju + + +%package -n python3-alexflipnote.py +Summary: An easy to use Python Wrapper for the AlexFlipnote API +Provides: python-alexflipnote.py +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-alexflipnote.py +[](https://pepy.tech/project/alexflipnote-py) +[](https://pepy.tech/project/alexflipnote-py) +[](https://pepy.tech/project/alexflipnote-py) +[](https://pypi.python.org/pypi/alexflipnote.py/) +[](https://github.com/tterb/atomic-design-ui/blob/master/LICENSEs) + +# AlexFlipnote.py + +An easy-to-use Python Wrapper for the AlexFlipnote API + +## Requirements + +- Python 3.8 or above +- aiohttp (``python -m pip install -U aiohttp``) + +## Installation + +Install the package by doing one of the following commands: + +**Using pip (recommended)**: + +- `pip install alexflipnote.py -U` +- `python -m pip install alexflipnote.py -U` + +## Documentation + +See the full and detailed [docs here][docs] + +## Links + +[API][base_url] | [Changelogs][changelog] | [Examples][examples] | [Github][github] | [PyPi][pypi] + +## Made by + +This wrapper is made by **Soheab_#6240** (150665783268212746), DM me on Discord or join my server [here][discord_mine] +for anything related to this wrapper. + +Join AlexFlipnote's server [here][discord_alexflipnote] to suggest or report anything on the API. + +[docs]: start-docs.md +[changelog]: https://github.com/Soheab/alexflipnote.py/blob/master/changelog.md +[examples]: start-docs.md#examples +[base_url]: https://api.alexflipnote.dev +[github]: https://github.com/Soheab/alexflipnote.py +[pypi]: https://pypi.org/project/alexflipnote.py/ +[discord_alexflipnote]: https://discord.gg/Alexflipnote +[discord_mine]: https://discord.gg/yCzcfju + + +%package help +Summary: Development documents and examples for alexflipnote.py +Provides: python3-alexflipnote.py-doc +%description help +[](https://pepy.tech/project/alexflipnote-py) +[](https://pepy.tech/project/alexflipnote-py) +[](https://pepy.tech/project/alexflipnote-py) +[](https://pypi.python.org/pypi/alexflipnote.py/) +[](https://github.com/tterb/atomic-design-ui/blob/master/LICENSEs) + +# AlexFlipnote.py + +An easy-to-use Python Wrapper for the AlexFlipnote API + +## Requirements + +- Python 3.8 or above +- aiohttp (``python -m pip install -U aiohttp``) + +## Installation + +Install the package by doing one of the following commands: + +**Using pip (recommended)**: + +- `pip install alexflipnote.py -U` +- `python -m pip install alexflipnote.py -U` + +## Documentation + +See the full and detailed [docs here][docs] + +## Links + +[API][base_url] | [Changelogs][changelog] | [Examples][examples] | [Github][github] | [PyPi][pypi] + +## Made by + +This wrapper is made by **Soheab_#6240** (150665783268212746), DM me on Discord or join my server [here][discord_mine] +for anything related to this wrapper. + +Join AlexFlipnote's server [here][discord_alexflipnote] to suggest or report anything on the API. + +[docs]: start-docs.md +[changelog]: https://github.com/Soheab/alexflipnote.py/blob/master/changelog.md +[examples]: start-docs.md#examples +[base_url]: https://api.alexflipnote.dev +[github]: https://github.com/Soheab/alexflipnote.py +[pypi]: https://pypi.org/project/alexflipnote.py/ +[discord_alexflipnote]: https://discord.gg/Alexflipnote +[discord_mine]: https://discord.gg/yCzcfju + + +%prep +%autosetup -n alexflipnote.py-4.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-alexflipnote.py -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 4.0.1-1 +- Package Spec generated |