diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:53:58 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:53:58 +0000 |
| commit | 56f08c51ae56b78e2515bb2aff25b0078942ad46 (patch) | |
| tree | 430463659215e90e9264f048d6f09da7b8aa1777 /python-vacefron-py.spec | |
| parent | e0082aba5d9a4ff7ac81d9d7062cf96b2db033a8 (diff) | |
automatic import of python-vacefron-pyopeneuler20.03
Diffstat (limited to 'python-vacefron-py.spec')
| -rw-r--r-- | python-vacefron-py.spec | 214 |
1 files changed, 214 insertions, 0 deletions
diff --git a/python-vacefron-py.spec b/python-vacefron-py.spec new file mode 100644 index 0000000..4138b7b --- /dev/null +++ b/python-vacefron-py.spec @@ -0,0 +1,214 @@ +%global _empty_manifest_terminate_build 0 +Name: python-vacefron.py +Version: 2.0.3 +Release: 1 +Summary: A Wrapper for vacefron.nl/api written in Python. +License: MPL-2.0 +URL: https://github.com/Soheab/vacefron.py +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bf/f0/f164cb671f4f94b809442b901192010112a9b157356bc3f8293468c39c22/vacefron.py-2.0.3.tar.gz +BuildArch: noarch + +Requires: python3-aiohttp + +%description +[](https://pepy.tech/project/vacefron-py) +[](https://pepy.tech/project/vacefron-py) +[](https://pepy.tech/project/vacefron-py) +[](https://pypi.python.org/pypi/vacefron.py/) + +# VACEfron.py + +A Wrapper for [vacefron.nl/api][base_url] written in Python. + +## Requirements + +- Python 3.8 or above +- aiohttp (python3 -m pip install -U aiohttp) + +## Installation + +Install the package by doing one of the following commands: + +**Using pip (recommended)**: + +- `pip install vacefron.py -U` +- `python -m pip install vacefron.py -U` + +## Documentation + +See the full and detailed [docs here][docs] + +## Links + +[API][base_url] | [Changelogs][changelog] | [Github][github] | [PyPi][pypi] + +## Made by + +This wrapper is made by **Soheab_#6240**, DM me on Discord or join my server [here][discord_mine] for anything related to +this wrapper. + +You can join VAC Efron's server [here][discord_vacefron] to suggest or report anything on the API. + +[docs]: https://github.com/Soheab/vacefron.py/blob/master/docs.md +[changelog]: https://github.com/Soheab/vacefron.py/blob/master/changelog.md +[base_url]: https://vacefron.nl/api/ +[github]: https://github.com/Soheab/vacefron.py +[pypi]: https://pypi.org/project/vacefron.py/ +[discord_vacefron]: https://discord.gg/xJ2HRxZ +[discord_mine]: https://discord.gg/yCzcfju + + + + +%package -n python3-vacefron.py +Summary: A Wrapper for vacefron.nl/api written in Python. +Provides: python-vacefron.py +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-vacefron.py +[](https://pepy.tech/project/vacefron-py) +[](https://pepy.tech/project/vacefron-py) +[](https://pepy.tech/project/vacefron-py) +[](https://pypi.python.org/pypi/vacefron.py/) + +# VACEfron.py + +A Wrapper for [vacefron.nl/api][base_url] written in Python. + +## Requirements + +- Python 3.8 or above +- aiohttp (python3 -m pip install -U aiohttp) + +## Installation + +Install the package by doing one of the following commands: + +**Using pip (recommended)**: + +- `pip install vacefron.py -U` +- `python -m pip install vacefron.py -U` + +## Documentation + +See the full and detailed [docs here][docs] + +## Links + +[API][base_url] | [Changelogs][changelog] | [Github][github] | [PyPi][pypi] + +## Made by + +This wrapper is made by **Soheab_#6240**, DM me on Discord or join my server [here][discord_mine] for anything related to +this wrapper. + +You can join VAC Efron's server [here][discord_vacefron] to suggest or report anything on the API. + +[docs]: https://github.com/Soheab/vacefron.py/blob/master/docs.md +[changelog]: https://github.com/Soheab/vacefron.py/blob/master/changelog.md +[base_url]: https://vacefron.nl/api/ +[github]: https://github.com/Soheab/vacefron.py +[pypi]: https://pypi.org/project/vacefron.py/ +[discord_vacefron]: https://discord.gg/xJ2HRxZ +[discord_mine]: https://discord.gg/yCzcfju + + + + +%package help +Summary: Development documents and examples for vacefron.py +Provides: python3-vacefron.py-doc +%description help +[](https://pepy.tech/project/vacefron-py) +[](https://pepy.tech/project/vacefron-py) +[](https://pepy.tech/project/vacefron-py) +[](https://pypi.python.org/pypi/vacefron.py/) + +# VACEfron.py + +A Wrapper for [vacefron.nl/api][base_url] written in Python. + +## Requirements + +- Python 3.8 or above +- aiohttp (python3 -m pip install -U aiohttp) + +## Installation + +Install the package by doing one of the following commands: + +**Using pip (recommended)**: + +- `pip install vacefron.py -U` +- `python -m pip install vacefron.py -U` + +## Documentation + +See the full and detailed [docs here][docs] + +## Links + +[API][base_url] | [Changelogs][changelog] | [Github][github] | [PyPi][pypi] + +## Made by + +This wrapper is made by **Soheab_#6240**, DM me on Discord or join my server [here][discord_mine] for anything related to +this wrapper. + +You can join VAC Efron's server [here][discord_vacefron] to suggest or report anything on the API. + +[docs]: https://github.com/Soheab/vacefron.py/blob/master/docs.md +[changelog]: https://github.com/Soheab/vacefron.py/blob/master/changelog.md +[base_url]: https://vacefron.nl/api/ +[github]: https://github.com/Soheab/vacefron.py +[pypi]: https://pypi.org/project/vacefron.py/ +[discord_vacefron]: https://discord.gg/xJ2HRxZ +[discord_mine]: https://discord.gg/yCzcfju + + + + +%prep +%autosetup -n vacefron.py-2.0.3 + +%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-vacefron.py -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.3-1 +- Package Spec generated |
