summaryrefslogtreecommitdiff
path: root/multipart.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-26 08:25:10 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-26 08:25:10 +0000
commitc083c78aa1d50a4094f5ad00c9a75e00418e4be4 (patch)
tree78607ab3943e75c044d931f1cfd9e74eafd0c675 /multipart.spec
parent77aaaae778768bd2b1c8939b106d6bb69315d5e7 (diff)
automatic import of python-multipartopeneuler24.03_LTS_SP4
Diffstat (limited to 'multipart.spec')
-rw-r--r--multipart.spec67
1 files changed, 67 insertions, 0 deletions
diff --git a/multipart.spec b/multipart.spec
new file mode 100644
index 0000000..82f9283
--- /dev/null
+++ b/multipart.spec
@@ -0,0 +1,67 @@
+# topdir: multipart-1.2.0
+%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: https://github.com/defnull/multipart/archive/refs/tags/v%{version}/%{pypi_name}-%{version}.tar.gz
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-flit-core
+
+%description
+Parser for multipart/form-data. This module provides a fast incremental
+non-blocking parser for multipart/form-data, as well as blocking alternatives
+for easier use in WSGI or CGI applications.
+
+%package -n python3-%{pypi_name}
+Summary: %{summary}
+Provides: python3-%{pypi_name} = %{version}-%{release}
+%{?python_provide:%python_provide python3-%{pypi_name}}
+
+%description -n python3-%{pypi_name}
+Parser for multipart/form-data. This module provides a fast incremental
+non-blocking parser for multipart/form-data, as well as blocking alternatives
+for easier use in WSGI or CGI applications.
+
+
+%package help
+Summary: Development documents and examples for %{pypi_name}
+BuildArch: noarch
+%description help
+Documentation and examples for %{pypi_name}.
+
+
+%prep
+%autosetup -n %{pypi_name}-%{version}
+
+
+%build
+%pyproject_build
+
+
+%install
+%pyproject_install
+
+
+%files -n python3-%{pypi_name}
+%license LICENSE
+%doc README.rst CHANGELOG.rst
+%{python3_sitelib}/multipart.py
+%{python3_sitelib}/__pycache__/multipart.*.pyc
+%{python3_sitelib}/%{pypi_name}-%{version}*.dist-info/
+
+%files help
+%doc README.rst CHANGELOG.rst
+
+
+%changelog
+* Fri Oct 23 2026 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1
+- Initial package