Signed-off-by: Ryan Rowe <rrowe@xevo.com>
Needs python3-setuptools and python3-packaging in RDEPENDS to import cleanly. I'm going to send a follow-up patch for that shortly:
>>> import pint
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.8/site-packages/pint/__init__.py", line
28, in <module>
from .registry import LazyRegistry, UnitRegistry
File "/usr/lib/python3.8/site-packages/pint/registry.py", line
49, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
--- meta-python/recipes-devtools/python/python3-pint_0.14.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-pint_0.14.bb b/meta-python/recipes-devtools/python/python3-pint_0.14.bb index 8e1630476..ab8b4d74d 100644 --- a/meta-python/recipes-devtools/python/python3-pint_0.14.bb +++ b/meta-python/recipes-devtools/python/python3-pint_0.14.bb @@ -21,6 +21,10 @@ SRC_URI += " \ file://run-ptest \ " +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-packaging \ +" + RDEPENDS_${PN}-ptest += " \ ${PYTHON_PN}-pytest \ "