[packages/python3-quart] - new

qboosh qboosh at pld-linux.org
Mon Jan 26 22:26:26 CET 2026


commit 4f9b134b5f6d99d8e42758cd5aecc4be49fb7e49
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jan 26 22:26:30 2026 +0100

    - new

 python3-quart.spec | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)
---
diff --git a/python3-quart.spec b/python3-quart.spec
new file mode 100644
index 0000000..c8bf8dc
--- /dev/null
+++ b/python3-quart.spec
@@ -0,0 +1,87 @@
+#
+# Conditional build:
+%bcond_with	tests	# unit tests (not in sdist)
+
+Summary:	A Python ASGI web framework with the same API as Flask
+Summary(pl.UTF-8):	Szkielet WWW ASGI dla Pythona z takim samym API jak Flask
+Name:		python3-quart
+Version:	0.20.0
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/quart/
+Source0:	https://files.pythonhosted.org/packages/source/q/quart/quart-%{version}.tar.gz
+# Source0-md5:	05e155791d94a534c5522919658ed54f
+URL:		https://pypi.org/project/Quart/
+BuildRequires:	python3-build
+BuildRequires:	python3-flit_core < 4
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.9
+%if %{with tests}
+BuildRequires:	python3-aiofiles
+BuildRequires:	python3-blinker >= 1.6
+BuildRequires:	python3-click >= 8.0
+BuildRequires:	python3-flask >= 3.0
+BuildRequires:	python3-hypercorn >= 0.11.2
+BuildRequires:	python3-itsdangerous
+BuildRequires:	python3-jinja2
+BuildRequires:	python3-markupsafe
+BuildRequires:	python3-pytest
+BuildRequires:	python3-pytest-cov
+BuildRequires:	python3-werkzeug >= 3.0
+%if "%{py3_ver}" == "3.9"
+BuildRequires:	python3-importlib_metadata
+BuildRequires:	python3-typing_extensions
+%endif
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.9
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Quart is an async Python web application framework. 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 -l pl.UTF-8
+Quart to asynchroniczny szkielet aplikacji WWW w Pythonie. Przy jego
+użyciu można:
+- renderować i serwować szablony HTML,
+- pisać API JSON (REST-owe)
+- serwować WebSockets,
+- przesyłać strumienie żądań i danych odpowiedzi,
+- robić prawie wszystko z użyciem protokołów HTTP lub WebSocket.
+
+%prep
+%setup -q -n quart-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS=pytest_cov.plugin \
+PYTHONPATH=$(pwd)/src \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/quart
+%{py3_sitescriptdir}/quart
+%{py3_sitescriptdir}/quart-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-quart.git/commitdiff/4f9b134b5f6d99d8e42758cd5aecc4be49fb7e49



More information about the pld-cvs-commit mailing list