summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 13:57:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 13:57:55 +0000
commit92f31442b9612a8b8f15678bdacc89f09714696f (patch)
tree81fa4d6a617df79c26d6b97d75c9840e052dd641
parent1c158904c0e6769d3a90b68345e5dc67d0112159 (diff)
automatic import of python-dyscordopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-dyscord.spec181
-rw-r--r--sources1
3 files changed, 183 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0fddf9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dyscord-0.6.1.tar.gz
diff --git a/python-dyscord.spec b/python-dyscord.spec
new file mode 100644
index 0000000..a0569d8
--- /dev/null
+++ b/python-dyscord.spec
@@ -0,0 +1,181 @@
+%global _empty_manifest_terminate_build 0
+Name: python-dyscord
+Version: 0.6.1
+Release: 1
+Summary: A simple implementation of the discord API.
+License: GPLv3
+URL: https://github.com/isbe-house/dyscord
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/95/9e/7d892cd416f889083cc5dd63ea4c8eee01d54be12e5e4281eab787dea86b/dyscord-0.6.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-cachetools
+Requires: python3-colour
+Requires: python3-emoji
+Requires: python3-httpx
+Requires: python3-nest-asyncio
+Requires: python3-orjson
+Requires: python3-requests
+Requires: python3-websockets
+Requires: python3-validators
+Requires: python3-logging-levels
+
+%description
+# dyscord
+
+A simplistic implementation of the discord API.
+
+## Main
+
+[![Testing](https://github.com/isbe-house/dyscord/actions/workflows/python-testing.yml/badge.svg?branch=main)](https://github.com/isbe-house/dyscord/actions/workflows/python-testing.yml) [![Documentation Status](https://readthedocs.org/projects/dyscord/badge/?version=main)](https://dyscord.readthedocs.io/en/main/?badge=main) [![codecov:main](https://codecov.io/gh/isbe-house/dyscord/branch/main/graph/badge.svg?token=A7ESSI2QXG)](https://app.codecov.io/gh/isbe-house/dyscord/branch/main)
+
+[![Downloads](https://static.pepy.tech/personalized-badge/dyscord?period=month&units=international_system&left_color=grey&right_color=brightgreen&left_text=Downloads)](https://pepy.tech/project/dyscord)
+
+## Dev
+
+[![Testing](https://github.com/isbe-house/dyscord/actions/workflows/python-testing.yml/badge.svg?branch=dev)](https://github.com/isbe-house/dyscord/actions/workflows/python-testing.yml) [![Documentation Status](https://readthedocs.org/projects/dyscord/badge/?version=dev)](https://dyscord.readthedocs.io/en/dev/?badge=dev) [![codecov:dev](https://codecov.io/gh/isbe-house/dyscord/branch/dev/graph/badge.svg?token=A7ESSI2QXG)](https://app.codecov.io/gh/isbe-house/dyscord/branch/dev)
+
+
+# Current Status
+
+Very much an active WIP. The API to this library is not at all locked down. Users can expect aggressive changes to the API until we hit v1.0.0
+
+# Documentation
+
+Documentation can be found over at [Read The Docs](https://dyscord.readthedocs.io/).
+
+We are following [Google Style](https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html) docstring patterns.
+
+# Community
+
+Come talk on the [Dyscord subreddit](https://www.reddit.com/r/dyscord/), or the [Dyscord discord](https://discord.gg/Q9NFzgZx)!
+
+# Changelog
+
+See the [Changelog](https://dyscord.readthedocs.io/en/main/changelog/).
+
+
+
+%package -n python3-dyscord
+Summary: A simple implementation of the discord API.
+Provides: python-dyscord
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-dyscord
+# dyscord
+
+A simplistic implementation of the discord API.
+
+## Main
+
+[![Testing](https://github.com/isbe-house/dyscord/actions/workflows/python-testing.yml/badge.svg?branch=main)](https://github.com/isbe-house/dyscord/actions/workflows/python-testing.yml) [![Documentation Status](https://readthedocs.org/projects/dyscord/badge/?version=main)](https://dyscord.readthedocs.io/en/main/?badge=main) [![codecov:main](https://codecov.io/gh/isbe-house/dyscord/branch/main/graph/badge.svg?token=A7ESSI2QXG)](https://app.codecov.io/gh/isbe-house/dyscord/branch/main)
+
+[![Downloads](https://static.pepy.tech/personalized-badge/dyscord?period=month&units=international_system&left_color=grey&right_color=brightgreen&left_text=Downloads)](https://pepy.tech/project/dyscord)
+
+## Dev
+
+[![Testing](https://github.com/isbe-house/dyscord/actions/workflows/python-testing.yml/badge.svg?branch=dev)](https://github.com/isbe-house/dyscord/actions/workflows/python-testing.yml) [![Documentation Status](https://readthedocs.org/projects/dyscord/badge/?version=dev)](https://dyscord.readthedocs.io/en/dev/?badge=dev) [![codecov:dev](https://codecov.io/gh/isbe-house/dyscord/branch/dev/graph/badge.svg?token=A7ESSI2QXG)](https://app.codecov.io/gh/isbe-house/dyscord/branch/dev)
+
+
+# Current Status
+
+Very much an active WIP. The API to this library is not at all locked down. Users can expect aggressive changes to the API until we hit v1.0.0
+
+# Documentation
+
+Documentation can be found over at [Read The Docs](https://dyscord.readthedocs.io/).
+
+We are following [Google Style](https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html) docstring patterns.
+
+# Community
+
+Come talk on the [Dyscord subreddit](https://www.reddit.com/r/dyscord/), or the [Dyscord discord](https://discord.gg/Q9NFzgZx)!
+
+# Changelog
+
+See the [Changelog](https://dyscord.readthedocs.io/en/main/changelog/).
+
+
+
+%package help
+Summary: Development documents and examples for dyscord
+Provides: python3-dyscord-doc
+%description help
+# dyscord
+
+A simplistic implementation of the discord API.
+
+## Main
+
+[![Testing](https://github.com/isbe-house/dyscord/actions/workflows/python-testing.yml/badge.svg?branch=main)](https://github.com/isbe-house/dyscord/actions/workflows/python-testing.yml) [![Documentation Status](https://readthedocs.org/projects/dyscord/badge/?version=main)](https://dyscord.readthedocs.io/en/main/?badge=main) [![codecov:main](https://codecov.io/gh/isbe-house/dyscord/branch/main/graph/badge.svg?token=A7ESSI2QXG)](https://app.codecov.io/gh/isbe-house/dyscord/branch/main)
+
+[![Downloads](https://static.pepy.tech/personalized-badge/dyscord?period=month&units=international_system&left_color=grey&right_color=brightgreen&left_text=Downloads)](https://pepy.tech/project/dyscord)
+
+## Dev
+
+[![Testing](https://github.com/isbe-house/dyscord/actions/workflows/python-testing.yml/badge.svg?branch=dev)](https://github.com/isbe-house/dyscord/actions/workflows/python-testing.yml) [![Documentation Status](https://readthedocs.org/projects/dyscord/badge/?version=dev)](https://dyscord.readthedocs.io/en/dev/?badge=dev) [![codecov:dev](https://codecov.io/gh/isbe-house/dyscord/branch/dev/graph/badge.svg?token=A7ESSI2QXG)](https://app.codecov.io/gh/isbe-house/dyscord/branch/dev)
+
+
+# Current Status
+
+Very much an active WIP. The API to this library is not at all locked down. Users can expect aggressive changes to the API until we hit v1.0.0
+
+# Documentation
+
+Documentation can be found over at [Read The Docs](https://dyscord.readthedocs.io/).
+
+We are following [Google Style](https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html) docstring patterns.
+
+# Community
+
+Come talk on the [Dyscord subreddit](https://www.reddit.com/r/dyscord/), or the [Dyscord discord](https://discord.gg/Q9NFzgZx)!
+
+# Changelog
+
+See the [Changelog](https://dyscord.readthedocs.io/en/main/changelog/).
+
+
+
+%prep
+%autosetup -n dyscord-0.6.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-dyscord -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..fb096ea
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+80b9510a3390e54b9af035e97c6aaea1 dyscord-0.6.1.tar.gz