package: add python-backports-ssl-match-hostname
The ssl.match_hostname() function from Python 3.5. This function IS available in python 2.7 since 2.7.9, but it doesn't support matching on IP addresses which is needed for some use cases. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
6fccba6033
commit
9757f6d11a
@ -1385,6 +1385,7 @@ F: package/lzop/
|
||||
F: package/memtool/
|
||||
F: package/mosquitto/
|
||||
F: package/python-alsaaudio/
|
||||
F: package/python-backports-ssl-match-hostname/
|
||||
F: package/python-docker-pycreds/
|
||||
F: package/python-enum/
|
||||
F: package/python-enum34/
|
||||
|
@ -732,6 +732,7 @@ menu "External python modules"
|
||||
source "package/python-babel/Config.in"
|
||||
source "package/python-backports-abc/Config.in"
|
||||
source "package/python-backports-shutil-get-terminal-size/Config.in"
|
||||
source "package/python-backports-ssl-match-hostname/Config.in"
|
||||
source "package/python-bcrypt/Config.in"
|
||||
source "package/python-beautifulsoup4/Config.in"
|
||||
source "package/python-bitstring/Config.in"
|
||||
|
7
package/python-backports-ssl-match-hostname/Config.in
Normal file
7
package/python-backports-ssl-match-hostname/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME
|
||||
bool "python-backports-ssl-match-hostname"
|
||||
depends on BR2_PACKAGE_PYTHON
|
||||
help
|
||||
The ssl.match_hostname() function from Python 3.5.
|
||||
|
||||
http://bitbucket.org/brandon/backports.ssl_match_hostname
|
@ -0,0 +1,4 @@
|
||||
# md5 from https://pypi.python.org/pypi/backports.ssl_match_hostname/json, sha256 locally computed
|
||||
md5 c03fc5e2c7b3da46b81acf5cbacfe1e6 backports.ssl_match_hostname-3.5.0.1.tar.gz
|
||||
sha256 502ad98707319f4a51fa2ca1c677bd659008d27ded9f6380c79e8932e38dcdf2 backports.ssl_match_hostname-3.5.0.1.tar.gz
|
||||
sha256 bfc8a75a4b9aec224aa7973c0c9d7cc0134bdcbf8eefd008936b58554d66e97e backports/ssl_match_hostname/LICENSE.txt
|
@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-backports-ssl-match-hostname
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_VERSION = 3.5.0.1
|
||||
PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_SOURCE = backports.ssl_match_hostname-$(PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_VERSION).tar.gz
|
||||
PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_SITE = https://pypi.python.org/packages/76/21/2dc61178a2038a5cb35d14b61467c6ac632791ed05131dda72c20e7b9e23
|
||||
PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_SETUP_TYPE = distutils
|
||||
PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_LICENSE = Python-2.0
|
||||
PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_LICENSE_FILES = backports/ssl_match_hostname/LICENSE.txt
|
||||
|
||||
$(eval $(python-package))
|
Loading…
Reference in New Issue
Block a user