Skip to contentSkip to conversation

python3-py: add python3-netclient to RDEPENDS

PATCH New Trevor Gamblin 1 participant 1 message May 7, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-py: add python3-netclient to RDEPENDS

python3-py requires the uuid.py module, which is contained in python3-netclient. Without it:

root@qemux86-64:~# python3
Quoted 1 line
Quoted 1 line
Quoted 1 line

import py._path.local

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.8/site-packages/py/_path/local.py", line 7, in <module> import sys, os, atexit, io, uuid
ModuleNotFoundError: No module named 'uuid'

---
 meta-python/recipes-devtools/python/python3-py_1.8.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-py_1.8.1.bb +2 -0
index 73aaf9e46..ff66aeaa2 100644
@@ -11,3 +11,5 @@ DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 inherit pypi setuptools3
 
 BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS_${PN} += "${PYTHON_PN}-netclient"
Signature · 1 line
2.17.1