From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 15 Jan 2026 16:12:26 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vgP1P-001dQ7-12 for lore@lore.pengutronix.de; Thu, 15 Jan 2026 16:12:26 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vgP1O-00081N-Ec; Thu, 15 Jan 2026 16:12:26 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vgP11-0007bX-Kx; Thu, 15 Jan 2026 16:12:03 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vgP12-000m43-0H; Thu, 15 Jan 2026 16:12:03 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1vgP11-00000000y3q-1XkD; Thu, 15 Jan 2026 16:12:03 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 15 Jan 2026 16:12:03 +0100 Message-ID: <20260115151203.230867-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251202141709.185914-5-m.heidelberg@cab.de> References: <20251202141709.185914-5-m.heidelberg@cab.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] python3-pydot: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Markus Heidelberg Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 5974daa1b957b9ef01f4d63aa80ab58abf00ca1b. Michael [sent from post-receive hook] On Thu, 15 Jan 2026 16:12:03 +0100, Markus Heidelberg wrote: > DOT graphs can be generated even without the graphviz package, > so this optional dependency could be omitted. > > Signed-off-by: Markus Heidelberg > Message-Id: <20251202141709.185914-5-m.heidelberg@cab.de> > [mol: remove unnecessary HOST_PYTHON3_SETUPTOOLS dependency] > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-pydot.in b/rules/python3-pydot.in > new file mode 100644 > index 000000000000..926c76e933c0 > --- /dev/null > +++ b/rules/python3-pydot.in > @@ -0,0 +1,12 @@ > +## SECTION=python3 > + > +config PYTHON3_PYDOT > + tristate > + select HOST_PYTHON3_PYBUILD > + select PYTHON3 > + select PYTHON3_PYPARSING if RUNTIME > + prompt "pydot" > + help > + Pydot is a Python interface to Graphviz and its DOT language. > + > +# vim: ft=kconfig tw=80 > diff --git a/rules/python3-pydot.make b/rules/python3-pydot.make > new file mode 100644 > index 000000000000..3ec6393d617c > --- /dev/null > +++ b/rules/python3-pydot.make > @@ -0,0 +1,57 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2025 by Markus Heidelberg > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_PYTHON3_PYDOT) += python3-pydot > + > +# > +# Paths and names > +# > +PYTHON3_PYDOT_VERSION := 4.0.1 > +PYTHON3_PYDOT_MD5 := ca020739825a4d6cc3bfcb57dba08460 > +PYTHON3_PYDOT := pydot-$(PYTHON3_PYDOT_VERSION) > +PYTHON3_PYDOT_SUFFIX := tar.gz > +PYTHON3_PYDOT_URL := $(call ptx/mirror-pypi, pydot, $(PYTHON3_PYDOT).$(PYTHON3_PYDOT_SUFFIX)) > +PYTHON3_PYDOT_SOURCE := $(SRCDIR)/$(PYTHON3_PYDOT).$(PYTHON3_PYDOT_SUFFIX) > +PYTHON3_PYDOT_DIR := $(BUILDDIR)/$(PYTHON3_PYDOT) > +PYTHON3_PYDOT_LICENSE := MIT AND Python-2.0 > +PYTHON3_PYDOT_LICENSE_FILES := \ > + file://README.md;startline=252;endline=260;md5=77506fc37df43b60adaca86e24e2e819 \ > + file://pyproject.toml;startline=13;endline=16;md5=856135553b53b2a31192376e7eb8be91 \ > + file://LICENSES/MIT.txt;md5=7dda4e90ded66ab88b86f76169f28663 \ > + file://LICENSES/Python-2.0.txt;md5=a13a605eb35c59f1295e7ad38386132e > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +PYTHON3_PYDOT_CONF_TOOL := python3 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/python3-pydot.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-pydot) > + @$(call install_fixup, python3-pydot,PRIORITY,optional) > + @$(call install_fixup, python3-pydot,SECTION,base) > + @$(call install_fixup, python3-pydot,AUTHOR,"Markus Heidelberg ") > + @$(call install_fixup, python3-pydot,DESCRIPTION,missing) > + > + @$(call install_glob, python3-pydot, 0, 0, -, \ > + $(PYTHON3_SITEPACKAGES),, *.py) > + > + @$(call install_finish, python3-pydot) > + > + @$(call touch) > + > +# vim: ft=make