124 Star 0 Fork 16

src-openEuler/python-httplib2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-httplib2.spec 2.40 KB
一键复制 编辑 原始数据 按行查看 历史
lyn 提交于 2023-10-12 15:48 . update to 0.22.0
Name: python-httplib2
Version: 0.22.0
Release: 1
Summary: Small, fast HTTP client library for Python.
License: MIT
URL: https://github.com/httplib2/httplib2
Source0: https://github.com/httplib2/httplib2/archive/refs/tags/v%{version}.tar.gz
%if 0%{?with_python3}
BuildRequires: python3-setuptools python3-devel
%endif
BuildArch: noarch
%description
httplib2 is a comprehensive HTTP client library, httplib2.py supports many
features left out of other HTTP libraries.
%if 0%{?with_python3}
%package -n python3-httplib2
Summary: Small, fast HTTP client library for Python.
%{?python_provide:%python_provide python3-httplib2}
%description -n python3-httplib2
Small, fast HTTP client library for Python.
%endif
%prep
%autosetup -n httplib2-%{version} -p1
%if 0%{?with_python3}
rm -rf %{py3dir}
cp -a . %{py3dir}
find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!/usr/bin/python|#!%{__python3}|'
%endif
%build
%if 0%{?with_python3}
pushd %{py3dir}
%{__python3} setup.py build
popd
%endif
%install
%if 0%{?with_python3}
pushd %{py3dir}
%py3_install
popd
%endif
%if 0%{?with_python3}
%files -n python3-httplib2
%defattr(-,root,root)
%{python3_sitelib}/*
%endif
%changelog
* Thu Oct 12 2023 liyanan <thistleslyn@163.com> - 0.22.0-1
- Update to 0.22.0
* Tue May 17 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 0.20.2-1
- Update to 0.20.2
* Mon Jan 9 2022 baizhonggui <baizhonggui@huawei.com> - 0.19.0-4
- support newst pyparsing syntax
* Sat Jan 8 2022 baizhonggui <baizhonggui@huawei.com> - 0.19.0-3
- fix require pyparsing version limit
* Wed Mar 31 2021 zhangjiapeng <zhangjiapeng9@huawei.com> - 0.19.0-2
- python3-httplib2 provides python-httplib2
* Tue Mar 2 2021 zhanghua <zhanghua40@huawei.com> - 0.19.0-1
- update to 0.19.0 to fix CVE-2021-21240
* Wed Oct 21 2020 leiju <leiju4@huawei.com> - 0.13.1-6
- remove python2 subpackage
* Mon Jul 20 2020 wangxiao <wangxiao65@huawei.com> - 0.13.1-5
- fix CVE-2020-11078
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.13.1-4
- Delete the useless patch
* Fri Jan 10 2020 gulining <gulining1@huawei.com> - 0.13.1-3
- Change the URL to a valid one
* Sat Nov 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.13.1-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the root of install for python3
* Thu Nov 7 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.13.1-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-httplib2.git
git@gitee.com:src-openeuler/python-httplib2.git
src-openeuler
python-httplib2
python-httplib2
master

搜索帮助