pycurl-doc: remove requirement for pycurl [release 7.43.0.3-3mamba;Mon Apr 05 2021]
This commit is contained in:
parent
41aaadf4a5
commit
f63e89325a
56
pycurl.spec
56
pycurl.spec
@ -1,32 +1,22 @@
|
|||||||
Name: pycurl
|
Name: pycurl
|
||||||
Version: 7.43.0.3
|
Version: 7.43.0.3
|
||||||
Release: 1mamba
|
Release: 3mamba
|
||||||
Summary: A Python interface to libcurl
|
Summary: A Python interface to libcurl
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://pycurl.sourceforge.net/
|
URL: https://pycurl.sourceforge.net/
|
||||||
Source: http://pypi.debian.net/pycurl/pycurl-%{version}.tar.gz
|
Source: http://pypi.debian.net/pycurl/pycurl-%{version}.tar.gz
|
||||||
License: LGPL, MIT
|
License: LGPL, MIT
|
||||||
Requires: python >= %{pyver}
|
Requires: python >= %{pyver}
|
||||||
Requires: libcurl >= 7.15.3
|
Requires: libcurl >= 7.15.3
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libcares-devel
|
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
BuildRequires: libe2fs-devel
|
|
||||||
BuildRequires: libidn-devel
|
|
||||||
%if "%{stage1}" != "1"
|
|
||||||
BuildRequires: libkrb5-devel
|
|
||||||
BuildRequires: libopenldap-devel
|
|
||||||
%endif
|
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libssh2-devel
|
BuildRequires: libpython36-devel
|
||||||
BuildRequires: libz-devel
|
|
||||||
BuildRequires: python
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PycURL can be used to fetch objects identified by a URL from a Python program, similar to the urllib Python module.
|
PycURL can be used to fetch objects identified by a URL from a Python program, similar to the urllib Python module.
|
||||||
@ -37,37 +27,9 @@ This means it has a somewhat steep learning curve unless you are already familia
|
|||||||
To sum up, PycURL is very fast (esp. for multiple concurrent operations) and very feature complete, but has a somewhat complex interface.
|
To sum up, PycURL is very fast (esp. for multiple concurrent operations) and very feature complete, but has a somewhat complex interface.
|
||||||
If you need something simpler or prefer a pure Python module you might want to check out urllib2 and urlgrabber.
|
If you need something simpler or prefer a pure Python module you might want to check out urllib2 and urlgrabber.
|
||||||
|
|
||||||
%if "%?with_pyver"
|
|
||||||
%define pyver %{with_pyver}
|
|
||||||
%define __python %(rpm --eval %{__python%{with_pyver}})
|
|
||||||
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
|
||||||
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
|
||||||
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
|
||||||
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
|
||||||
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
|
||||||
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
|
||||||
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
|
||||||
|
|
||||||
%package py%{pyver}
|
|
||||||
Group: System/Libraries/Python
|
|
||||||
Summary: A Python interface to libcurl
|
|
||||||
%py_requires
|
|
||||||
|
|
||||||
%description py%{pyver}
|
|
||||||
PycURL can be used to fetch objects identified by a URL from a Python program, similar to the urllib Python module.
|
|
||||||
PycURL is mature, very fast, and supports a lot of features.
|
|
||||||
PycURL is targeted at the advanced developer - if you need dozens of concurrent fast and reliable connections or any of the sophisiticated features as listed above then PycURL is for you.
|
|
||||||
The main drawback with PycURL is that it is a relative thin layer over libcurl without any of those nice Pythonic class hierarchies.
|
|
||||||
This means it has a somewhat steep learning curve unless you are already familiar with libcurl's C API.
|
|
||||||
To sum up, PycURL is very fast (esp. for multiple concurrent operations) and very feature complete, but has a somewhat complex interface.
|
|
||||||
If you need something simpler or prefer a pure Python module you might want to check out urllib2 and urlgrabber.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
Summary: Documentation package for %{name}
|
Summary: Documentation package for %{name}
|
||||||
Requires: %{name} = %{version}
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
PycURL can be used to fetch objects identified by a URL from a Python program, similar to the urllib Python module.
|
PycURL can be used to fetch objects identified by a URL from a Python program, similar to the urllib Python module.
|
||||||
@ -79,6 +41,10 @@ To sum up, PycURL is very fast (esp. for multiple concurrent operations) and ver
|
|||||||
If you need something simpler or prefer a pure Python module you might want to check out urllib2 and urlgrabber.
|
If you need something simpler or prefer a pure Python module you might want to check out urllib2 and urlgrabber.
|
||||||
This is the documentation package.
|
This is the documentation package.
|
||||||
|
|
||||||
|
%if "%{?with_pyver}"
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -94,6 +60,8 @@ CFLAGS="%{optflags} -DHAVE_CURL_OPENSSL" %{__python} setup.py build
|
|||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python_sitearch} \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
rm -fr %{buildroot}%{_defaultdocdir}/%{name}
|
rm -fr %{buildroot}%{_defaultdocdir}/%{name}
|
||||||
mv doc html
|
mv doc html
|
||||||
|
|
||||||
@ -118,6 +86,12 @@ mv doc html
|
|||||||
%doc ChangeLog examples html
|
%doc ChangeLog examples html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.43.0.3-3mamba
|
||||||
|
- pycurl-doc: remove requirement for pycurl
|
||||||
|
|
||||||
|
* Sat Apr 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.43.0.3-2mamba
|
||||||
|
- rebuilt with distdeps
|
||||||
|
|
||||||
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 7.43.0.3-1mamba
|
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 7.43.0.3-1mamba
|
||||||
- update to 7.43.0.3
|
- update to 7.43.0.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user