diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 09:24:42 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 09:24:42 +0000 |
commit | bf3c2f214d53b398e06280d3ae197c49c69b18c3 (patch) | |
tree | c97a9830eddbed95c1494c9d66c53c0119632b60 | |
parent | fa15a71da3dae698637668cf1a75461b44d24e54 (diff) |
automatic import of python-discord-py-interactions
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-discord-py-interactions.spec | 260 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 262 insertions, 0 deletions
@@ -0,0 +1 @@ +/discord-py-interactions-5.0.0.tar.gz diff --git a/python-discord-py-interactions.spec b/python-discord-py-interactions.spec new file mode 100644 index 0000000..7ccdefb --- /dev/null +++ b/python-discord-py-interactions.spec @@ -0,0 +1,260 @@ +%global _empty_manifest_terminate_build 0 +Name: python-discord-py-interactions +Version: 5.0.0 +Release: 1 +Summary: Easy, simple, scalable and modular: a Python API wrapper for interactions. +License: MIT License +URL: https://github.com/interactions-py/interactions.py +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d1/21/b92acd10006b940c9fe90518f10aa6a623dd134ffac78e7ad50d2739f252/discord-py-interactions-5.0.0.tar.gz +BuildArch: noarch + +Requires: python3-aiohttp +Requires: python3-attrs +Requires: python3-discord-typings +Requires: python3-emoji +Requires: python3-tomli +Requires: python3-PyNaCl +Requires: python3-aiodns +Requires: python3-orjson +Requires: python3-Brotli +Requires: python3-faust-cchardet +Requires: python3-sentry-sdk +Requires: python3-jurigged +Requires: python3-aioconsole +Requires: python3-uvloop +Requires: python3-aioconsole +Requires: python3-pytest +Requires: python3-pytest-recording +Requires: python3-pytest-asyncio +Requires: python3-pytest-cov +Requires: python3-dotenv +Requires: python3-typeguard +Requires: python3-PyNaCl +Requires: python3-aiodns +Requires: python3-orjson +Requires: python3-Brotli +Requires: python3-faust-cchardet +Requires: python3-sentry-sdk +Requires: python3-jurigged +Requires: python3-aioconsole +Requires: python3-mkdocs-autorefs +Requires: python3-mkdocs-awesome-pages-plugin +Requires: python3-mkdocs-material +Requires: python3-mkdocstrings-python +Requires: python3-mkdocs-minify-plugin +Requires: python3-mkdocs-git-committers-plugin-2 +Requires: python3-mkdocs-git-revision-date-localized-plugin +Requires: python3-pre-commit +Requires: python3-uvloop +Requires: python3-PyNaCl +Requires: python3-aiodns +Requires: python3-orjson +Requires: python3-Brotli +Requires: python3-faust-cchardet +Requires: python3-sentry-sdk +Requires: python3-jurigged +Requires: python3-aioconsole +Requires: python3-mkdocs-autorefs +Requires: python3-mkdocs-awesome-pages-plugin +Requires: python3-mkdocs-material +Requires: python3-mkdocstrings-python +Requires: python3-mkdocs-minify-plugin +Requires: python3-mkdocs-git-committers-plugin-2 +Requires: python3-mkdocs-git-revision-date-localized-plugin +Requires: python3-uvloop +Requires: python3-jurigged +Requires: python3-sentry-sdk +Requires: python3-aiodns +Requires: python3-orjson +Requires: python3-Brotli +Requires: python3-faust-cchardet +Requires: python3-uvloop +Requires: python3-pytest +Requires: python3-pytest-recording +Requires: python3-pytest-asyncio +Requires: python3-pytest-cov +Requires: python3-dotenv +Requires: python3-typeguard +Requires: python3-PyNaCl + +%description +# Interactions.py - A Feature-rich Discord Bot Framework for Python +A highly extensible, easy to use, and feature complete framework for Discord. +interactions.py is the culmination of years of experience with Discord's APIs and bot development. This framework has been built from the ground up with community feedback and suggestions in mind. Our framework provides a modern and intuitive set of language bindings for easy interaction with Discord. +## Key Features +interactions.py offers a wide range of features for building Python-powered Discord bots and web applications alike: +- ✅ 100% coverage of the Discord API +- ✅ Dynamic cache with TTL support +- ✅ Modern and Pythonic API for easy interaction with Discord +- ✅ Proper rate-limit handling +- ✅ Feature parity with most other Discord API wrappers +- ✅ Fully automated command synchronisation +In addition to core functionality, interactions.py provides a range of optional extensions, allowing you to further customize your bot and add new features with ease. +## Extensibility +So the base library doesn't do what you want? No problem! With builtin extensions, you are able to extend the functionality of the library. And if none of those pique your interest, there are a myriad of other extension libraries available. +Just type `bot.load("extension")` +<details> + <summary>Extensions</summary> + ### Prefixed Commands + Prefixed commands, message commands, or legacy commands. + Whatever you want to call them, by default the `interactions.py` library will not handle these. But rest assured this extension will get you going + - ✅ Automatic command registration + - ✅ Annotation support + ### Debug Ext + A fully featured debug and utilities suite to help you get your bots made + ### Jurigged + A hot reloading extension allowing you to automagically update your bot without reboots + ### Sentry + Integrates Sentry.io error tracking into your bot with a single line +</details> +## Where do I start? +Getting started with interactions.py is easy! Simply install it via `pip` and start building your Discord application in Python: +`pip install -U discord-py-interactions` +```python +import interactions +bot = interactions.Client() +@interactions.listen() +async def on_start(): + print("Bot is ready!") +bot.start("token") +``` +With interactions.py, you can quickly and easily build complex Discord applications with Python. Check out our [guides](https://interactions-py.github.io/interactions.py/Guides/01%20Getting%20Started) for more information. Or join our [discord](https://discord.gg/interactions). + +%package -n python3-discord-py-interactions +Summary: Easy, simple, scalable and modular: a Python API wrapper for interactions. +Provides: python-discord-py-interactions +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-discord-py-interactions +# Interactions.py - A Feature-rich Discord Bot Framework for Python +A highly extensible, easy to use, and feature complete framework for Discord. +interactions.py is the culmination of years of experience with Discord's APIs and bot development. This framework has been built from the ground up with community feedback and suggestions in mind. Our framework provides a modern and intuitive set of language bindings for easy interaction with Discord. +## Key Features +interactions.py offers a wide range of features for building Python-powered Discord bots and web applications alike: +- ✅ 100% coverage of the Discord API +- ✅ Dynamic cache with TTL support +- ✅ Modern and Pythonic API for easy interaction with Discord +- ✅ Proper rate-limit handling +- ✅ Feature parity with most other Discord API wrappers +- ✅ Fully automated command synchronisation +In addition to core functionality, interactions.py provides a range of optional extensions, allowing you to further customize your bot and add new features with ease. +## Extensibility +So the base library doesn't do what you want? No problem! With builtin extensions, you are able to extend the functionality of the library. And if none of those pique your interest, there are a myriad of other extension libraries available. +Just type `bot.load("extension")` +<details> + <summary>Extensions</summary> + ### Prefixed Commands + Prefixed commands, message commands, or legacy commands. + Whatever you want to call them, by default the `interactions.py` library will not handle these. But rest assured this extension will get you going + - ✅ Automatic command registration + - ✅ Annotation support + ### Debug Ext + A fully featured debug and utilities suite to help you get your bots made + ### Jurigged + A hot reloading extension allowing you to automagically update your bot without reboots + ### Sentry + Integrates Sentry.io error tracking into your bot with a single line +</details> +## Where do I start? +Getting started with interactions.py is easy! Simply install it via `pip` and start building your Discord application in Python: +`pip install -U discord-py-interactions` +```python +import interactions +bot = interactions.Client() +@interactions.listen() +async def on_start(): + print("Bot is ready!") +bot.start("token") +``` +With interactions.py, you can quickly and easily build complex Discord applications with Python. Check out our [guides](https://interactions-py.github.io/interactions.py/Guides/01%20Getting%20Started) for more information. Or join our [discord](https://discord.gg/interactions). + +%package help +Summary: Development documents and examples for discord-py-interactions +Provides: python3-discord-py-interactions-doc +%description help +# Interactions.py - A Feature-rich Discord Bot Framework for Python +A highly extensible, easy to use, and feature complete framework for Discord. +interactions.py is the culmination of years of experience with Discord's APIs and bot development. This framework has been built from the ground up with community feedback and suggestions in mind. Our framework provides a modern and intuitive set of language bindings for easy interaction with Discord. +## Key Features +interactions.py offers a wide range of features for building Python-powered Discord bots and web applications alike: +- ✅ 100% coverage of the Discord API +- ✅ Dynamic cache with TTL support +- ✅ Modern and Pythonic API for easy interaction with Discord +- ✅ Proper rate-limit handling +- ✅ Feature parity with most other Discord API wrappers +- ✅ Fully automated command synchronisation +In addition to core functionality, interactions.py provides a range of optional extensions, allowing you to further customize your bot and add new features with ease. +## Extensibility +So the base library doesn't do what you want? No problem! With builtin extensions, you are able to extend the functionality of the library. And if none of those pique your interest, there are a myriad of other extension libraries available. +Just type `bot.load("extension")` +<details> + <summary>Extensions</summary> + ### Prefixed Commands + Prefixed commands, message commands, or legacy commands. + Whatever you want to call them, by default the `interactions.py` library will not handle these. But rest assured this extension will get you going + - ✅ Automatic command registration + - ✅ Annotation support + ### Debug Ext + A fully featured debug and utilities suite to help you get your bots made + ### Jurigged + A hot reloading extension allowing you to automagically update your bot without reboots + ### Sentry + Integrates Sentry.io error tracking into your bot with a single line +</details> +## Where do I start? +Getting started with interactions.py is easy! Simply install it via `pip` and start building your Discord application in Python: +`pip install -U discord-py-interactions` +```python +import interactions +bot = interactions.Client() +@interactions.listen() +async def on_start(): + print("Bot is ready!") +bot.start("token") +``` +With interactions.py, you can quickly and easily build complex Discord applications with Python. Check out our [guides](https://interactions-py.github.io/interactions.py/Guides/01%20Getting%20Started) for more information. Or join our [discord](https://discord.gg/interactions). + +%prep +%autosetup -n discord-py-interactions-5.0.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-discord-py-interactions -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.0-1 +- Package Spec generated @@ -0,0 +1 @@ +7fd06f5a406a9e4104357ad766ff8f60 discord-py-interactions-5.0.0.tar.gz |