diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-25 09:06:24 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-25 09:06:24 +0000 |
| commit | 19c6b3688023c80d67cbfb9d1fa86ef04ecb6e44 (patch) | |
| tree | 5b992618e710eb2343711192d88989d55fd1de8f | |
| parent | fc0b7fa80e3660c17671e4cbcf7ee2c4edba9f95 (diff) | |
automatic import of python-spellbotopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-spellbot.spec | 205 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 207 insertions, 0 deletions
@@ -0,0 +1 @@ +/spellbot-8.10.1.tar.gz diff --git a/python-spellbot.spec b/python-spellbot.spec new file mode 100644 index 0000000..c2747b7 --- /dev/null +++ b/python-spellbot.spec @@ -0,0 +1,205 @@ +%global _empty_manifest_terminate_build 0 +Name: python-spellbot +Version: 8.10.1 +Release: 1 +Summary: The Discord bot for SpellTable +License: MIT +URL: http://spellbot.io/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/06/4d/be3bc5251375734a1cf014557733bc6d618f07b5d0c0da738ed42946b5a5/spellbot-8.10.1.tar.gz +BuildArch: noarch + +Requires: python3-aiohttp +Requires: python3-aiohttp-jinja2 +Requires: python3-aiohttp-retry +Requires: python3-alembic +Requires: python3-asgiref +Requires: python3-babel +Requires: python3-certifi +Requires: python3-click +Requires: python3-coloredlogs +Requires: python3-datadog +Requires: python3-ddtrace +Requires: python3-discord-py +Requires: python3-dunamai +Requires: python3-expiringdict +Requires: python3-gunicorn +Requires: python3-humanize +Requires: python3-hupper +Requires: python3-importlib-resources +Requires: python3-packaging +Requires: python3-psycopg2-binary +Requires: python3-dateutil +Requires: python3-dotenv +Requires: python3-pytz +Requires: python3-pyyaml +Requires: python3-requests +Requires: python3-sqlalchemy +Requires: python3-sqlalchemy-utils +Requires: python3-supervisor +Requires: python3-toml +Requires: python3-uvloop +Requires: python3-wrapt + +%description +[MIT][mit] © [amy@lexicalunit][lexicalunit] et [al][contributors] +[black-badge]: https://img.shields.io/badge/code%20style-black-000000.svg +[black]: https://github.com/psf/black +[build-badge]: https://github.com/lexicalunit/spellbot/workflows/build/badge.svg +[build]: https://github.com/lexicalunit/spellbot/actions +[codecov-badge]: https://codecov.io/gh/lexicalunit/spellbot/branch/main/graph/badge.svg +[codecov]: https://codecov.io/gh/lexicalunit/spellbot +[contributors]: https://github.com/lexicalunit/spellbot/graphs/contributors +[datadog-badge]: https://img.shields.io/badge/monitors-datadog-blueviolet.svg +[datadog]: https://app.datadoghq.com/apm/home +[discord-invite]: https://discord.gg/HuzTQYpYH4 +[discord-py-badge]: https://img.shields.io/badge/discord.py-2.1.0-blue +[discord-py]: https://github.com/Rapptz/discord.py +[docker-badge]: https://img.shields.io/docker/pulls/lexicalunit/spellbot.svg +[docker-hub]: https://hub.docker.com/r/lexicalunit/spellbot +[follow-badge]: https://img.shields.io/twitter/follow/SpellBotIO?style=social +[follow]: https://twitter.com/intent/follow?screen_name=SpellBotIO +[heroku-badge]: https://img.shields.io/badge/heroku-deployed-green +[heroku]: https://dashboard.heroku.com/apps/lexicalunit-spellbot +[issues]: https://github.com/lexicalunit/spellbot/issues +[lexicalunit]: http://github.com/lexicalunit +[metrics-badge]: https://img.shields.io/badge/metrics-grafana-orange.svg +[metrics]: https://lexicalunit.grafana.net/d/4TSUCbcMz/spellbot?orgId=1 +[mit-badge]: https://img.shields.io/badge/License-MIT-yellow.svg +[mit]: https://opensource.org/licenses/MIT +[patreon-button]: https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dlexicalunit%26type%3Dpatrons88951826-5e053080-d24b-11ea-9a81-f1b5431a5d4b.png +[patreon]: https://www.patreon.com/lexicalunit +[pypi-badge]: https://img.shields.io/pypi/v/spellbot +[pypi]: https://pypi.org/project/spellbot/ +[python-badge]: https://img.shields.io/badge/python-3.10-blue.svg +[python]: https://www.python.org/ +[slash]: https://discord.com/blog/slash-commands-are-here +[spelltable]: https://spelltable.wizards.com/ +[uptime-badge]: https://img.shields.io/uptimerobot/ratio/m785764282-c51c742e56a87d802968efcc +[uptime]: https://uptimerobot.com/dashboard#785764282 + +%package -n python3-spellbot +Summary: The Discord bot for SpellTable +Provides: python-spellbot +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-spellbot +[MIT][mit] © [amy@lexicalunit][lexicalunit] et [al][contributors] +[black-badge]: https://img.shields.io/badge/code%20style-black-000000.svg +[black]: https://github.com/psf/black +[build-badge]: https://github.com/lexicalunit/spellbot/workflows/build/badge.svg +[build]: https://github.com/lexicalunit/spellbot/actions +[codecov-badge]: https://codecov.io/gh/lexicalunit/spellbot/branch/main/graph/badge.svg +[codecov]: https://codecov.io/gh/lexicalunit/spellbot +[contributors]: https://github.com/lexicalunit/spellbot/graphs/contributors +[datadog-badge]: https://img.shields.io/badge/monitors-datadog-blueviolet.svg +[datadog]: https://app.datadoghq.com/apm/home +[discord-invite]: https://discord.gg/HuzTQYpYH4 +[discord-py-badge]: https://img.shields.io/badge/discord.py-2.1.0-blue +[discord-py]: https://github.com/Rapptz/discord.py +[docker-badge]: https://img.shields.io/docker/pulls/lexicalunit/spellbot.svg +[docker-hub]: https://hub.docker.com/r/lexicalunit/spellbot +[follow-badge]: https://img.shields.io/twitter/follow/SpellBotIO?style=social +[follow]: https://twitter.com/intent/follow?screen_name=SpellBotIO +[heroku-badge]: https://img.shields.io/badge/heroku-deployed-green +[heroku]: https://dashboard.heroku.com/apps/lexicalunit-spellbot +[issues]: https://github.com/lexicalunit/spellbot/issues +[lexicalunit]: http://github.com/lexicalunit +[metrics-badge]: https://img.shields.io/badge/metrics-grafana-orange.svg +[metrics]: https://lexicalunit.grafana.net/d/4TSUCbcMz/spellbot?orgId=1 +[mit-badge]: https://img.shields.io/badge/License-MIT-yellow.svg +[mit]: https://opensource.org/licenses/MIT +[patreon-button]: https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dlexicalunit%26type%3Dpatrons88951826-5e053080-d24b-11ea-9a81-f1b5431a5d4b.png +[patreon]: https://www.patreon.com/lexicalunit +[pypi-badge]: https://img.shields.io/pypi/v/spellbot +[pypi]: https://pypi.org/project/spellbot/ +[python-badge]: https://img.shields.io/badge/python-3.10-blue.svg +[python]: https://www.python.org/ +[slash]: https://discord.com/blog/slash-commands-are-here +[spelltable]: https://spelltable.wizards.com/ +[uptime-badge]: https://img.shields.io/uptimerobot/ratio/m785764282-c51c742e56a87d802968efcc +[uptime]: https://uptimerobot.com/dashboard#785764282 + +%package help +Summary: Development documents and examples for spellbot +Provides: python3-spellbot-doc +%description help +[MIT][mit] © [amy@lexicalunit][lexicalunit] et [al][contributors] +[black-badge]: https://img.shields.io/badge/code%20style-black-000000.svg +[black]: https://github.com/psf/black +[build-badge]: https://github.com/lexicalunit/spellbot/workflows/build/badge.svg +[build]: https://github.com/lexicalunit/spellbot/actions +[codecov-badge]: https://codecov.io/gh/lexicalunit/spellbot/branch/main/graph/badge.svg +[codecov]: https://codecov.io/gh/lexicalunit/spellbot +[contributors]: https://github.com/lexicalunit/spellbot/graphs/contributors +[datadog-badge]: https://img.shields.io/badge/monitors-datadog-blueviolet.svg +[datadog]: https://app.datadoghq.com/apm/home +[discord-invite]: https://discord.gg/HuzTQYpYH4 +[discord-py-badge]: https://img.shields.io/badge/discord.py-2.1.0-blue +[discord-py]: https://github.com/Rapptz/discord.py +[docker-badge]: https://img.shields.io/docker/pulls/lexicalunit/spellbot.svg +[docker-hub]: https://hub.docker.com/r/lexicalunit/spellbot +[follow-badge]: https://img.shields.io/twitter/follow/SpellBotIO?style=social +[follow]: https://twitter.com/intent/follow?screen_name=SpellBotIO +[heroku-badge]: https://img.shields.io/badge/heroku-deployed-green +[heroku]: https://dashboard.heroku.com/apps/lexicalunit-spellbot +[issues]: https://github.com/lexicalunit/spellbot/issues +[lexicalunit]: http://github.com/lexicalunit +[metrics-badge]: https://img.shields.io/badge/metrics-grafana-orange.svg +[metrics]: https://lexicalunit.grafana.net/d/4TSUCbcMz/spellbot?orgId=1 +[mit-badge]: https://img.shields.io/badge/License-MIT-yellow.svg +[mit]: https://opensource.org/licenses/MIT +[patreon-button]: https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dlexicalunit%26type%3Dpatrons88951826-5e053080-d24b-11ea-9a81-f1b5431a5d4b.png +[patreon]: https://www.patreon.com/lexicalunit +[pypi-badge]: https://img.shields.io/pypi/v/spellbot +[pypi]: https://pypi.org/project/spellbot/ +[python-badge]: https://img.shields.io/badge/python-3.10-blue.svg +[python]: https://www.python.org/ +[slash]: https://discord.com/blog/slash-commands-are-here +[spelltable]: https://spelltable.wizards.com/ +[uptime-badge]: https://img.shields.io/uptimerobot/ratio/m785764282-c51c742e56a87d802968efcc +[uptime]: https://uptimerobot.com/dashboard#785764282 + +%prep +%autosetup -n spellbot-8.10.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-spellbot -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 25 2023 Python_Bot <Python_Bot@openeuler.org> - 8.10.1-1 +- Package Spec generated @@ -0,0 +1 @@ +ef9e61d61e3ecc424d3d542d7f999693 spellbot-8.10.1.tar.gz |
