On Mon, Jun 20, 2022 at 10:41:14AM +0200, Enrico Jorns wrote: > Requirement for newer python3-aiohttp. > > Signed-off-by: Enrico Jorns <[email protected]> > --- > 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 <[email protected]> > +# > +# 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 > <[email protected]>") > + @$(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 |
