mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 15:25:53 +01:00
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>
21 lines
624 B
BlitzBasic
21 lines
624 B
BlitzBasic
SUMMARY = "A network address manipulation library for Python."
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=8afa43eca873b71d5d85dd0be1f707fa"
|
|
|
|
SRC_URI[sha256sum] = "5c3c3d9895b551b763779ba7db7a03487dc1f8e3b385af819af341ae9ef6e48a"
|
|
|
|
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-pprint \
|
|
"
|
|
|
|
do_install_ptest:append () {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/netaddr/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|
|
|
|
do_install_ptest:append:libc-musl () {
|
|
sed -i -e "/--automake/ s/$/ -k 'not test_strategy_ipv6'/" ${D}${PTEST_PATH}/run-ptest
|
|
}
|