Accepting request 706314 from home:mcalabkova:branches:devel:languages:python
- update to version 0.5.1 0.5.* * Drop support for EOL Python 2.6 and 3.3 * Updated SSL Context objects to default to TLS 1.2 * Fix to Subject Alternative Name handling to allow for certificates with more than 64 names (max now 1024). 0.4.* * Fix to ndg namespace package warning issue * Minor fix for installation: set minimum release for pyasn1 * Fix to bug in ndg.httpsclient.utils.open_url - duplicate open call. * Moved LICENSE file into package OBS-URL: https://build.opensuse.org/request/show/706314 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ndg-httpsclient?expand=0&rev=7
This commit is contained in:
parent
773847c266
commit
5699bcf67a
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e8c155fdebd9c4bcb0810b4ed01ae1987554b1ee034dd7532d7b8fdae38a6274
|
|
||||||
size 24038
|
|
3
ndg_httpsclient-0.5.1.tar.gz
Normal file
3
ndg_httpsclient-0.5.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210
|
||||||
|
size 26665
|
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 29 12:54:21 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- update to version 0.5.1
|
||||||
|
0.5.*
|
||||||
|
* Drop support for EOL Python 2.6 and 3.3
|
||||||
|
* Updated SSL Context objects to default to TLS 1.2
|
||||||
|
* Fix to Subject Alternative Name handling to allow for
|
||||||
|
certificates with more than 64 names (max now 1024).
|
||||||
|
0.4.*
|
||||||
|
* Fix to ndg namespace package warning issue
|
||||||
|
* Minor fix for installation: set minimum release for pyasn1
|
||||||
|
* Fix to bug in ndg.httpsclient.utils.open_url - duplicate open call.
|
||||||
|
* Moved LICENSE file into package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 4 12:50:44 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
Tue Dec 4 12:50:44 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-ndg-httpsclient
|
# spec file for package python-ndg-httpsclient
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,17 +18,18 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-ndg-httpsclient
|
Name: python-ndg-httpsclient
|
||||||
Version: 0.4.0
|
Version: 0.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL
|
Summary: Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/cedadev/ndg_httpsclient/
|
URL: https://github.com/cedadev/ndg_httpsclient/
|
||||||
Source: https://files.pythonhosted.org/packages/source/n/ndg_httpsclient/ndg_httpsclient-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/n/ndg_httpsclient/ndg_httpsclient-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Requires: python-pyOpenSSL
|
||||||
|
Requires: python-pyasn1 >= 0.1.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -38,13 +39,6 @@ PyOpenSSL. PyOpenSSL provides a more fully featured SSL implementation over the
|
|||||||
default provided with Python and importantly enables full verification of the
|
default provided with Python and importantly enables full verification of the
|
||||||
SSL peer.
|
SSL peer.
|
||||||
|
|
||||||
Prerequisites
|
|
||||||
=============
|
|
||||||
This has been developed and tested for Python 2.6 and 2.7 with pyOpenSSL 0.13 and 0.14.
|
|
||||||
Version 0.4.0 tested with pyOpenSSL 0.15.1 and Python 2.7 and 3.4. Note that proxy support
|
|
||||||
is only available from Python 2.6.2 onwards. pyasn1 is required for correct SSL
|
|
||||||
verification with subjectAltNames.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n ndg_httpsclient-%{version}
|
%setup -q -n ndg_httpsclient-%{version}
|
||||||
|
|
||||||
@ -53,10 +47,13 @@ verification with subjectAltNames.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%fdupes %{buildroot}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
# tests require internet connection
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%doc README.md
|
||||||
|
%license ndg/httpsclient/LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
%python3_only %{_bindir}/ndg_httpclient
|
%python3_only %{_bindir}/ndg_httpclient
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user