summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 19:30:20 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 19:30:20 +0000
commit118b1a3c83d97e70708e9662ddadf4b5549f739b (patch)
tree8572412c347dabb82e0413e57f3f0389393e8317
parent2c02da74a2bd45e250e5a0917e79233c6e56ab25 (diff)
automatic import of python-discord-py-self
-rw-r--r--.gitignore1
-rw-r--r--python-discord-py-self.spec95
-rw-r--r--sources1
3 files changed, 97 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..22ca7d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/discord.py-self-2.0.0.tar.gz
diff --git a/python-discord-py-self.spec b/python-discord-py-self.spec
new file mode 100644
index 0000000..0ce323a
--- /dev/null
+++ b/python-discord-py-self.spec
@@ -0,0 +1,95 @@
+%global _empty_manifest_terminate_build 0
+Name: python-discord.py-self
+Version: 2.0.0
+Release: 1
+Summary: A Python wrapper for the Discord user API
+License: MIT
+URL: https://github.com/dolfies/discord.py-self
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f0/e1/cd9cb28e9cc061904f468ee690eb63ea0fceac56bb8481550527377b71b8/discord.py-self-2.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-aiohttp
+Requires: python3-discord-protos
+Requires: python3-sphinx
+Requires: python3-sphinxcontrib-trio
+Requires: python3-sphinxcontrib-websupport
+Requires: python3-typing-extensions
+Requires: python3-orjson
+Requires: python3-aiodns
+Requires: python3-Brotli
+Requires: python3-cchardet
+Requires: python3-coverage[toml]
+Requires: python3-pytest
+Requires: python3-pytest-asyncio
+Requires: python3-pytest-cov
+Requires: python3-pytest-mock
+Requires: python3-typing-extensions
+Requires: python3-PyNaCl
+
+%description
+A modern, easy to use, feature-rich, and async ready API wrapper for Discord's user API written in Python.
+| **Note:**
+| Automating user accounts is against the Discord ToS. This library is a proof of concept and I cannot recommend using it. Do so at your own risk.
+
+%package -n python3-discord.py-self
+Summary: A Python wrapper for the Discord user API
+Provides: python-discord.py-self
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-discord.py-self
+A modern, easy to use, feature-rich, and async ready API wrapper for Discord's user API written in Python.
+| **Note:**
+| Automating user accounts is against the Discord ToS. This library is a proof of concept and I cannot recommend using it. Do so at your own risk.
+
+%package help
+Summary: Development documents and examples for discord.py-self
+Provides: python3-discord.py-self-doc
+%description help
+A modern, easy to use, feature-rich, and async ready API wrapper for Discord's user API written in Python.
+| **Note:**
+| Automating user accounts is against the Discord ToS. This library is a proof of concept and I cannot recommend using it. Do so at your own risk.
+
+%prep
+%autosetup -n discord.py-self-2.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-self -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..af7ef84
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+617cd1496fd99458f4504d821fc98546 discord.py-self-2.0.0.tar.gz