commit 55d8683621aa8cbf3854c7031a6b54aa6b56f83587f44fd428d42371fae8cb9c Author: Adrian Schröter Date: Fri May 3 22:37:39 2024 +0200 Sync from SUSE:SLFO:Main python-python-multipart revision 9f270f2c16cca95c1c735242866853ae diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/python-python-multipart.changes b/python-python-multipart.changes new file mode 100644 index 0000000..4000e10 --- /dev/null +++ b/python-python-multipart.changes @@ -0,0 +1,55 @@ +------------------------------------------------------------------- +Tue Feb 6 11:19:14 UTC 2024 - pgajdos@suse.com + +- 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) + +------------------------------------------------------------------- +Tue Jun 13 08:53:42 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Wed Jan 4 21:17:38 UTC 2023 - Ben Greiner + +- Really don't require six +- Move to PEP517 build + +------------------------------------------------------------------- +Mon Dec 12 16:51:23 UTC 2022 - pgajdos@suse.com + +- do not require six +- added patches + fix https://github.com/andrew-d/python-multipart/commit/c54ad6006bacc77623864ec8e5c96bfd32230e01 + + python-python-multipart-no-six.patch + +------------------------------------------------------------------- +Fri Apr 8 09:51:38 UTC 2022 - pgajdos@suse.com + +- do not require python-mock for build +- added patches + fix https://github.com/andrew-d/python-multipart/commit/8cff1aac7479fbb69087e355f66315b21640bab0 + + python-python-multipart-no-mock.patch + +------------------------------------------------------------------- +Fri Feb 4 00:43:33 UTC 2022 - Steve Kowalik + +- Add patch support-pyyaml-6.patch: + * Support PyYAML 6.0+ + +------------------------------------------------------------------- +Sat Jul 25 06:56:28 PM UTC 2020 - John Vandenberg + +- Initial spec for v0.0.5 diff --git a/python-python-multipart.spec b/python-python-multipart.spec new file mode 100644 index 0000000..1196606 --- /dev/null +++ b/python-python-multipart.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-python-multipart +# +# 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 +# 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. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-python-multipart +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 +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module pytest} +# /SECTION +BuildRequires: fdupes +BuildArch: noarch + +%python_subpackages + +%description +A streaming multipart parser for Python. + +%prep +%autosetup -p1 -n python_multipart-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst +%license LICENSE.txt +%{python_sitelib}/multipart +%{python_sitelib}/python_multipart-%{version}.dist-info + +%changelog diff --git a/python_multipart-0.0.7.tar.gz b/python_multipart-0.0.7.tar.gz new file mode 100644 index 0000000..b48c730 --- /dev/null +++ b/python_multipart-0.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:288a6c39b06596c1b988bb6794c6fbc80e6c369e35e5062637df256bee0c9af9 +size 31129