From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sun, 11 Sep 2022 09:11:42 +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 1oXH82-000PcW-DD for lore@lore.pengutronix.de; Sun, 11 Sep 2022 09:11:42 +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 1oXH80-0001Oq-RQ; Sun, 11 Sep 2022 09:11:40 +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 1oXH6X-0007Md-6u; Sun, 11 Sep 2022 09:10:09 +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 1oXH6X-0003lK-TG; Sun, 11 Sep 2022 09:10:08 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oXH6V-009Xah-Eh; Sun, 11 Sep 2022 09:10:07 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Sun, 11 Sep 2022 09:10:07 +0200 Message-Id: <20220911071007.2274032-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220901085941.2597793-3-m.felsch@pengutronix.de> References: <20220901085941.2597793-3-m.felsch@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] host-system-python3: order options alphabetical 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 d802a5edf3a3bdce76be29ff5b9f5c5afdb03f19. Michael [sent from post-receive hook] On Sun, 11 Sep 2022 09:10:07 +0200, Marco Felsch wrote: > No functional changes. > > Signed-off-by: Marco Felsch > Message-Id: <20220901085941.2597793-3-m.felsch@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/host-system-python3.in b/rules/host-system-python3.in > index 21d02e9e7e5e..25201e93fda8 100644 > --- a/rules/host-system-python3.in > +++ b/rules/host-system-python3.in > @@ -5,6 +5,9 @@ config HOST_SYSTEM_PYTHON3 > > if HOST_SYSTEM_PYTHON3 > > +config HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY > + bool > + > config HOST_SYSTEM_PYTHON3_DEV > bool > > @@ -32,7 +35,4 @@ config HOST_SYSTEM_PYTHON3_PYELFTOOLS > config HOST_SYSTEM_PYTHON3_PYYAML > bool > > -config HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY > - bool > - > endif > diff --git a/rules/host-system-python3.make b/rules/host-system-python3.make > index 217f1f56d763..b03efd8bbf31 100644 > --- a/rules/host-system-python3.make > +++ b/rules/host-system-python3.make > @@ -24,6 +24,12 @@ $(STATEDIR)/host-system-python3.prepare: > @$(SYSTEMPYTHON3) -V >/dev/null 2>&1 || \ > ptxd_bailout "'python3' not found! Please install."; > @echo > +ifdef PTXCONF_HOST_SYSTEM_PYTHON3_CRYPTOGRAPHY > + @echo "Checking for Python Cryptography ..." > + @$(SYSTEMPYTHON3) -c 'import cryptography' 2>/dev/null || \ > + ptxd_bailout "Python cryptography module not found! \ > + Please install python3-cryptography (debian)"; > +endif > ifdef PTXCONF_HOST_SYSTEM_PYTHON3_DEV > @echo "Checking for Python development files ..." > @$(SYSTEMPYTHON3)-config --includes &>/dev/null || \ > @@ -77,12 +83,6 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON3_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 || \ > - ptxd_bailout "Python cryptography module not found! \ > - Please install python3-cryptography (debian)"; > endif > @$(call touch) >