[oe] [meta-python][PATCH 3/5] python3-jsonrpcserver: Use PYTHON_BASEVERSION instead of hardcoding py version

Khem Raj raj.khem at gmail.com
Thu Jan 9 03:23:17 UTC 2020


Signed-off-by: Khem Raj <raj.khem at gmail.com>
Cc: Alexander Kanavin <alex.kanavin at gmail.com>
---
 .../recipes-devtools/python/python3-jsonrpcserver_4.1.0.bb      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.0.bb b/meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.0.bb
index ceae6abd8c..a6dcef81de 100644
--- a/meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.0.bb
@@ -23,5 +23,5 @@ RDEPENDS_${PN} += "\
 BBCLASSEXTEND = "native nativesdk"
 
 do_install_append() {
-    chmod 0644 ${D}${PYTHON_SITEPACKAGES_DIR}/jsonrpcserver-4.1.0-py3.7.egg-info/*
+    chmod 0644 ${D}${PYTHON_SITEPACKAGES_DIR}/jsonrpcserver-4.1.0-py${PYTHON_BASEVERSION}.egg-info/*
 }
-- 
2.24.1



More information about the Openembedded-devel mailing list