mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Markus Heidelberg <m.heidelberg@cab.de>
Subject: Re: [ptxdist] [APPLIED] python3-statemachine: new package
Date: Fri, 12 Dec 2025 15:52:00 +0100	[thread overview]
Message-ID: <20251212145200.3024403-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20251202141709.185914-6-m.heidelberg@cab.de>

Thanks, applied as d1454447a0f28f8b83c65df1afe1c7216477b3ad.

Michael

[sent from post-receive hook]

On Fri, 12 Dec 2025 15:52:00 +0100, Markus Heidelberg <m.heidelberg@cab.de> wrote:
> State machine diagrams can be drawn via optional pydot package.
> 
> Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
> Message-Id: <20251202141709.185914-6-m.heidelberg@cab.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-statemachine.in b/rules/python3-statemachine.in
> new file mode 100644
> index 000000000000..a0819a437744
> --- /dev/null
> +++ b/rules/python3-statemachine.in
> @@ -0,0 +1,12 @@
> +## SECTION=python3
> +
> +config PYTHON3_STATEMACHINE
> +	tristate
> +	select HOST_PYTHON3_HATCHLING
> +	select HOST_PYTHON3_PYBUILD
> +	select PYTHON3
> +	prompt "statemachine"
> +	help
> +	  Python finite-state machines made easy.
> +
> +# vim: ft=kconfig tw=80
> diff --git a/rules/python3-statemachine.make b/rules/python3-statemachine.make
> new file mode 100644
> index 000000000000..e29292a61968
> --- /dev/null
> +++ b/rules/python3-statemachine.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_STATEMACHINE) += python3-statemachine
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_STATEMACHINE_VERSION		:= 2.5.0
> +PYTHON3_STATEMACHINE_MD5		:= 04598d34159bedc13a4998e6a045f0d0
> +PYTHON3_STATEMACHINE			:= python_statemachine-$(PYTHON3_STATEMACHINE_VERSION)
> +PYTHON3_STATEMACHINE_SUFFIX		:= tar.gz
> +PYTHON3_STATEMACHINE_URL		:= $(call ptx/mirror-pypi, python-statemachine, $(PYTHON3_STATEMACHINE).$(PYTHON3_STATEMACHINE_SUFFIX))
> +PYTHON3_STATEMACHINE_SOURCE		:= $(SRCDIR)/$(PYTHON3_STATEMACHINE).$(PYTHON3_STATEMACHINE_SUFFIX)
> +PYTHON3_STATEMACHINE_DIR		:= $(BUILDDIR)/$(PYTHON3_STATEMACHINE)
> +PYTHON3_STATEMACHINE_LICENSE		:= MIT
> +PYTHON3_STATEMACHINE_LICENSE_FILES	:= \
> +	file://pyproject.toml;startline=7;endline=7;md5=623437efa8fb3f31009255ea0c4227b4 \
> +	file://LICENSE;md5=18e79b33e7b579ebf7950c6d066248ff
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_STATEMACHINE_CONF_TOOL	:= python3
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-statemachine.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, python3-statemachine)
> +	@$(call install_fixup, python3-statemachine,PRIORITY,optional)
> +	@$(call install_fixup, python3-statemachine,SECTION,base)
> +	@$(call install_fixup, python3-statemachine,AUTHOR,"Markus Heidelberg <m.heidelberg@cab.de>")
> +	@$(call install_fixup, python3-statemachine,DESCRIPTION,missing)
> +
> +	@$(call install_glob, python3-statemachine, 0, 0, -, \
> +		$(PYTHON3_SITEPACKAGES),, *.py)
> +
> +	@$(call install_finish, python3-statemachine)
> +
> +	@$(call touch)
> +
> +# vim: ft=make



      reply	other threads:[~2025-12-12 14:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-02 14:17 [ptxdist] [PATCH v2 0/5] new python3-statemachine package + new/updated dependencies Markus Heidelberg via ptxdist
2025-12-02 14:17 ` [ptxdist] [PATCH v2 1/5] python3-pyparsing: version bump 2.4.7 -> 3.2.5 Markus Heidelberg via ptxdist
2025-12-12 14:51   ` [ptxdist] [APPLIED] " Michael Olbrich
2025-12-02 14:17 ` [ptxdist] [PATCH v2 2/5] python3-packaging: version bump 23.1 -> 25.0 Markus Heidelberg via ptxdist
2025-12-12 14:51   ` [ptxdist] [APPLIED] " Michael Olbrich
2025-12-02 14:17 ` [ptxdist] [PATCH v2 3/5] python3-setuptools: version bump 71.1.0 -> 80.9.0 Markus Heidelberg via ptxdist
2025-12-02 14:17 ` [ptxdist] [PATCH v2 4/5] python3-pydot: new package Markus Heidelberg via ptxdist
2025-12-02 14:17 ` [ptxdist] [PATCH v2 5/5] python3-statemachine: " Markus Heidelberg via ptxdist
2025-12-12 14:52   ` Michael Olbrich [this message]

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=20251212145200.3024403-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=m.heidelberg@cab.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