diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 05:34:38 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 05:34:38 +0000 |
| commit | 2e87e67d19b34b724a0be57b94ec0134204cfe65 (patch) | |
| tree | d99f7898ab343cc1030d31d8c7e602da3ac77eb1 | |
| parent | 61a493848c0ea355d1ac85559a9aecea09748e6d (diff) | |
automatic import of python-flask-discord
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-flask-discord.spec | 79 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 81 insertions, 0 deletions
@@ -0,0 +1 @@ +/Flask-Discord-0.1.69.tar.gz diff --git a/python-flask-discord.spec b/python-flask-discord.spec new file mode 100644 index 0000000..35106b3 --- /dev/null +++ b/python-flask-discord.spec @@ -0,0 +1,79 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Flask-Discord +Version: 0.1.69 +Release: 1 +Summary: Discord OAuth2 extension for Flask. +License: MIT +URL: https://github.com/thec0sm0s/Flask-Discord +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ed/43/a02d33b730d7fecdbdb496e40ec4262adf6b09791689e9e08cdf91c3c889/Flask-Discord-0.1.69.tar.gz +BuildArch: noarch + +Requires: python3-Flask +Requires: python3-pyjwt +Requires: python3-requests +Requires: python3-oauthlib +Requires: python3-cachetools +Requires: python3-requests-oauthlib +Requires: python3-sphinx + +%description +An Discord OAuth2 flask extension. + +%package -n python3-Flask-Discord +Summary: Discord OAuth2 extension for Flask. +Provides: python-Flask-Discord +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Flask-Discord +An Discord OAuth2 flask extension. + +%package help +Summary: Development documents and examples for Flask-Discord +Provides: python3-Flask-Discord-doc +%description help +An Discord OAuth2 flask extension. + +%prep +%autosetup -n Flask-Discord-0.1.69 + +%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-Flask-Discord -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.69-1 +- Package Spec generated @@ -0,0 +1 @@ +fd2e25f2ec53ff1f2899e9117c377fba Flask-Discord-0.1.69.tar.gz |
