* [ptxdist] [PATCH] python3-pyyaml: install missing cyaml library
@ 2021-12-01 16:27 Bastian Krause
2021-12-10 13:07 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Bastian Krause @ 2021-12-01 16:27 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
_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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] python3-pyyaml: install missing cyaml library
2021-12-01 16:27 [ptxdist] [PATCH] python3-pyyaml: install missing cyaml library Bastian Krause
@ 2021-12-10 13:07 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-12-10 13:07 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as 8eb6598ec747be1ef49e20ccecc2a452f6f4fdde.
Michael
[sent from post-receive hook]
On Fri, 10 Dec 2021 14:07:07 +0100, Bastian Krause <bst@pengutronix.de> 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 "<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>
> Message-Id: <20211201162730.2510267-1-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-10 13:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 16:27 [ptxdist] [PATCH] python3-pyyaml: install missing cyaml library Bastian Krause
2021-12-10 13:07 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox