python3-ecdsa: don't install tests

If we don't want to pull python3-unittest at run-time then we must not
install test packages. This recipe doesn't provide ptest anyway.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bartosz Golaszewski 2023-06-23 16:38:38 +02:00 committed by Khem Raj
parent 64dccc68b0
commit d6ad0dae17

View File

@ -13,3 +13,7 @@ inherit pypi setuptools3 python3native
RDEPENDS:${PN} += "python3-six python3-gmpy2 python3-pbr"
BBCLASSEXTEND = "native nativesdk"
do_install:append() {
rm ${D}${PYTHON_SITEPACKAGES_DIR}/ecdsa/test_*.py
}