diff --git a/files_in_srpm.txt b/files_in_srpm.txt new file mode 100644 index 0000000000000000000000000000000000000000..ba03bb3647092ef6e0d2cdb9c4902755ba53b73d --- /dev/null +++ b/files_in_srpm.txt @@ -0,0 +1,2 @@ +python-quart-trio.spec +quart-trio-0.12.0.tar.gz diff --git a/python-quart-trio.spec b/python-quart-trio.spec new file mode 100644 index 0000000000000000000000000000000000000000..14267f57f0943d706dbfa81bfd9688f51c71b231 --- /dev/null +++ b/python-quart-trio.spec @@ -0,0 +1,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 - 0.12.0-1 +- Init package diff --git a/python-quart-trio.src.rpm b/python-quart-trio.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..ece4d3c1830433e78967443a49380f585846366b Binary files /dev/null and b/python-quart-trio.src.rpm differ diff --git a/quart-trio-0.12.0.tar.gz b/quart-trio-0.12.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..558fe38416610c12f3d859020482078b2822eb8b Binary files /dev/null and b/quart-trio-0.12.0.tar.gz differ