2020-11-30 17:00:00 +01:00
|
|
|
#
|
|
|
|
# spec file for package python-python-multipart
|
|
|
|
#
|
2024-02-06 15:23:05 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2020-11-30 17:00:00 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2022-02-04 01:44:13 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
2020-11-30 17:00:00 +01:00
|
|
|
|
|
|
|
|
2023-06-14 08:37:11 +02:00
|
|
|
%{?sle15_python_module_pythons}
|
2020-11-30 17:00:00 +01:00
|
|
|
Name: python-python-multipart
|
2024-03-01 11:15:46 +01:00
|
|
|
Version: 0.0.9
|
2020-11-30 17:00:00 +01:00
|
|
|
Release: 0
|
|
|
|
License: Apache-2.0
|
|
|
|
Summary: Python streaming multipart parser
|
2022-02-04 01:44:13 +01:00
|
|
|
URL: http://github.com/andrew-d/python-multipart
|
2024-02-06 15:23:05 +01:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/python-multipart/python_multipart-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module hatchling}
|
2023-01-04 22:24:36 +01:00
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module wheel}
|
2022-02-04 01:44:13 +01:00
|
|
|
BuildRequires: python-rpm-macros
|
2020-11-30 17:00:00 +01:00
|
|
|
# SECTION test requirements
|
2022-02-04 01:44:13 +01:00
|
|
|
BuildRequires: %{python_module PyYAML}
|
2020-11-30 17:00:00 +01:00
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
# /SECTION
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
A streaming multipart parser for Python.
|
|
|
|
|
|
|
|
%prep
|
2024-02-06 15:23:05 +01:00
|
|
|
%autosetup -p1 -n python_multipart-%{version}
|
2020-11-30 17:00:00 +01:00
|
|
|
|
|
|
|
%build
|
2023-01-04 22:24:36 +01:00
|
|
|
%pyproject_wheel
|
2020-11-30 17:00:00 +01:00
|
|
|
|
|
|
|
%install
|
2023-01-04 22:24:36 +01:00
|
|
|
%pyproject_install
|
2020-11-30 17:00:00 +01:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%pytest
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%doc README.rst
|
|
|
|
%license LICENSE.txt
|
2022-12-12 22:00:19 +01:00
|
|
|
%{python_sitelib}/multipart
|
2023-01-04 22:24:36 +01:00
|
|
|
%{python_sitelib}/python_multipart-%{version}.dist-info
|
2020-11-30 17:00:00 +01:00
|
|
|
|
|
|
|
%changelog
|