_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 <[email protected]>
---
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
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to
[email protected]