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

Message ID 20200109032319.3645429-3-raj.khem@gmail.com
State New
Headers show
Series
  • [oe,meta-oe,1/5] add sqlite-orm v1.5
Related show

Commit Message

Khem Raj Jan. 9, 2020, 3:23 a.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>

Cc: Alexander Kanavin <alex.kanavin@gmail.com>
---
 .../recipes-devtools/python/python3-jsonrpcserver_4.1.0.bb      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.24.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

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/*
 }