From 5699bcf67a33f004bfc95ee3dab066d2c230c78ee9cbd94c261302d308a24af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 29 May 2019 13:47:47 +0000 Subject: [PATCH] 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 --- ndg_httpsclient-0.4.0.tar.gz | 3 --- ndg_httpsclient-0.5.1.tar.gz | 3 +++ python-ndg-httpsclient.changes | 15 +++++++++++++++ python-ndg-httpsclient.spec | 23 ++++++++++------------- 4 files changed, 28 insertions(+), 16 deletions(-) delete mode 100644 ndg_httpsclient-0.4.0.tar.gz create mode 100644 ndg_httpsclient-0.5.1.tar.gz diff --git a/ndg_httpsclient-0.4.0.tar.gz b/ndg_httpsclient-0.4.0.tar.gz deleted file mode 100644 index 8fc97a9..0000000 --- a/ndg_httpsclient-0.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e8c155fdebd9c4bcb0810b4ed01ae1987554b1ee034dd7532d7b8fdae38a6274 -size 24038 diff --git a/ndg_httpsclient-0.5.1.tar.gz b/ndg_httpsclient-0.5.1.tar.gz new file mode 100644 index 0000000..ec94038 --- /dev/null +++ b/ndg_httpsclient-0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210 +size 26665 diff --git a/python-ndg-httpsclient.changes b/python-ndg-httpsclient.changes index 409cb44..64b2e6b 100644 --- a/python-ndg-httpsclient.changes +++ b/python-ndg-httpsclient.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed May 29 12:54:21 UTC 2019 - Marketa Calabkova + +- 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 diff --git a/python-ndg-httpsclient.spec b/python-ndg-httpsclient.spec index 71f4759..2ce439b 100644 --- a/python-ndg-httpsclient.spec +++ b/python-ndg-httpsclient.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,17 +18,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ndg-httpsclient -Version: 0.4.0 +Version: 0.5.1 Release: 0 Summary: Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL License: BSD-2-Clause 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 BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: python-pyOpenSSL +Requires: python-pyasn1 >= 0.1.1 BuildArch: noarch %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 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 %setup -q -n ndg_httpsclient-%{version} @@ -53,10 +47,13 @@ verification with subjectAltNames. %install %python_install -%fdupes %{buildroot} +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +# tests require internet connection %files %{python_files} -%defattr(-,root,root,-) +%doc README.md +%license ndg/httpsclient/LICENSE %{python_sitelib}/* %python3_only %{_bindir}/ndg_httpclient