python3-pint: add setuptools and packaging to RDEPENDS
PATCH 1/1 python3-pint: add setuptools and packaging to RDEPENDS
pint needs setuptools and packaging to be imported correctly:
Quoted 1 line
Quoted 1 line
Quoted 1 line
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'
Add them to RDEPENDS to fix this.
Signed-off-by Trevor Gamblin <[email protected]>
--- meta-python/recipes-devtools/python/python3-pint_0.14.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python3-pint_0.14.bb +5 -0
@@ -21,6 +21,11 @@ SRC_URI += " \ file://run-ptest \ " +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-setuptools \ + ${PYTHON_PN}-packaging \ +" + RDEPENDS_${PN}-ptest += " \ ${PYTHON_PN}-pytest \ "
Signature · 1 line
2.26.2