From: Bartosz Golaszewski <bartosz.golaszew...@linaro.org>

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.golaszew...@linaro.org>
---
 meta-python/recipes-devtools/python/python3-ecdsa_0.18.0.bb | 4 ++++
 1 file changed, 4 insertions(+)

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 6a399a96f..d1022891b 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
+}
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#103395): 
https://lists.openembedded.org/g/openembedded-devel/message/103395
Mute This Topic: https://lists.openembedded.org/mt/99622995/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to