mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH] python3-pyyaml: install missing cyaml library
Date: Wed,  1 Dec 2021 17:27:30 +0100	[thread overview]
Message-ID: <20211201162730.2510267-1-bst@pengutronix.de> (raw)

_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 "<stdin>", line 1, in <module>
    File "/usr/lib/python3.7/site-packages/yaml/cyaml.py", line 5, in <module>
  ModuleNotFoundError: No module named '_yaml'

Now:
  >>> from yaml.cyaml import *
  >>>

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
 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


             reply	other threads:[~2021-12-01 16:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-01 16:27 Bastian Krause [this message]
2021-12-10 13:07 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211201162730.2510267-1-bst@pengutronix.de \
    --to=bst@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox