diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-quart-trio.spec | 61 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 63 insertions, 0 deletions
@@ -0,0 +1 @@ +/quart-trio-0.12.0.tar.gz diff --git a/python-quart-trio.spec b/python-quart-trio.spec new file mode 100644 index 0000000..6d55128 --- /dev/null +++ b/python-quart-trio.spec @@ -0,0 +1,61 @@ +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 +%pytest -- -v + + +%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 @@ -0,0 +1 @@ +c10041742cf9eca3ada10d4abcb212d7 quart-trio-0.12.0.tar.gz |