diff options
| author | Rasmus Villemoes <ravi@prevas.dk> | 2025-03-25 22:02:33 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-25 18:32:07 -0700 |
| commit | 97e875069fe68133a46c7e6863cbf8a284fb1954 (patch) | |
| tree | 7de88c9eda1693377ecb6b64907b82b984a71bff /meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb | |
| parent | 37e9b17b1e1655b743d42c5f0a574dde08853b20 (diff) | |
| download | meta-openembedded-97e875069fe68133a46c7e6863cbf8a284fb1954.tar.gz | |
python3-netaddr: add missing RDEPENDS on python3-pprint
core.py in the netaddr package has
import pprint as _pprint
and so I hit
from netaddr import OUI
File "/usr/lib/python3.12/site-packages/netaddr/__init__.py", line 76, in <module>
from netaddr.core import (
File "/usr/lib/python3.12/site-packages/netaddr/core.py", line 9, in <module>
import pprint as _pprint
ModuleNotFoundError: No module named 'pprint'
Add the missing RDEPENDS.
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb b/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb index 8b486d26ff..256b38a135 100644 --- a/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb | |||
| @@ -6,6 +6,10 @@ SRC_URI[sha256sum] = "5c3c3d9895b551b763779ba7db7a03487dc1f8e3b385af819af341ae9e | |||
| 6 | 6 | ||
| 7 | inherit pypi python_setuptools_build_meta ptest-python-pytest | 7 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
| 8 | 8 | ||
| 9 | RDEPENDS:${PN} += " \ | ||
| 10 | python3-pprint \ | ||
| 11 | " | ||
| 12 | |||
| 9 | do_install_ptest:append () { | 13 | do_install_ptest:append () { |
| 10 | install -d ${D}${PTEST_PATH}/tests | 14 | install -d ${D}${PTEST_PATH}/tests |
| 11 | cp -rf ${S}/netaddr/tests/* ${D}${PTEST_PATH}/tests/ | 15 | cp -rf ${S}/netaddr/tests/* ${D}${PTEST_PATH}/tests/ |
