From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sun, 11 Sep 2022 09:11:33 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oXH7t-000Pbj-VG for lore@lore.pengutronix.de; Sun, 11 Sep 2022 09:11:33 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1oXH7t-0001A7-9t; Sun, 11 Sep 2022 09:11:33 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oXH6V-0007M1-OW; Sun, 11 Sep 2022 09:10:07 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1oXH6W-0003lE-F4; Sun, 11 Sep 2022 09:10:07 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oXH6U-009XZR-64; Sun, 11 Sep 2022 09:10:06 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Sun, 11 Sep 2022 09:10:06 +0200 Message-Id: <20220911071006.2273953-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220901085941.2597793-2-m.felsch@pengutronix.de> References: <20220901085941.2597793-2-m.felsch@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] host-system-python3: add ply and pyyaml option 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: Marco Felsch 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.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as f01ac2e6f14504164b5b8ccdbcbbcea19ffcd257. Michael [sent from post-receive hook] On Sun, 11 Sep 2022 09:10:05 +0200, Marco Felsch wrote: > Signed-off-by: Marco Felsch > Message-Id: <20220901085941.2597793-2-m.felsch@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/host-system-python3.in b/rules/host-system-python3.in > index 4be968f435ee..21d02e9e7e5e 100644 > --- a/rules/host-system-python3.in > +++ b/rules/host-system-python3.in > @@ -23,9 +23,15 @@ config HOST_SYSTEM_PYTHON3_SETUPTOOLS > config HOST_SYSTEM_PYTHON3_SIX > bool > > +config HOST_SYSTEM_PYTHON3_PLY > + bool > + > config HOST_SYSTEM_PYTHON3_PYELFTOOLS > bool > > +config HOST_SYSTEM_PYTHON3_PYYAML > + bool > + > config HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY > bool > > diff --git a/rules/host-system-python3.make b/rules/host-system-python3.make > index 02e9da1410fc..217f1f56d763 100644 > --- a/rules/host-system-python3.make > +++ b/rules/host-system-python3.make > @@ -60,12 +60,24 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON3_SIX > ptxd_bailout "Python six module not found! \ > Please install python3-six (debian)"; > endif > +ifdef PTXCONF_HOST_SYSTEM_PYTHON3_PLY > + @echo "Checking for Python ply ..." > + @$(SYSTEMPYTHON3) -c 'import ply' 2>/dev/null || \ > + ptxd_bailout "Python ply module not found! \ > + Please install python3-ply (debian)"; > +endif > ifdef PTXCONF_HOST_SYSTEM_PYTHON3_PYELFTOOLS > @echo "Checking for Python Pyelftools ..." > @$(SYSTEMPYTHON3) -c 'import elftools' 2>/dev/null || \ > ptxd_bailout "Python elftools module not found! \ > Please install python3-pyelftools (debian)"; > endif > +ifdef PTXCONF_HOST_SYSTEM_PYTHON3_PYYAML > + @echo "Checking for Python pyyaml ..." > + @$(SYSTEMPYTHON3) -c 'import yaml' 2>/dev/null || \ > + ptxd_bailout "Python pyyaml module not found! \ > + Please install python3-yaml (debian)"; > +endif > ifdef PTXCONF_HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY > @echo "Checking for Python Cryptography ..." > @$(SYSTEMPYTHON3) -c 'import cryptography' 2>/dev/null || \