diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-17 05:20:24 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-17 05:20:24 +0000 |
| commit | 8d036d086eaa6e49d7758088de1856b473118584 (patch) | |
| tree | 312ee4364c2b13f9167fe132ae2e95315b048585 | |
| parent | 124572aaa0b14c6d58534b7255092c62d5bb6f60 (diff) | |
automatic import of python-nextcord-ext-menus
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-nextcord-ext-menus.spec | 192 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 194 insertions, 0 deletions
@@ -0,0 +1 @@ +/nextcord-ext-menus-1.5.6.tar.gz diff --git a/python-nextcord-ext-menus.spec b/python-nextcord-ext-menus.spec new file mode 100644 index 0000000..aded3d5 --- /dev/null +++ b/python-nextcord-ext-menus.spec @@ -0,0 +1,192 @@ +%global _empty_manifest_terminate_build 0 +Name: python-nextcord-ext-menus +Version: 1.5.6 +Release: 1 +Summary: An extension module to make reaction and button component menus with nextcord +License: MIT +URL: https://github.com/nextcord/nextcord-ext-menus +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/44/e9/a3413e89c7c7a3b71b42045407aa2fcdde1de14bbf1f3ded3b2aad9e9dde/nextcord-ext-menus-1.5.6.tar.gz +BuildArch: noarch + +Requires: python3-sphinx +Requires: python3-sphinxcontrib-trio +Requires: python3-sphinx-book-theme + +%description +# nextcord-ext-menus + +[](https://discord.gg/ZebatWssCB) +[](https://pypi.python.org/pypi/nextcord-ext-menus) +[](https://pypi.python.org/pypi/nextcord) +[](https://menus.docs.nextcord.dev) + +A Nextcord extension that makes working with reaction menus and button component menus a bit easier. + + + +## Installing + +### Requirements + +**Python 3.8 or higher is required** + +It is necessary to first install [Nextcord](https://github.com/nextcord/nextcord) + +Then install the extension by running one of the following commands: + +```py +# Linux/macOS +python3 -m pip install -U nextcord-ext-menus + +# Windows +py -3 -m pip install -U nextcord-ext-menus +``` + +## Links + +- [Documentation](https://menus.docs.nextcord.dev/en/latest/) +- [Usage Examples](https://github.com/nextcord/nextcord-ext-menus/tree/master/examples) +- [Official Discord server](https://discord.gg/ZebatWssCB) + +## License + +Copyright (c) 2021 The Nextcord Developers +Copyright (c) 2020-2021 Danny Y. (Rapptz) + + +%package -n python3-nextcord-ext-menus +Summary: An extension module to make reaction and button component menus with nextcord +Provides: python-nextcord-ext-menus +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-nextcord-ext-menus +# nextcord-ext-menus + +[](https://discord.gg/ZebatWssCB) +[](https://pypi.python.org/pypi/nextcord-ext-menus) +[](https://pypi.python.org/pypi/nextcord) +[](https://menus.docs.nextcord.dev) + +A Nextcord extension that makes working with reaction menus and button component menus a bit easier. + + + +## Installing + +### Requirements + +**Python 3.8 or higher is required** + +It is necessary to first install [Nextcord](https://github.com/nextcord/nextcord) + +Then install the extension by running one of the following commands: + +```py +# Linux/macOS +python3 -m pip install -U nextcord-ext-menus + +# Windows +py -3 -m pip install -U nextcord-ext-menus +``` + +## Links + +- [Documentation](https://menus.docs.nextcord.dev/en/latest/) +- [Usage Examples](https://github.com/nextcord/nextcord-ext-menus/tree/master/examples) +- [Official Discord server](https://discord.gg/ZebatWssCB) + +## License + +Copyright (c) 2021 The Nextcord Developers +Copyright (c) 2020-2021 Danny Y. (Rapptz) + + +%package help +Summary: Development documents and examples for nextcord-ext-menus +Provides: python3-nextcord-ext-menus-doc +%description help +# nextcord-ext-menus + +[](https://discord.gg/ZebatWssCB) +[](https://pypi.python.org/pypi/nextcord-ext-menus) +[](https://pypi.python.org/pypi/nextcord) +[](https://menus.docs.nextcord.dev) + +A Nextcord extension that makes working with reaction menus and button component menus a bit easier. + + + +## Installing + +### Requirements + +**Python 3.8 or higher is required** + +It is necessary to first install [Nextcord](https://github.com/nextcord/nextcord) + +Then install the extension by running one of the following commands: + +```py +# Linux/macOS +python3 -m pip install -U nextcord-ext-menus + +# Windows +py -3 -m pip install -U nextcord-ext-menus +``` + +## Links + +- [Documentation](https://menus.docs.nextcord.dev/en/latest/) +- [Usage Examples](https://github.com/nextcord/nextcord-ext-menus/tree/master/examples) +- [Official Discord server](https://discord.gg/ZebatWssCB) + +## License + +Copyright (c) 2021 The Nextcord Developers +Copyright (c) 2020-2021 Danny Y. (Rapptz) + + +%prep +%autosetup -n nextcord-ext-menus-1.5.6 + +%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-nextcord-ext-menus -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.6-1 +- Package Spec generated @@ -0,0 +1 @@ +6a1e6d359ec746670b412fd269766798 nextcord-ext-menus-1.5.6.tar.gz |
