From af8813e56b815b23d573054085b76623fed3b26a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 25 Oct 2024 21:55:41 +0000 Subject: automatic import of python-uvicorn --- .gitignore | 1 + python-uvicorn.spec | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 72 insertions(+) create mode 100644 python-uvicorn.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..4aaceab 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/uvicorn-0.30.1.tar.gz diff --git a/python-uvicorn.spec b/python-uvicorn.spec new file mode 100644 index 0000000..6e7c489 --- /dev/null +++ b/python-uvicorn.spec @@ -0,0 +1,70 @@ +%global pkgname uvicorn + +Name: python-%{pkgname} +Version: 0.30.1 +Release: 1 +Summary: The lightning-fast ASGI server +License: BSD +URL: https://www.uvicorn.org +Source0: https://files.pythonhosted.org/packages/37/16/9f5ccaa1a76e5bfbaa0c67640e2db8a5214ca08d92a1b427fa1677b3da88/uvicorn-0.30.1.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling +BuildRequires: python3-httptools +BuildRequires: python3-dotenv +BuildRequires: python3-PyYAML +BuildRequires: python3-uvloop +BuildRequires: python3-websockets + +%description +Uvicorn is an ASGI web server implementation for Python. +Until recently Python has lacked a minimal low-level server/application interface for async frameworks. +The ASGI specification fills this gap, and means we're now able to start building a common set of tooling +usable across all async frameworks. +Uvicorn supports HTTP/1.1 and WebSockets. + +%package -n python3-%{pkgname} +Summary: %{summary} + +%description -n python3-%{pkgname} +Uvicorn is an ASGI web server implementation for Python. +Until recently Python has lacked a minimal low-level server/application interface for async frameworks. +The ASGI specification fills this gap, and means we're now able to start building a common set of tooling +usable across all async frameworks. +Uvicorn supports HTTP/1.1 and WebSockets. + +%prep +%autosetup -n uvicorn-%{version} -p 1 + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{pkgname} +%license LICENSE.md +%doc README.md +%{_bindir}/uvicorn +%{python3_sitelib}/uvicorn*.dist-info/ +%{python3_sitelib}/uvicorn + +%changelog +* Fri Jun 28 2024 liyue01 - 0.30.1-1 +- Update package to version 0.30.1 +- Fixed :Allow horizontal tabs in response header values +- Added New multiprocess manager and Allow ConfigParser or a io.IO[Any] on log_config +- Fixed:Suppress side-effects of signal propagation ,Send content-length header on 5xx +- Added Cooperative signal handling +- Fixed :Revert raise ClientDisconnected on HTTP +- Added Raise ClientDisconnected on send() when client disconnected + +* Mon Feb 26 2024 wangjunqi - 0.27.1-1 +- Update package to version 0.27.1 + +* Tue Jul 25 2023 ysliu - 0.23.1-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..1cbdfa1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +a000939f41470e55bad5cec475489b4c uvicorn-0.30.1.tar.gz -- cgit v1.2.3