Thanks, applied as 166fc2c04f4b041ade309f05e9810581266bfc07.

Michael

[sent from post-receive hook]

On Tue, 06 Oct 2020 10:18:42 +0200, Bastian Krause <[email protected]> wrote:
> python3-yarl requires this.
> 
> Signed-off-by: Bastian Krause <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/python3-idna.in b/rules/python3-idna.in
> new file mode 100644
> index 000000000000..864f128e204e
> --- /dev/null
> +++ b/rules/python3-idna.in
> @@ -0,0 +1,8 @@
> +## SECTION=python3
> +
> +config PYTHON3_IDNA
> +     tristate
> +     select PYTHON3
> +     prompt "python3-idna"
> +     help
> +       Support for the Internationalised Domain Names in Applications (IDNA) 
> protocol
> diff --git a/rules/python3-idna.make b/rules/python3-idna.make
> new file mode 100644
> index 000000000000..378342b91b8e
> --- /dev/null
> +++ b/rules/python3-idna.make
> @@ -0,0 +1,52 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2020 by Bastian Krause <[email protected]>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_IDNA) += python3-idna
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_IDNA_VERSION := 2.10
> +PYTHON3_IDNA_MD5     := 7a910c706db30d758f377db2762c0f9a
> +PYTHON3_IDNA         := idna-$(PYTHON3_IDNA_VERSION)
> +PYTHON3_IDNA_SUFFIX  := tar.gz
> +PYTHON3_IDNA_URL     := $(call ptx/mirror-pypi, idna, 
> $(PYTHON3_IDNA).$(PYTHON3_IDNA_SUFFIX))
> +PYTHON3_IDNA_SOURCE  := $(SRCDIR)/$(PYTHON3_IDNA).$(PYTHON3_IDNA_SUFFIX)
> +PYTHON3_IDNA_DIR     := $(BUILDDIR)/$(PYTHON3_IDNA)
> +PYTHON3_IDNA_LICENSE := BSD-3-Clause
> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------
> +
> +PYTHON3_IDNA_CONF_TOOL       := python3
> +
> +# 
> ----------------------------------------------------------------------------
> +# Target-Install
> +# 
> ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-idna.targetinstall:
> +     @$(call targetinfo)
> +
> +     @$(call install_init, python3-idna)
> +     @$(call install_fixup, python3-idna, PRIORITY, optional)
> +     @$(call install_fixup, python3-idna, SECTION, base)
> +     @$(call install_fixup, python3-idna, AUTHOR, "Bastian Krause 
> <[email protected]>")
> +     @$(call install_fixup, python3-idna, DESCRIPTION, missing)
> +
> +     @$(call install_glob, python3-idna, 0, 0, -, \
> +             $(PYTHON3_SITEPACKAGES),, *.py)
> +
> +     @$(call install_finish, python3-idna)
> +
> +     @$(call touch)
> +
> +# vim: syntax=make

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to