mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-02 01:20:09 +00:00
arm/python3-pydevicetree: don't install non-namespaced tests
The wheel includes the tests which are in a non-namespaced module, and will then conflict with other recipes (such as python3-cryptography) that also install non-namespaced tests. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -7,4 +7,11 @@ inherit pypi setuptools3
|
||||
|
||||
SRC_URI[sha256sum] = "5700c05df89bad8fd729c11aa6f764a3323bcb3796f13b32481ae34445cfc1b7"
|
||||
|
||||
do_install:append() {
|
||||
# This package installs test cases into an un-namespaced "tests" directory,
|
||||
# remove it so it doesn't conflict with other recipes that do the same.
|
||||
# https://github.com/sifive/pydevicetree/issues/57
|
||||
rm -rf ${D}/${PYTHON_SITEPACKAGES_DIR}/tests
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user