Thanks, applied as 15da0b3af1c3367dfae1781b957111987cea2d04. Michael
[sent from post-receive hook] On Fri, 12 Dec 2025 15:52:02 +0100, Markus Heidelberg <[email protected]> wrote: > Can be used with python3-flask. > > Signed-off-by: Markus Heidelberg <[email protected]> > Message-Id: <[email protected]> > [mol: remove unnecessary HOST_PYTHON3_SETUPTOOLS dependency] > Signed-off-by: Michael Olbrich <[email protected]> > > diff --git a/rules/python3-asgiref.in b/rules/python3-asgiref.in > new file mode 100644 > index 000000000000..e7d83bb34a8c > --- /dev/null > +++ b/rules/python3-asgiref.in > @@ -0,0 +1,14 @@ > +## SECTION=python3 > + > +config PYTHON3_ASGIREF > + tristate > + 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. > + > +# vim: ft=kconfig tw=80 > diff --git a/rules/python3-asgiref.make b/rules/python3-asgiref.make > new file mode 100644 > index 000000000000..dbc6efd6761d > --- /dev/null > +++ b/rules/python3-asgiref.make > @@ -0,0 +1,55 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2025 by Markus Heidelberg <[email protected]> > +# > +# 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 > <[email protected]>") > + @$(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: ft=make
