From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 10 Dec 2021 14:08:04 +0100 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 1mvfd6-0024c7-98 for lore@lore.pengutronix.de; Fri, 10 Dec 2021 14:08:04 +0100 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 1mvfd5-0006N1-9t; Fri, 10 Dec 2021 14:08:03 +0100 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 1mvfcD-0005YE-7K; Fri, 10 Dec 2021 14:07:09 +0100 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 1mvfcD-003mOM-7T; Fri, 10 Dec 2021 14:07:08 +0100 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1mvfcB-00GMlj-QP; Fri, 10 Dec 2021 14:07:07 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 10 Dec 2021 14:07:07 +0100 Message-Id: <20211210130707.3900647-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211201162730.2510267-1-bst@pengutronix.de> References: <20211201162730.2510267-1-bst@pengutronix.de> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] python3-pyyaml: install missing cyaml library 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: Bastian Krause Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 8eb6598ec747be1ef49e20ccecc2a452f6f4fdde. Michael [sent from post-receive hook] On Fri, 10 Dec 2021 14:07:07 +0100, Bastian Krause wrote: > _yaml.cpython-*.so was accidentally omitted before. Now make sure to > install this library to make the libyaml bindings work. > > Before: > >>> from yaml.cyaml import * > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python3.7/site-packages/yaml/cyaml.py", line 5, in > ModuleNotFoundError: No module named '_yaml' > > Now: > >>> from yaml.cyaml import * > >>> > > Signed-off-by: Bastian Krause > Message-Id: <20211201162730.2510267-1-bst@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-pyyaml.make b/rules/python3-pyyaml.make > index 971fc79a9bec..a9cdda248616 100644 > --- a/rules/python3-pyyaml.make > +++ b/rules/python3-pyyaml.make > @@ -43,7 +43,7 @@ $(STATEDIR)/python3-pyyaml.targetinstall: > @$(call install_fixup, python3-pyyaml, DESCRIPTION, missing) > > @$(call install_glob, python3-pyyaml, 0, 0, -, \ > - $(PYTHON3_SITEPACKAGES)/yaml,, *.py) > + $(PYTHON3_SITEPACKAGES), *.pyc *.so,) > > @$(call install_finish, python3-pyyaml) > _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de