diff --git a/files_in_srpm.txt b/files_in_srpm.txt new file mode 100644 index 0000000000000000000000000000000000000000..72dfd59c50dfe2367f0337a234b0150db47d9f14 --- /dev/null +++ b/files_in_srpm.txt @@ -0,0 +1,2 @@ +python-quart.spec +quart-0.20.0.tar.gz diff --git a/python-quart-test.spec b/python-quart-test.spec new file mode 100644 index 0000000000000000000000000000000000000000..dad222a2902bdd2731580fffa73226924a9629e7 --- /dev/null +++ b/python-quart-test.spec @@ -0,0 +1,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 - 0.20.0-1 +- Init package diff --git a/python-quart-test.src.rpm b/python-quart-test.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..ec47c85e79b02b10cae288b5f892dd679f7d1660 Binary files /dev/null and b/python-quart-test.src.rpm differ diff --git a/quart-0.20.0.tar.gz b/quart-0.20.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..1e17ad3b60374401ff6675990e8259c03955ad04 Binary files /dev/null and b/quart-0.20.0.tar.gz differ