mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Markus Heidelberg via ptxdist <ptxdist@pengutronix.de>
To: <ptxdist@pengutronix.de>
Cc: Markus Heidelberg <m.heidelberg@cab.de>
Subject: [ptxdist] [PATCH] python3-asgiref: new package
Date: Mon, 1 Dec 2025 18:46:44 +0100	[thread overview]
Message-ID: <20251201174646.129729-4-m.heidelberg@cab.de> (raw)
In-Reply-To: <20251201174646.129729-1-m.heidelberg@cab.de>

Can be used with python3-flask.

Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
---
 rules/python3-asgiref.in   | 13 +++++++++
 rules/python3-asgiref.make | 55 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)
 create mode 100644 rules/python3-asgiref.in
 create mode 100644 rules/python3-asgiref.make

diff --git a/rules/python3-asgiref.in b/rules/python3-asgiref.in
new file mode 100644
index 000000000..48267ce26
--- /dev/null
+++ b/rules/python3-asgiref.in
@@ -0,0 +1,13 @@
+## SECTION=python3
+
+config PYTHON3_ASGIREF
+	tristate
+	select HOST_PYTHON3_SETUPTOOLS
+	select PYTHON3
+	prompt "asgiref"
+	help
+	  ASGI is a standard for Python asynchronous web apps and servers
+	  to communicate with each other, and positioned as an asynchronous
+	  successor to WSGI.
+
+	  This package includes ASGI base libraries.
diff --git a/rules/python3-asgiref.make b/rules/python3-asgiref.make
new file mode 100644
index 000000000..41f39ccfa
--- /dev/null
+++ b/rules/python3-asgiref.make
@@ -0,0 +1,55 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2025 by Markus Heidelberg <m.heidelberg@cab.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_ASGIREF) += python3-asgiref
+
+#
+# Paths and names
+#
+PYTHON3_ASGIREF_VERSION		:= 3.11.0
+PYTHON3_ASGIREF_MD5		:= 554794453502d266a90d2254fcb1f7c3
+PYTHON3_ASGIREF			:= asgiref-$(PYTHON3_ASGIREF_VERSION)
+PYTHON3_ASGIREF_SUFFIX		:= tar.gz
+PYTHON3_ASGIREF_URL		:= $(call ptx/mirror-pypi, asgiref, $(PYTHON3_ASGIREF).$(PYTHON3_ASGIREF_SUFFIX))
+PYTHON3_ASGIREF_SOURCE		:= $(SRCDIR)/$(PYTHON3_ASGIREF).$(PYTHON3_ASGIREF_SUFFIX)
+PYTHON3_ASGIREF_DIR		:= $(BUILDDIR)/$(PYTHON3_ASGIREF)
+PYTHON3_ASGIREF_LICENSE		:= BSD-3-Clause
+PYTHON3_ASGIREF_LICENSE_FILES	:= \
+	file://setup.cfg;startline=9;endline=9;md5=5add1cb06b7427acea35025b0f8990e9 \
+	file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_ASGIREF_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-asgiref.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-asgiref)
+	@$(call install_fixup, python3-asgiref,PRIORITY,optional)
+	@$(call install_fixup, python3-asgiref,SECTION,base)
+	@$(call install_fixup, python3-asgiref,AUTHOR,"Markus Heidelberg <m.heidelberg@cab.de>")
+	@$(call install_fixup, python3-asgiref,DESCRIPTION,missing)
+
+	@$(call install_glob, python3-asgiref, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES),, *.py)
+
+	@$(call install_finish, python3-asgiref)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.43.0




  parent reply	other threads:[~2025-12-01 17:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-01 17:46 [ptxdist] [PATCH] python3-telnetlib3: " Markus Heidelberg via ptxdist
2025-12-01 17:46 ` [ptxdist] [PATCH] python3-pyserial-asyncio: " Markus Heidelberg via ptxdist
2025-12-01 17:46 ` [ptxdist] [PATCH] python3-pymodbus: version bump 3.11.2 -> 3.11.4 Markus Heidelberg via ptxdist
2025-12-01 17:46 ` Markus Heidelberg via ptxdist [this message]
2025-12-01 17:46 ` [ptxdist] [PATCH] python3-aiosqlite: version bump 0.18.0 -> 0.21.0 Markus Heidelberg via ptxdist
2025-12-01 17:46 ` [ptxdist] [PATCH] sqlite: version bump 3.50.4 -> 3.51.1 Markus Heidelberg via ptxdist

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=20251201174646.129729-4-m.heidelberg@cab.de \
    --to=ptxdist@pengutronix.de \
    --cc=m.heidelberg@cab.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