From d6ad0dae171a293f8afad963d3dc0204f460dff0 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Fri, 23 Jun 2023 16:38:38 +0200 Subject: 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 Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-ecdsa_0.18.0.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-python/recipes-devtools/python/python3-ecdsa_0.18.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-ecdsa_0.18.0.bb b/meta-python/recipes-devtools/python/python3-ecdsa_0.18.0.bb index 6a399a96fe..d1022891b9 100644 --- a/meta-python/recipes-devtools/python/python3-ecdsa_0.18.0.bb +++ b/meta-python/recipes-devtools/python/python3-ecdsa_0.18.0.bb @@ -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 +} -- cgit v1.2.3-54-g00ecf