mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH 04/10] python3-idna: new package
Date: Thu, 17 Sep 2020 14:21:18 +0200	[thread overview]
Message-ID: <20200917122124.27241-4-bst@pengutronix.de> (raw)
In-Reply-To: <20200917122124.27241-1-bst@pengutronix.de>

python3-yarl requires this.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
 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..dc42bae35
--- /dev/null
+++ b/rules/python3-idna.make
@@ -0,0 +1,52 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Bastian Krause <bst@pengutronix.de>
+#
+# 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	:= https://files.pythonhosted.org/packages/ea/b7/e0e3c1c467636186c39925827be42f16fee389dc404ac29e930e9136be70/$(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 <bst@pengutronix.de>")
+	@$(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

  parent reply	other threads:[~2020-09-17 12:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-17 12:21 [ptxdist] [PATCH 01/10] python3-async-timeout: version bump 2.0.0 -> 3.0.1 Bastian Krause
2020-09-17 12:21 ` [ptxdist] [PATCH 02/10] python3-chardet: version bump 2.3.0 -> 3.0.4 Bastian Krause
2020-09-17 12:21 ` [ptxdist] [PATCH 03/10] python3-attrs: version bump 19.3.0 -> 20.2.0 Bastian Krause
2020-09-17 12:21 ` Bastian Krause [this message]
2020-09-17 12:21 ` [ptxdist] [PATCH 05/10] python3-yarl: version bump 0.8.1 -> 1.5.1 Bastian Krause
2020-09-17 19:10   ` Roland Hieber
2020-09-17 12:21 ` [ptxdist] [PATCH 06/10] python3-multidict: version bump 2.1.4 -> 4.7.6 Bastian Krause
2020-09-17 12:21 ` [ptxdist] [PATCH 07/10] python3-aiohttp: mark dependencies as RUNTIME Bastian Krause
2020-09-17 12:21 ` [ptxdist] [PATCH 08/10] python3-aiohttp: add missing PYTHON3_ATTRS runtime dependency Bastian Krause
2020-09-17 12:21 ` [ptxdist] [PATCH 09/10] python3-aiohttp: version bump 3.4.4 -> 3.6.2 Bastian Krause
2020-09-17 12:21 ` [ptxdist] [PATCH 10/10] python3-aiohttp-wsgi: version bump 0.2.5 -> 0.8.2 Bastian Krause
2020-09-17 19:09 ` [ptxdist] [PATCH 01/10] python3-async-timeout: version bump 2.0.0 -> 3.0.1 Roland Hieber
2020-09-17 19:34   ` [ptxdist] [RFC] setup: introduce pypi mirror Roland Hieber
2020-09-21  8:29     ` Bastian Krause

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=20200917122124.27241-4-bst@pengutronix.de \
    --to=bst@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