blob: dad222a2902bdd2731580fffa73226924a9629e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
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-flit-core
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
%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
|