|
|
4a68c1b |
# what it's called on pypi
|
|
|
4a68c1b |
%global srcname python-multipart
|
|
|
4a68c1b |
# what it's imported as
|
|
|
4a68c1b |
%global libname multipart
|
|
|
4a68c1b |
# package name fragment
|
|
|
4a68c1b |
%global pkgname %{libname}
|
|
|
4a68c1b |
|
|
|
1548893 |
%global common_description %{expand:
|
|
|
1548893 |
python-multipart is an Apache2 licensed streaming multipart parser for Python.}
|
|
|
4a68c1b |
|
|
|
4a68c1b |
|
|
|
4a68c1b |
Name: python-%{pkgname}
|
|
|
4a68c1b |
Version: 0.0.5
|
|
|
0fabf2d |
Release: 16%{?dist}
|
|
|
4a68c1b |
Summary: A streaming multipart parser for Python
|
|
|
4a68c1b |
License: ASL 2.0
|
|
|
4a68c1b |
URL: https://github.com/andrew-d/python-multipart
|
|
|
4a68c1b |
Source0: %pypi_source
|
|
|
4a68c1b |
# https://github.com/andrew-d/python-multipart/pull/18
|
|
|
81a75c2 |
Patch: 0001-Use-standard-library-mock-when-available.patch
|
|
|
81a75c2 |
# https://github.com/andrew-d/python-multipart/pull/46
|
|
|
81a75c2 |
Patch: 0002-Use-yaml.safe_load-instead-of-yaml.load.patch
|
|
|
4a68c1b |
BuildArch: noarch
|
|
|
4a68c1b |
|
|
|
4a68c1b |
|
|
|
1548893 |
%description %{common_description}
|
|
|
4a68c1b |
|
|
|
4a68c1b |
|
|
|
1548893 |
%package -n python3-%{pkgname}
|
|
|
4a68c1b |
Summary: %{summary}
|
|
|
1548893 |
BuildRequires: python3-devel
|
|
|
81a75c2 |
BuildRequires: python3-pytest
|
|
|
81a75c2 |
BuildRequires: python3-pyyaml
|
|
|
4a68c1b |
|
|
|
4a68c1b |
|
|
|
1548893 |
%description -n python3-%{pkgname} %{common_description}
|
|
|
4a68c1b |
|
|
|
4a68c1b |
|
|
|
4a68c1b |
%prep
|
|
|
4a68c1b |
%autosetup -n %{srcname}-%{version} -p 1
|
|
|
1548893 |
|
|
|
1548893 |
|
|
|
1548893 |
%generate_buildrequires
|
|
|
1548893 |
%pyproject_buildrequires -r
|
|
|
4a68c1b |
|
|
|
4a68c1b |
|
|
|
4a68c1b |
%build
|
|
|
1548893 |
%pyproject_wheel
|
|
|
4a68c1b |
|
|
|
4a68c1b |
|
|
|
4a68c1b |
%install
|
|
|
1548893 |
%pyproject_install
|
|
|
1548893 |
%pyproject_save_files %{libname}
|
|
|
4a68c1b |
|
|
|
4a68c1b |
|
|
|
4a68c1b |
%check
|
|
|
1548893 |
%pytest
|
|
|
4a68c1b |
|
|
|
4a68c1b |
|
|
|
1548893 |
%files -n python3-%{pkgname} -f %{pyproject_files}
|
|
|
4a68c1b |
%doc README.rst
|
|
|
4a68c1b |
|
|
|
4a68c1b |
|
|
|
4a68c1b |
%changelog
|
|
|
0fabf2d |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-16
|
|
|
0fabf2d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
0fabf2d |
|
|
|
425342a |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.0.5-15
|
|
|
425342a |
- Rebuilt for Python 3.11
|
|
|
425342a |
|
|
|
ad57f92 |
* Wed Jan 26 2022 Carl George <carl@george.computer> - 0.0.5-14
|
|
|
ad57f92 |
- Fix FTBFS rhbz#2046037
|
|
|
ad57f92 |
|
|
|
f6978cf |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-13
|
|
|
f6978cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
f6978cf |
|
|
|
4d0fdfd |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-12
|
|
|
4d0fdfd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
4d0fdfd |
|
|
|
6ad92c3 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.0.5-11
|
|
|
6ad92c3 |
- Rebuilt for Python 3.10
|
|
|
6ad92c3 |
|
|
|
42a0bf7 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-10
|
|
|
42a0bf7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
42a0bf7 |
|
|
|
b61b148 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-9
|
|
|
b61b148 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b61b148 |
|
|
|
a7bec0a |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.5-8
|
|
|
a7bec0a |
- Rebuilt for Python 3.9
|
|
|
a7bec0a |
|
|
|
fd92f24 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-7
|
|
|
fd92f24 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
fd92f24 |
|
|
|
db63311 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.5-6
|
|
|
db63311 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
db63311 |
|
|
|
9de2f66 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.5-5
|
|
|
9de2f66 |
- Rebuilt for Python 3.8
|
|
|
9de2f66 |
|
|
|
783f9e7 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-4
|
|
|
783f9e7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
783f9e7 |
|
|
|
5586bd0 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-3
|
|
|
5586bd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
5586bd0 |
|
|
|
4a68c1b |
* Mon Oct 15 2018 Carl George <carl@george.computer> - 0.0.5-2
|
|
|
4a68c1b |
- Only build python2 subpackage on RHEL
|
|
|
4a68c1b |
|
|
|
4a68c1b |
* Sun Oct 14 2018 Carl George <carl@george.computer> - 0.0.5-1
|
|
|
4a68c1b |
- Initial package
|