summaryrefslogtreecommitdiff
path: root/python-quart-trio.spec
blob: 14267f57f0943d706dbfa81bfd9688f51c71b231 (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
Name:           python-quart-trio
Version:        0.12.0
Release:        1
Summary:        A Quart extension to provide trio support

# SPDX
License:        MIT
URL:            https://github.com/pgjones/quart-trio
Source:         %{url}/archive/%{version}/quart-trio-%{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-pdm-backend
# for test
BuildRequires:	python3-pytest
BuildRequires:	python3-pytest-asyncio

%global common_description %{expand:
Quart-Trio is an extension for Quart to support the Trio event loop. This is an
alternative to using the asyncio event loop present in the Python standard
library and supported by default in Quart.}

%description %{common_description}


%package -n python3-quart-trio
Summary:        %{summary}

%description -n python3-quart-trio %{common_description}


%prep
%autosetup -n quart-trio-%{version} -p1

%build
%pyproject_build


%install
%pyproject_install

%check

%files -n python3-quart-trio
%license LICENSE
%doc CHANGELOG.rst
%doc README.rst
%{python3_sitelib}/quart_trio
%{python3_sitelib}/quart_trio-*.dist-info/


%changelog
* Wed Feb 26 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 0.12.0-1
- Init package