From 036f0b174d2c0c17c85f0bd7738ee653a6f9a55e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 26 Feb 2025 03:36:19 +0000 Subject: automatic import of python-quart --- .gitignore | 1 + python-quart.spec | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 74 insertions(+) create mode 100644 python-quart.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..8167603 100644 --- a/.gitignore +++ b/.gitignore @@ -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 - 0.20.0-1 +- Init package diff --git a/sources b/sources new file mode 100644 index 0000000..0d1b40a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +4b7e0e8fab27cb6f8a37f672da8c8e33 quart-0.20.0.tar.gz -- cgit v1.2.3