Search
SailfishOS Open Build Service
>
Projects
>
home:merlin1991
:
chum
:
1.1.1.27
>
python3-requests
> python3-requests.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3-requests.spec of Package python3-requests
%define name python3-requests %define version 2.5.0 %define release 1 Summary: Requests: HTTP for Humans Name: %{name} Version: %{version} Release: %{release} Group: Development/Languages License: Apache2 License URL: http://python-requests.org Source: requests-%{version}.tar.gz BuildRequires: python3-base Requires: python3-base %description Requests is an Apache2 Licensed HTTP library, written in Python, for human beings. Python’s standard urllib2 module provides most of the HTTP capabilities you need, but the API is thoroughly broken. It was built for a different time — and a different web. It requires an enormous amount of work (even method overrides) to perform the simplest of tasks. Things shouldn’t be this way. Not in Python. %prep %setup -n requests-%{version} %install rm -rf $RPM_BUILD_ROOT cd $RPM_BUILD_DIR/requests-%{version} python3 setup.py install --root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_libdir}/python3.?/site-packages/requests/ %{_libdir}/python3.?/site-packages/requests-*.egg-info %doc