From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 24 Jun 2022 07:11:08 +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 1o4bb1-00CsFS-4Q for lore@lore.pengutronix.de; Fri, 24 Jun 2022 07:11:08 +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 1o4bb1-000332-LJ; Fri, 24 Jun 2022 07:11:07 +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 1o4baW-0002tT-0r; Fri, 24 Jun 2022 07:10:36 +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 1o4baT-002MxC-SW; Fri, 24 Jun 2022 07:10:35 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1o4baU-00Cmd3-3s; Fri, 24 Jun 2022 07:10:34 +0200 Date: Fri, 24 Jun 2022 07:10:34 +0200 From: Michael Olbrich To: Enrico Jorns Message-ID: Mail-Followup-To: Enrico Jorns , ptxdist@pengutronix.de References: <20220620084117.3066330-1-ejo@pengutronix.de> <20220620084117.3066330-4-ejo@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220620084117.3066330-4-ejo@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH 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: ptxdist@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 On Mon, Jun 20, 2022 at 10:41:14AM +0200, Enrico Jorns wrote: > Requirement for newer python3-aiohttp. > > Signed-off-by: Enrico Jorns > --- > rules/python3-idna-ssl.in | 8 ++++++ > rules/python3-idna-ssl.make | 53 +++++++++++++++++++++++++++++++++++++ > 2 files changed, 61 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..10bc58edd > --- /dev/null > +++ b/rules/python3-idna-ssl.make > @@ -0,0 +1,53 @@ > +# -*-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, 0755, -, /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/idna_ssl.py) 0644, right? And break the line. Michael > + > + @$(call install_finish, python3-idna-ssl) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 2.30.2 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |