[packages/python-backports-ssl_match_hostname] - updated to 3.7.0.1

qboosh qboosh at pld-linux.org
Wed Jan 1 00:34:05 CET 2020


commit 81a8ff05bd34cdfd066e9afc178122d490511a21
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jan 1 00:30:45 2020 +0100

    - updated to 3.7.0.1

 python-backports-ssl_match_hostname.spec | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/python-backports-ssl_match_hostname.spec b/python-backports-ssl_match_hostname.spec
index 7dc0a17..d8ff7a5 100644
--- a/python-backports-ssl_match_hostname.spec
+++ b/python-backports-ssl_match_hostname.spec
@@ -2,15 +2,15 @@
 Summary:	The ssl.match_hostname() function from Python 3
 Summary(pl.UTF-8):	Funkcja ssl.match_hostname() z Pythona 3
 Name:		python-backports-ssl_match_hostname
-Version:	3.5.0.1
+Version:	3.7.0.1
 Release:	1
 License:	PSF v2
 Group:		Libraries/Python
 # Source0Download: https://pypi.python.org/simple/backports.ssl-match-hostname/
 Source0:	https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/%{module_name}-%{version}.tar.gz
-# Source0-md5:	c03fc5e2c7b3da46b81acf5cbacfe1e6
+# Source0-md5:	32d2f593af01a046bec3d2f5181a420a
 URL:		https://bitbucket.org/brandon/backports.ssl_match_hostname
-BuildRequires:	python-modules >= 1:2.4
+BuildRequires:	python-modules >= 1:2.5
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 Requires:	python-backports
@@ -30,7 +30,8 @@ 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 inside comes verbatim from Python 3.2.
+Python. The actual code inside comes from Python 3.7 with small
+changes for portability.
 
 %description -l pl.UTF-8
 Warstwa bezpiecznych gniazd (Secure Sockets Layer) jest naprawdę
@@ -45,20 +46,20 @@ wykonuje to sprawdzenie zamiast wymagania implementacji w każdej
 aplikacji.
 
 Ten backport udostępnia match_hostname() użytkownikom wcześniejszych
-wersji Pythona. Sam kod pochodzi bez zmian z Pythona 3.2.
+wersji Pythona. Sam kod pochodzi z Pythona 3.7 z niewielkimi zmianami
+pod kątem przenośności.
 
 %prep
 %setup -qn %{module_name}-%{version}
 
-%{__mv} backports/ssl_match_hostname/*.txt .
-touch backports/ssl_match_hostname/README.txt
-
 %build
 %py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %py_install
+
 %py_postclean
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-backports-ssl_match_hostname.git/commitdiff/81a8ff05bd34cdfd066e9afc178122d490511a21



More information about the pld-cvs-commit mailing list