diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 03:53:25 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 03:53:25 +0000 |
| commit | cad45eeeb5ab3d9f4bd5a2a6f133ff9287bf19dc (patch) | |
| tree | 6ab58ce331e9ba7e135ac8f19c72f9a13810cf1e /python-quart-trio.spec | |
| parent | c15082c32a3aee9d85bddfe95245564fcc2f7d16 (diff) | |
automatic import of python-quart-trioopeneuler20.03
Diffstat (limited to 'python-quart-trio.spec')
| -rw-r--r-- | python-quart-trio.spec | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/python-quart-trio.spec b/python-quart-trio.spec new file mode 100644 index 0000000..1929359 --- /dev/null +++ b/python-quart-trio.spec @@ -0,0 +1,91 @@ +%global _empty_manifest_terminate_build 0 +Name: python-quart-trio +Version: 0.10.0 +Release: 1 +Summary: A Quart extension to provide trio support +License: MIT +URL: https://github.com/pgjones/quart-trio/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ba/91/adffaeb163f5360e3812732af38db3144af626748f83e94c3371233297e4/quart-trio-0.10.0.tar.gz +BuildArch: noarch + +Requires: python3-pydata_sphinx_theme +Requires: python3-hypercorn[trio] +Requires: python3-quart +Requires: python3-trio + +%description +|Build Status| |docs| |pypi| |python| |license| +Quart-Trio is an extension for `Quart +<https://gitlab.com/pgjones/quart>`__ to support the `Trio +<https://trio.readthedocs.io/en/latest/>`_ event loop. This is an +alternative to using the asyncio event loop present in the Python +standard library and supported by default in Quart. + +%package -n python3-quart-trio +Summary: A Quart extension to provide trio support +Provides: python-quart-trio +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-quart-trio +|Build Status| |docs| |pypi| |python| |license| +Quart-Trio is an extension for `Quart +<https://gitlab.com/pgjones/quart>`__ to support the `Trio +<https://trio.readthedocs.io/en/latest/>`_ event loop. This is an +alternative to using the asyncio event loop present in the Python +standard library and supported by default in Quart. + +%package help +Summary: Development documents and examples for quart-trio +Provides: python3-quart-trio-doc +%description help +|Build Status| |docs| |pypi| |python| |license| +Quart-Trio is an extension for `Quart +<https://gitlab.com/pgjones/quart>`__ to support the `Trio +<https://trio.readthedocs.io/en/latest/>`_ event loop. This is an +alternative to using the asyncio event loop present in the Python +standard library and supported by default in Quart. + +%prep +%autosetup -n quart-trio-0.10.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-quart-trio -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.10.0-1 +- Package Spec generated |
