diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-27 04:07:21 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-27 04:07:21 +0000 |
| commit | 32d3765da4ecf78df982b6d8d87d8032c6a2ec79 (patch) | |
| tree | c9c14124c28fa249f1a94026480738610856279f | |
| parent | 87cc94723f8f91e1573010b3935b4422fc826660 (diff) | |
automatic import of python-multipart
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | multipart.spec | 79 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 81 insertions, 0 deletions
@@ -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 <Python_Bot@openeuler.org> - 1.2.0-1 +- Initial package @@ -0,0 +1 @@ +b6f231bac5c4ae96f03c329f6fd1745a python-multipart-1.2.0.tar.gz |
