代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-backports-ssl_match_hostname 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global module_name backports.ssl_match_hostname
Name: python-backports-ssl_match_hostname
Version: 3.7.0.1
Release: 2
Summary: The ssl.match_hostname() function from Python 3
License: Python
URL: https://bitbucket.org/brandon/backports.ssl_match_hostname
Source0: https://pypi.python.org/packages/source/b/%{module_name}/%{module_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
%description
The Secure Sockets layer is only actually secure if you check the hostname in
the certificate returned by the server to which you are connecting, and verify
that it matches to hostname that you are trying to reach.
But the matching logic, defined in RFC2818, can be a bit tricky to implement on
your own. So the ssl package in the Standard Library of Python 3.2 now includes
a match_hostname() function for performing this check instead of requiring
every application to implement the check separately.
This backport brings match_hostname() to users of earlier versions of Python.
The actual code is only slightly modified from Python 3.5.
%package -n python2-backports-ssl_match_hostname
Summary: %summary
Requires: python2-backports
Requires: python2-ipaddress
Provides: python2-backports-ssl_match_hostname
Provides: python-backports-ssl_match_hostname = %{version}-%{release}
Obsoletes: python-backports-ssl_match_hostname < %{version}-%{release}
%{?python_provide:%python_provide python2-backports-ssl_match_hostname}
%description -n python2-backports-ssl_match_hostname
The Secure Sockets layer is only actually secure if you check the hostname in
the certificate returned by the server to which you are connecting, and verify
that it matches to hostname that you are trying to reach.
But the matching logic, defined in RFC2818, can be a bit tricky to implement on
your own. So the ssl package in the Standard Library of Python 3.2 now includes
a match_hostname() function for performing this check instead of requiring
every application to implement the check separately.
This backport brings match_hostname() to users of earlier versions of Python.
The actual code is only slightly modified from Python 3.5.
%package_help
%prep
%autosetup -n %{module_name}-%{version}
%build
%{__python2} setup.py build
%install
%{__python2} setup.py install --skip-build --root %{buildroot}
rm -f %{buildroot}%{python2_sitelib}/backports/__init__.py*
%files -n python2-backports-ssl_match_hostname
%license LICENSE.txt
%{python2_sitelib}/backports/ssl_match_hostname/
%{python2_sitelib}/backports.ssl_match_hostname-%{version}-*egg*
%files help
%doc README.txt
%changelog
* Thu Feb 27 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.7.0.1-2
- provides python-backports-ssl_match_hostname
* Tue Dec 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.7.0.1-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。