From d6262043e4d320aa331112c01c4a40abf21bb342 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 26 Feb 2025 03:06:17 +0000 Subject: automatic import of python-quart-trio --- .gitignore | 1 + python-quart-trio.spec | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 63 insertions(+) create mode 100644 python-quart-trio.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..75d75c2 100644 --- a/.gitignore +++ b/.gitignore @@ -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 - 0.12.0-1 +- Init package diff --git a/sources b/sources new file mode 100644 index 0000000..8317e97 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +c10041742cf9eca3ada10d4abcb212d7 quart-trio-0.12.0.tar.gz -- cgit v1.2.3