From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 01 Dec 2021 17:28:05 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1msSSj-0004TZ-T0 for lore@lore.pengutronix.de; Wed, 01 Dec 2021 17:28:05 +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 1msSSj-0004Md-Er; Wed, 01 Dec 2021 17:28:05 +0100 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7] helo=dude.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1msSSB-0004MR-Ef; Wed, 01 Dec 2021 17:27:31 +0100 From: Bastian Krause To: ptxdist@pengutronix.de Date: Wed, 1 Dec 2021 17:27:30 +0100 Message-Id: <20211201162730.2510267-1-bst@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [ptxdist] [PATCH] 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 _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 --- rules/python3-pyyaml.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/python3-pyyaml.make b/rules/python3-pyyaml.make index 971fc79a9..a9cdda248 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) -- 2.30.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de