summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 05:56:32 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 05:56:32 +0000
commit269c41bc91c578cf3daad34524bd8ad51bea795a (patch)
tree0ce173e5b8cd84ce1a954533c3df2c0fd682c346
parent76882b2ae6ce6c31369a0d4afe66a617d52a5e09 (diff)
automatic import of python-voxelbotutils
-rw-r--r--.gitignore1
-rw-r--r--python-voxelbotutils.spec201
-rw-r--r--sources1
3 files changed, 203 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..54a1e1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/voxelbotutils-0.8.4.tar.gz
diff --git a/python-voxelbotutils.spec b/python-voxelbotutils.spec
new file mode 100644
index 0000000..9a370c3
--- /dev/null
+++ b/python-voxelbotutils.spec
@@ -0,0 +1,201 @@
+%global _empty_manifest_terminate_build 0
+Name: python-voxelbotutils
+Version: 0.8.4
+Release: 1
+Summary: A set of bot utilities for Novus
+License: GNU General Public License v2 (GPLv2)
+URL: https://github.com/Voxel-Fox-Ltd/VoxelBotUtils
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/35/0b/75afe1d53be9413314e3dfb3febf545ca872cb699d6b1182f42bfae4c362/voxelbotutils-0.8.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-novus
+Requires: python3-toml
+Requires: python3-aiosqlite
+Requires: python3-aioredis
+Requires: python3-aioredlock
+Requires: python3-aiodogstatsd
+Requires: python3-aiohttp
+Requires: python3-upgradechatpy
+Requires: python3-cryptography
+Requires: python3-aiohttp-jinja2
+Requires: python3-aiohttp-session
+Requires: python3-jinja2
+Requires: python3-markdown
+Requires: python3-htmlmin
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-aiomysql
+Requires: python3-asyncpg
+
+%description
+![GitHub stars badge](https://img.shields.io/github/stars/Voxel-Fox-Ltd/VoxelBotUtils)
+![PyPi version info](https://img.shields.io/pypi/v/voxelbotutils.svg)
+![PyPi Python versions](https://img.shields.io/pypi/pyversions/voxelbotutils.svg)
+![Twitter badge](https://img.shields.io/twitter/url?url=https%3A%2F%2Fgithub.com%2FVoxel-Fox-Ltd%2FVoxelBotUtils)
+
+# VoxelBotUtils
+
+VoxelBotUtils (VBU) is an extension for Novus to speed up Discord bot development. It includes a whole slew of features that are commonly used in a lot of bots so you don't need to keep writing them every time. Many features are available to you by default:
+
+* Built-in error handling for all of Novus's errors.
+* Built-in database connector.
+* Logging using Python's `logging.Logger` classes.
+* Webhook sends on different events.
+* Bot stats posting via StatsD and DataDog.
+* A help command that doesn't look like trash.
+* Owner-only commands.
+* Presence auto-updating based on Twitch streamers.
+* Website utilities.
+* And more...
+
+# Basic Usage
+
+* Install VBU via pip - `pip install voxelbotutils`.
+* Create your config file via CMD - `vbu create-config bot`.
+* Update your auto-generated config file in `config/config.toml`.
+* (Optional) Add/change any cogs you wish inside of the `cogs/` folder.
+* Run your bot - `vbu run-bot`.
+
+# Docs
+
+Documentation for the package and its usage can be [found here](https://voxelbotutils.readthedocs.io/).
+
+# Installing
+
+The package is available via PyPi - `pip install voxelbotutils`. The tags on this repo can be used to keep up-to-date with different releases. The master branch is not guaranteed to be fully working, whereas PyPi releases are.
+
+
+
+
+%package -n python3-voxelbotutils
+Summary: A set of bot utilities for Novus
+Provides: python-voxelbotutils
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-voxelbotutils
+![GitHub stars badge](https://img.shields.io/github/stars/Voxel-Fox-Ltd/VoxelBotUtils)
+![PyPi version info](https://img.shields.io/pypi/v/voxelbotutils.svg)
+![PyPi Python versions](https://img.shields.io/pypi/pyversions/voxelbotutils.svg)
+![Twitter badge](https://img.shields.io/twitter/url?url=https%3A%2F%2Fgithub.com%2FVoxel-Fox-Ltd%2FVoxelBotUtils)
+
+# VoxelBotUtils
+
+VoxelBotUtils (VBU) is an extension for Novus to speed up Discord bot development. It includes a whole slew of features that are commonly used in a lot of bots so you don't need to keep writing them every time. Many features are available to you by default:
+
+* Built-in error handling for all of Novus's errors.
+* Built-in database connector.
+* Logging using Python's `logging.Logger` classes.
+* Webhook sends on different events.
+* Bot stats posting via StatsD and DataDog.
+* A help command that doesn't look like trash.
+* Owner-only commands.
+* Presence auto-updating based on Twitch streamers.
+* Website utilities.
+* And more...
+
+# Basic Usage
+
+* Install VBU via pip - `pip install voxelbotutils`.
+* Create your config file via CMD - `vbu create-config bot`.
+* Update your auto-generated config file in `config/config.toml`.
+* (Optional) Add/change any cogs you wish inside of the `cogs/` folder.
+* Run your bot - `vbu run-bot`.
+
+# Docs
+
+Documentation for the package and its usage can be [found here](https://voxelbotutils.readthedocs.io/).
+
+# Installing
+
+The package is available via PyPi - `pip install voxelbotutils`. The tags on this repo can be used to keep up-to-date with different releases. The master branch is not guaranteed to be fully working, whereas PyPi releases are.
+
+
+
+
+%package help
+Summary: Development documents and examples for voxelbotutils
+Provides: python3-voxelbotutils-doc
+%description help
+![GitHub stars badge](https://img.shields.io/github/stars/Voxel-Fox-Ltd/VoxelBotUtils)
+![PyPi version info](https://img.shields.io/pypi/v/voxelbotutils.svg)
+![PyPi Python versions](https://img.shields.io/pypi/pyversions/voxelbotutils.svg)
+![Twitter badge](https://img.shields.io/twitter/url?url=https%3A%2F%2Fgithub.com%2FVoxel-Fox-Ltd%2FVoxelBotUtils)
+
+# VoxelBotUtils
+
+VoxelBotUtils (VBU) is an extension for Novus to speed up Discord bot development. It includes a whole slew of features that are commonly used in a lot of bots so you don't need to keep writing them every time. Many features are available to you by default:
+
+* Built-in error handling for all of Novus's errors.
+* Built-in database connector.
+* Logging using Python's `logging.Logger` classes.
+* Webhook sends on different events.
+* Bot stats posting via StatsD and DataDog.
+* A help command that doesn't look like trash.
+* Owner-only commands.
+* Presence auto-updating based on Twitch streamers.
+* Website utilities.
+* And more...
+
+# Basic Usage
+
+* Install VBU via pip - `pip install voxelbotutils`.
+* Create your config file via CMD - `vbu create-config bot`.
+* Update your auto-generated config file in `config/config.toml`.
+* (Optional) Add/change any cogs you wish inside of the `cogs/` folder.
+* Run your bot - `vbu run-bot`.
+
+# Docs
+
+Documentation for the package and its usage can be [found here](https://voxelbotutils.readthedocs.io/).
+
+# Installing
+
+The package is available via PyPi - `pip install voxelbotutils`. The tags on this repo can be used to keep up-to-date with different releases. The master branch is not guaranteed to be fully working, whereas PyPi releases are.
+
+
+
+
+%prep
+%autosetup -n voxelbotutils-0.8.4
+
+%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-voxelbotutils -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b4b4914
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ee93733cc6a7b5ddb42112bee9c32868 voxelbotutils-0.8.4.tar.gz