diff --git a/package/Config.in b/package/Config.in index 91d4e1ec44..b26f79c9e2 100644 --- a/package/Config.in +++ b/package/Config.in @@ -831,6 +831,7 @@ menu "External python modules" source "package/python-ibmiotf/Config.in" source "package/python-id3/Config.in" source "package/python-idna/Config.in" + source "package/python-idna-ssl/Config.in" source "package/python-incremental/Config.in" source "package/python-influxdb/Config.in" source "package/python-iniparse/Config.in" diff --git a/package/python-idna-ssl/Config.in b/package/python-idna-ssl/Config.in new file mode 100644 index 0000000000..c85fe16309 --- /dev/null +++ b/package/python-idna-ssl/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_IDNA_SSL + bool "python-idna-ssl" + help + Patch ssl.match_hostname for Unicode(idna) domains support. + + https://github.com/aio-libs/idna-ssl diff --git a/package/python-idna-ssl/python-idna-ssl.hash b/package/python-idna-ssl/python-idna-ssl.hash new file mode 100644 index 0000000000..c5e527ae09 --- /dev/null +++ b/package/python-idna-ssl/python-idna-ssl.hash @@ -0,0 +1,2 @@ +sha256 a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c idna-ssl-1.1.0.tar.gz + diff --git a/package/python-idna-ssl/python-idna-ssl.mk b/package/python-idna-ssl/python-idna-ssl.mk new file mode 100644 index 0000000000..4d2cf0165b --- /dev/null +++ b/package/python-idna-ssl/python-idna-ssl.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-idna-ssl +# +################################################################################ + +PYTHON_IDNA_SSL_VERSION = 1.1.0 +PYTHON_IDNA_SSL_SOURCE = idna-ssl-$(PYTHON_IDNA_VERSION).tar.gz +PYTHON_IDNA_SSL_SITE = https://files.pythonhosted.org/packages/46/03/07c4894aae38b0de52b52586b24bf189bb83e4ddabfe2e2c8f2419eec6f4 +PYTHON_IDNA_SSL_LICENSE = BSD-3-Clause +PYTHON_IDNA_SSL_LICENSE_FILES = LICENSE.rst +PYTHON_IDNA_SSL_SETUP_TYPE = setuptools + +$(eval $(python-package))