diff options
author | CoprDistGit <infra@openeuler.org> | 2025-02-26 03:36:19 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-02-26 03:36:19 +0000 |
commit | 036f0b174d2c0c17c85f0bd7738ee653a6f9a55e (patch) | |
tree | ca34f378d3593d3ab369be60b5eaec22a0387bd4 | |
parent | 523c1d6da6807ff760f5355f1b41223cd291e551 (diff) |
automatic import of python-quart
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-quart.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/quart-0.20.0.tar.gz diff --git a/python-quart.spec b/python-quart.spec new file mode 100644 index 0000000..1ea79f5 --- /dev/null +++ b/python-quart.spec @@ -0,0 +1,72 @@ +Name: python-quart +Version: 0.20.0 +Release: 1 +Summary: A Python ASGI web microframework with the same API as Flask + +# SPDX +License: MIT +URL: https://github.com/pallets/quart +Source: %{url}/archive/%{version}/quart-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling +BuildRequires: python3-poetry-core +BuildRequires: python3-tox-current-env +BuildRequires: python3-aiofiles +BuildRequires: python3-hypercorn +BuildRequires: python3-werkzeug +BuildRequires: python3-flask +# for test +BuildRequires: python3-pytest +BuildRequires: python3-pytest-asyncio +BuildRequires: python3-hypothesis +BuildRequires: python3-dotenv + +%global common_description %{expand: +Quart is an async Python web microframework. Using Quart you can, + + * render and serve HTML templates, + * write (RESTful) JSON APIs, + * serve WebSockets, + * stream request and response data, + * do pretty much anything over the HTTP or WebSocket protocols.} + +%description %{common_description} + + +%package -n python3-quart +Summary: %{summary} + +%description -n python3-quart %{common_description} + + +%pyproject_extras_subpkg -n python3-quart dotenv + + +%prep +%autosetup -n quart-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%check +%pytest -- -v + +%files -n python3-quart +%license LICENSE.txt +%doc CHANGES.md README.md +%{_bindir}/quart +%{python3_sitelib}/quart +%{python3_sitelib}/quart-*.dist-info/ + +%changelog +* Wed Feb 26 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 0.20.0-1 +- Init package @@ -0,0 +1 @@ +4b7e0e8fab27cb6f8a37f672da8c8e33 quart-0.20.0.tar.gz |