From 32d3765da4ecf78df982b6d8d87d8032c6a2ec79 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 27 Oct 2026 04:07:21 +0000 Subject: automatic import of python-multipart --- .gitignore | 1 + multipart.spec | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 81 insertions(+) create mode 100644 multipart.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..5a90313 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/python-multipart-1.2.0.tar.gz diff --git a/multipart.spec b/multipart.spec new file mode 100644 index 0000000..94a3d65 --- /dev/null +++ b/multipart.spec @@ -0,0 +1,79 @@ +# topdir: multipart-1.2.0 (produced by tar --transform on git clone) +# Build system: flit_core.buildapi via pyproject.toml +# Pure Python single-file module (multipart.py), no dependencies, no C extensions +# Python target: 3.8+ (chroot provides python3 3.11.6) +%global pypi_name multipart + +Name: python-%{pypi_name} +Version: 1.2.0 +Release: 1%{?dist} +Summary: Parser for multipart/form-data +License: MIT +URL: https://github.com/defnull/multipart +Source0: %{url}/archive/refs/tags/v%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-flit-core + +%description +A fast incremental non-blocking parser for multipart/form-data (RFC 7578), +as well as blocking alternatives for easier use in WSGI or CGI applications. +Provides a SansIO PushMultipartParser for ASGI/asyncio, a streaming +MultipartParser for blocking IO, and high-level WSGI helper functions. +Pure Python single-file module with no runtime dependencies. + + +%package -n python3-%{pypi_name} +Summary: Parser for multipart/form-data +Provides: python-%{pypi_name} +Provides: python3dist(%{pypi_name}) = %{version} + +%description -n python3-%{pypi_name} +A fast incremental non-blocking parser for multipart/form-data (RFC 7578), +as well as blocking alternatives for easier use in WSGI or CGI applications. +Provides a SansIO PushMultipartParser for ASGI/asyncio, a streaming +MultipartParser for blocking IO, and high-level WSGI helper functions. +Pure Python single-file module with no runtime dependencies. + + +%package help +Summary: Development documents and examples for %{pypi_name} +Provides: python3-%{pypi_name}-doc + +%description help +Development documents and examples for %{pypi_name}. + + +%prep +%autosetup -n %{pypi_name}-%{version} -p1 + + +%build +%pyproject_build + + +%install +%pyproject_install + + +%check +%{python3} -c "import multipart" + + +%files -n python3-%{pypi_name} +%license LICENSE +%{python3_sitelib}/multipart.py +%{python3_sitelib}/__pycache__/multipart* +%{python3_sitelib}/multipart-%{version}*.dist-info/ + + +%files help +%doc README.rst CHANGELOG.rst + + +%changelog +* Tue Oct 27 2026 Python_Bot - 1.2.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..1e72ea3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +b6f231bac5c4ae96f03c329f6fd1745a python-multipart-1.2.0.tar.gz -- cgit v1.2.3