From: Enrico Jorns <ejo@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: ejo@pengutronix.de
Subject: [ptxdist] [PATCH v2 3/6] python3-idna-ssl: new package
Date: Fri, 24 Jun 2022 13:42:43 +0200 [thread overview]
Message-ID: <20220624114246.161813-4-ejo@pengutronix.de> (raw)
In-Reply-To: <20220624114246.161813-1-ejo@pengutronix.de>
Requirement for newer python3-aiohttp.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
---
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 <e.joerns@pengutronix.de>
+#
+# 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 <e.joerns@pengutronix.de>")
+ @$(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
next prev parent reply other threads:[~2022-06-24 11:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-24 11:42 [ptxdist] [PATCH v2 0/6] python3-aiohttp version bump to 3.8.1 Enrico Jorns
2022-06-24 11:42 ` [ptxdist] [PATCH v2 1/6] python3-charset-normalizer: new package Enrico Jorns
2022-07-01 5:10 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-06-24 11:42 ` [ptxdist] [PATCH v2 2/6] python3-async-timeout.make: version bump 3.0.1 -> 4.0.2 Enrico Jorns
2022-07-01 5:10 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-06-24 11:42 ` Enrico Jorns [this message]
2022-07-01 5:10 ` [ptxdist] [APPLIED] python3-idna-ssl: new package Michael Olbrich
2022-06-24 11:42 ` [ptxdist] [PATCH v2 4/6] python3-frozenlist: " Enrico Jorns
2022-07-01 5:10 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-06-24 11:42 ` [ptxdist] [PATCH v2 5/6] python3-aiosignal: " Enrico Jorns
2022-07-01 5:10 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-06-24 11:42 ` [ptxdist] [PATCH v2 6/6] python3-aiohttp: version bump 3.6.1 -> 3.8.1 Enrico Jorns
2022-07-01 5:10 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220624114246.161813-4-ejo@pengutronix.de \
--to=ejo@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox