2024-01-05 16:34:47 +01:00
|
|
|
Name: python-requests
|
2024-01-05 16:34:48 +01:00
|
|
|
Version: 2.21.0
|
2024-01-05 16:34:48 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 16:34:47 +01:00
|
|
|
Summary: Requests is an Apache2 Licensed HTTP library, written in Python, for human beings
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://pypi.python.org/pypi/requests/
|
2024-01-05 16:34:48 +01:00
|
|
|
Source: https://pypi.debian.net/requests/requests-%{version}.tar.gz
|
2024-01-05 16:34:47 +01:00
|
|
|
License: Apache License 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: python >= %python_version
|
2024-01-05 16:34:48 +01:00
|
|
|
Requires: python-chardet
|
|
|
|
Requires: python-certifi
|
2024-01-05 16:34:48 +01:00
|
|
|
Requires: python-urllib3
|
2024-01-05 16:34:47 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:34:47 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n requests-%{version}
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
sed -e '/certifi/d' \
|
|
|
|
-e "s/,<.*'/'/" \
|
|
|
|
-i setup.py
|
|
|
|
|
2024-01-05 16:34:47 +01:00
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:34:47 +01:00
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:34:47 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:34:48 +01:00
|
|
|
* Thu May 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.21.0-2mamba
|
|
|
|
- fix reqirement for urllib3<1.25
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Fri Dec 14 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.21.0-1mamba
|
|
|
|
- update to 2.21.0
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Mon Nov 12 2018 Automatic Build System <autodist@mambasoft.it> 2.20.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Tue Oct 23 2018 Automatic Build System <autodist@mambasoft.it> 2.20.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Sun Jun 17 2018 Automatic Build System <autodist@mambasoft.it> 2.19.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Thu Aug 17 2017 Automatic Build System <autodist@mambasoft.it> 2.18.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 2.18.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Thu Jan 26 2017 Automatic Build System <autodist@mambasoft.it> 2.13.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Wed Jan 25 2017 Automatic Build System <autodist@mambasoft.it> 2.12.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Thu Dec 15 2016 Automatic Build System <autodist@mambasoft.it> 2.12.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Mon Dec 05 2016 Automatic Build System <autodist@mambasoft.it> 2.12.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Thu Nov 24 2016 Automatic Build System <autodist@mambasoft.it> 2.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Wed Aug 31 2016 Automatic Build System <autodist@mambasoft.it> 2.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Thu Jun 02 2016 Automatic Build System <autodist@mambasoft.it> 2.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Mon Apr 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.1-2mamba
|
|
|
|
- rebuilt with -py3 package
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Tue Dec 22 2015 Automatic Build System <autodist@mambasoft.it> 2.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:48 +01:00
|
|
|
* Wed Dec 16 2015 Automatic Build System <autodist@mambasoft.it> 2.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:34:47 +01:00
|
|
|
* Sat Dec 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.1-1mamba
|
|
|
|
- package created using the webbuild interface
|