forked from pool/python-python-multipart
Accepting request 1144548 from home:pgajdos:python
- version update to 0.0.7 0.0.7 (2024-02-03) * Refactor header option parser to use the standard library instead of a custom RegEx #75. [bsc#1219610] CVE-2024-24762 0.0.6 (2023-02-27) * Migrate package installation to pyproject.toml (PEP 621) #54. * Use yaml.safe_load instead of yaml.load #46. * Add support for Python 3.11, drop EOL 3.6 #51. * Add support for Python 3.8-3.10, drop EOL 2.7-3.5 #42. * QuerystringParser: don't raise an AttributeError in __repr__ #30. - deleted patches - python-python-multipart-no-mock.patch (upstreamed) - python-python-multipart-no-six.patch (upstreamed) - support-pyyaml-6.patch (upstreamed) OBS-URL: https://build.opensuse.org/request/show/1144548 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-multipart?expand=0&rev=12
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-multipart
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,20 +18,14 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-python-multipart
|
||||
Version: 0.0.5
|
||||
Version: 0.0.7
|
||||
Release: 0
|
||||
License: Apache-2.0
|
||||
Summary: Python streaming multipart parser
|
||||
URL: http://github.com/andrew-d/python-multipart
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-multipart/python-multipart-%{version}.tar.gz
|
||||
Patch0: support-pyyaml-6.patch
|
||||
# https://github.com/andrew-d/python-multipart/commit/8cff1aac7479fbb69087e355f66315b21640bab0
|
||||
# https://github.com/andrew-d/python-multipart/commit/2c7e95c7236fcecdb5660823936403d1359fdb85
|
||||
Patch1: python-python-multipart-no-mock.patch
|
||||
# https://github.com/andrew-d/python-multipart/commit/c54ad6006bacc77623864ec8e5c96bfd32230e01
|
||||
Patch2: python-python-multipart-no-six.patch
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-multipart/python_multipart-%{version}.tar.gz
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
@@ -47,7 +41,7 @@ BuildArch: noarch
|
||||
A streaming multipart parser for Python.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n python-multipart-%{version}
|
||||
%autosetup -p1 -n python_multipart-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
Reference in New Issue
Block a user