python-urllib3/python-urllib3.spec

166 lines
5.8 KiB
RPMSpec

%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-urllib3
Version: 2.2.0
Release: 1mamba
Summary: HTTP library with thread-safe connection pooling, file post, and more
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/urllib3/
Source: http://pypi.debian.net/urllib3/urllib3-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.11.5
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n urllib3-%{version}
%build
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
#%if "%{?with_pyver}" != "3"
## Rename any conflicting file outside of python site packages tree
#for f in %{_bindir}/pdm; do
# mv %{buildroot}${f}{,-%{?pyappend}}
#done
#%endif
%files %{?pyappend}
%defattr(-,root,root)
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%changelog
* Wed Jan 31 2024 Automatic Build System <autodist@openmamba.org> 2.2.0-1mamba
- automatic version update by autodist
* Fri Dec 01 2023 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic version update by autodist
* Mon Sep 25 2023 Automatic Build System <autodist@mambasoft.it> 1.26.15-2mamba
- rebuilt with python3 = 3.11.5
* Sat Mar 11 2023 Automatic Build System <autodist@mambasoft.it> 1.26.15-1mamba
- automatic version update by autodist
* Wed Jan 11 2023 Automatic Build System <autodist@mambasoft.it> 1.26.14-1mamba
- automatic version update by autodist
* Thu Nov 24 2022 Automatic Build System <autodist@mambasoft.it> 1.26.13-1mamba
- automatic version update by autodist
* Sun Oct 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26.12-2mamba
- rebuilt with python 3.10
* Tue Aug 23 2022 Automatic Build System <autodist@mambasoft.it> 1.26.12-1mamba
- automatic version update by autodist
* Tue Jul 26 2022 Automatic Build System <autodist@mambasoft.it> 1.26.11-1mamba
- automatic version update by autodist
* Sat Jul 09 2022 Automatic Build System <autodist@mambasoft.it> 1.26.10-1mamba
- automatic version update by autodist
* Thu Mar 17 2022 Automatic Build System <autodist@mambasoft.it> 1.26.9-1mamba
- automatic version update by autodist
* Sat Jan 08 2022 Automatic Build System <autodist@mambasoft.it> 1.26.8-1mamba
- automatic version update by autodist
* Thu Sep 23 2021 Automatic Build System <autodist@mambasoft.it> 1.26.7-1mamba
- automatic version update by autodist
* Fri Jun 25 2021 Automatic Build System <autodist@mambasoft.it> 1.26.6-1mamba
- automatic version update by autodist
* Wed May 26 2021 Automatic Build System <autodist@mambasoft.it> 1.26.5-1mamba
- automatic version update by autodist
* Mon Apr 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26.4-2mamba
- rebuilt with distdeps
* Tue Mar 16 2021 Automatic Build System <autodist@mambasoft.it> 1.26.4-1mamba
- automatic version update by autodist
* Tue Feb 02 2021 Automatic Build System <autodist@mambasoft.it> 1.26.3-1mamba
- automatic version update by autodist
* Sun Jan 17 2021 Automatic Build System <autodist@mambasoft.it> 1.26.2-1mamba
- automatic version update by autodist
* Tue Dec 29 2020 Automatic Build System <autodist@mambasoft.it> 1.26.1-1mamba
- automatic version update by autodist
* Thu Dec 24 2020 Automatic Build System <autodist@mambasoft.it> 1.25.11-1mamba
- automatic version update by autodist
* Thu Jul 23 2020 Automatic Build System <autodist@mambasoft.it> 1.25.10-1mamba
- automatic version update by autodist
* Sat Apr 18 2020 Automatic Build System <autodist@mambasoft.it> 1.25.9-1mamba
- automatic version update by autodist
* Wed Jan 22 2020 Automatic Build System <autodist@mambasoft.it> 1.25.8-1mamba
- automatic version update by autodist
* Fri Nov 15 2019 Automatic Build System <autodist@mambasoft.it> 1.25.7-1mamba
- automatic version update by autodist
* Mon Oct 14 2019 Automatic Build System <autodist@mambasoft.it> 1.25.6-1mamba
- automatic version update by autodist
* Sat Oct 05 2019 Automatic Build System <autodist@mambasoft.it> 1.25.5-1mamba
- automatic version update by autodist
* Tue May 28 2019 Automatic Build System <autodist@mambasoft.it> 1.25.3-1mamba
- automatic version update by autodist
* Fri May 10 2019 Automatic Build System <autodist@mambasoft.it> 1.25.2-1mamba
- automatic version update by autodist
* Tue Apr 23 2019 Automatic Build System <autodist@mambasoft.it> 1.24.2-1mamba
- automatic version update by autodist
* Fri Mar 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.24.1-2mamba
- rebuilt with -py36 package
* Sat Nov 10 2018 Automatic Build System <autodist@mambasoft.it> 1.24.1-1mamba
- automatic version update by autodist
* Tue Oct 23 2018 Automatic Build System <autodist@mambasoft.it> 1.24-1mamba
- automatic version update by autodist
* Tue Jun 05 2018 Automatic Build System <autodist@mambasoft.it> 1.23-1mamba
- automatic version update by autodist
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 1.22-1mamba
- automatic version update by autodist
* Wed Jan 25 2017 Automatic Build System <autodist@mambasoft.it> 1.20-1mamba
- automatic version update by autodist
* Thu Nov 17 2016 Automatic Build System <autodist@mambasoft.it> 1.19.1-1mamba
- automatic version update by autodist
* Fri Nov 04 2016 Automatic Build System <autodist@mambasoft.it> 1.19-1mamba
- automatic version update by autodist
* Fri Oct 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.1-1mamba
- package created using the webbuild interface