From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 24 Jun 2022 13:47:09 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o4hmF-00DAzb-Vp for lore@lore.pengutronix.de; Fri, 24 Jun 2022 13:47:09 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1o4hmG-0004fc-9O; Fri, 24 Jun 2022 13:47:08 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o4hlO-0004Q9-UF; Fri, 24 Jun 2022 13:46:14 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1o4hlM-002PtD-RJ; Fri, 24 Jun 2022 13:46:14 +0200 Received: from ejo by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1o4hlN-000gDV-36; Fri, 24 Jun 2022 13:46:13 +0200 From: Enrico Jorns To: ptxdist@pengutronix.de Date: Fri, 24 Jun 2022 13:42:43 +0200 Message-Id: <20220624114246.161813-4-ejo@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220624114246.161813-1-ejo@pengutronix.de> References: <20220624114246.161813-1-ejo@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH v2 3/6] python3-idna-ssl: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ejo@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Requirement for newer python3-aiohttp. Signed-off-by: Enrico Jorns --- rules/python3-idna-ssl.in | 8 ++++++ rules/python3-idna-ssl.make | 54 +++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 rules/python3-idna-ssl.in create mode 100644 rules/python3-idna-ssl.make diff --git a/rules/python3-idna-ssl.in b/rules/python3-idna-ssl.in new file mode 100644 index 000000000..1c1469294 --- /dev/null +++ b/rules/python3-idna-ssl.in @@ -0,0 +1,8 @@ +## SECTION=python3 + +config PYTHON3_IDNA_SSL + tristate + select PYTHON3 + prompt "python3-idna-ssl" + help + Patch ssl.match_hostname for Unicode(idna) domains support diff --git a/rules/python3-idna-ssl.make b/rules/python3-idna-ssl.make new file mode 100644 index 000000000..f9b097f4d --- /dev/null +++ b/rules/python3-idna-ssl.make @@ -0,0 +1,54 @@ +# -*-makefile-*- +# +# Copyright (C) 2022 by Enrico Joerns +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PYTHON3_IDNA_SSL) += python3-idna-ssl + +# +# Paths and names +# +PYTHON3_IDNA_SSL_VERSION := 1.1.0 +PYTHON3_IDNA_SSL_MD5 := dd44ec53bac36e68446766fd8d3835bd +PYTHON3_IDNA_SSL := idna-ssl-$(PYTHON3_IDNA_SSL_VERSION) +PYTHON3_IDNA_SSL_SUFFIX := tar.gz +PYTHON3_IDNA_SSL_URL := https://pypi.python.org/packages/source/i/idna_ssl/$(PYTHON3_IDNA_SSL).$(PYTHON3_IDNA_SSL_SUFFIX) +PYTHON3_IDNA_SSL_SOURCE := $(SRCDIR)/$(PYTHON3_IDNA_SSL).$(PYTHON3_IDNA_SSL_SUFFIX) +PYTHON3_IDNA_SSL_DIR := $(BUILDDIR)/$(PYTHON3_IDNA_SSL) +PYTHON3_IDNA_SSL_LICENSE := MIT +PYTHON3_ATTRS_LICENSE_FILES := \ + file://LICENSE;md5=d4ab25949a73fe7d4fdee93bcbdbf8ff + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +PYTHON3_IDNA_SSL_CONF_TOOL := python3 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python3-idna-ssl.targetinstall: + @$(call targetinfo) + + @$(call install_init, python3-idna-ssl) + @$(call install_fixup, python3-idna-ssl,PRIORITY,optional) + @$(call install_fixup, python3-idna-ssl,SECTION,base) + @$(call install_fixup, python3-idna-ssl,AUTHOR,"Enrico Joerns ") + @$(call install_fixup, python3-idna-ssl,DESCRIPTION,missing) + + @$(call install_copy, python3-idna-ssl, 0, 0, 0644, -, \ + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/idna_ssl.py) + + @$(call install_finish, python3-idna-ssl) + + @$(call touch) + +# vim: syntax=make -- 2.30.2