Thanks, applied as c19e4d503627f81d440d0d1734dd5835732cddfc.

Michael

[sent from post-receive hook]

On Tue, 03 Jun 2025 12:38:55 +0200, Markus Heidelberg <[email protected]> 
wrote:
> Signed-off-by: Markus Heidelberg <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/python3-werkzeug.in b/rules/python3-werkzeug.in
> new file mode 100644
> index 000000000000..2ecd49b06abc
> --- /dev/null
> +++ b/rules/python3-werkzeug.in
> @@ -0,0 +1,11 @@
> +## SECTION=python3
> +
> +config PYTHON3_WERKZEUG
> +     tristate
> +     select HOST_PYTHON3_PYBUILD
> +     select HOST_PYTHON3_INSTALLER
> +     select PYTHON3
> +     select PYTHON3_MARKUPSAFE       if RUNTIME
> +     prompt "werkzeug"
> +     help
> +       Werkzeug is a comprehensive WSGI web application library.
> diff --git a/rules/python3-werkzeug.make b/rules/python3-werkzeug.make
> new file mode 100644
> index 000000000000..7683cefbb0c5
> --- /dev/null
> +++ b/rules/python3-werkzeug.make
> @@ -0,0 +1,56 @@
> +# -*-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_WERKZEUG) += python3-werkzeug
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_WERKZEUG_VERSION     := 3.1.3
> +PYTHON3_WERKZEUG_MD5         := b6005d403d01d08b9fe2330a0cfea05a
> +PYTHON3_WERKZEUG             := werkzeug-$(PYTHON3_WERKZEUG_VERSION)
> +PYTHON3_WERKZEUG_SUFFIX              := tar.gz
> +PYTHON3_WERKZEUG_URL         := $(call ptx/mirror-pypi, werkzeug, 
> $(PYTHON3_WERKZEUG).$(PYTHON3_WERKZEUG_SUFFIX))
> +PYTHON3_WERKZEUG_SOURCE              := 
> $(SRCDIR)/$(PYTHON3_WERKZEUG).$(PYTHON3_WERKZEUG_SUFFIX)
> +PYTHON3_WERKZEUG_DIR         := $(BUILDDIR)/$(PYTHON3_WERKZEUG)
> +PYTHON3_WERKZEUG_LICENSE     := BSD-3-Clause
> +PYTHON3_WERKZEUG_LICENSE_FILES       := \
> +     file://docs/license.rst;md5=9c09fd3983d581cb05598a19742ff5df \
> +     
> file://pyproject.toml;startline=6;endline=6;md5=b5e378dbc689d60085f38e2fc52fc318
>  \
> +     file://LICENSE.txt;md5=5dc88300786f1c214c1e9827a5229462
> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------
> +
> +PYTHON3_WERKZEUG_CONF_TOOL   := python3
> +
> +# 
> ----------------------------------------------------------------------------
> +# Target-Install
> +# 
> ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-werkzeug.targetinstall:
> +     @$(call targetinfo)
> +
> +     @$(call install_init, python3-werkzeug)
> +     @$(call install_fixup, python3-werkzeug,PRIORITY,optional)
> +     @$(call install_fixup, python3-werkzeug,SECTION,base)
> +     @$(call install_fixup, python3-werkzeug,AUTHOR,"Markus Heidelberg 
> <[email protected]>")
> +     @$(call install_fixup, python3-werkzeug,DESCRIPTION,missing)
> +
> +     @$(call install_glob, python3-werkzeug, 0, 0, -, \
> +             $(PYTHON3_SITEPACKAGES),, *.py)
> +
> +     @$(call install_finish, python3-werkzeug)
> +
> +     @$(call touch)
> +
> +# vim: syntax=make

Reply via email to