From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Bastian Krause Date: Mon, 21 Sep 2020 14:32:57 +0200 Message-Id: <20200921123308.25821-7-bst@pengutronix.de> In-Reply-To: <20200921123308.25821-1-bst@pengutronix.de> References: <20200921123308.25821-1-bst@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2 07/18] python3-idna: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Bastian Krause python3-yarl requires this. Signed-off-by: Bastian Krause --- Changes since (implicit) v1: - use ptx/mirror-pypi macro for URL --- rules/python3-idna.in | 8 +++++++ rules/python3-idna.make | 52 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 rules/python3-idna.in create mode 100644 rules/python3-idna.make diff --git a/rules/python3-idna.in b/rules/python3-idna.in new file mode 100644 index 000000000..864f128e2 --- /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 000000000..378342b91 --- /dev/null +++ b/rules/python3-idna.make @@ -0,0 +1,52 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Bastian Krause +# +# 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 ") + @$(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 -- 2.28.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de