[oe] [meta-python][PATCHv2] python-werkzeug: update RDEPENDS to work for minimal python2.7 and python3

Derek Straka derek at asterius.io
Wed Jul 20 14:31:54 UTC 2016


Signed-off-by: Derek Straka <derek at asterius.io>
---
 .../recipes-devtools/python/python-werkzeug.inc    | 23 +++++++++++-----------
 .../python/python-werkzeug_0.11.10.bb              |  2 ++
 2 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-werkzeug.inc b/meta-python/recipes-devtools/python/python-werkzeug.inc
index f6f75d0..547aa87 100644
--- a/meta-python/recipes-devtools/python/python-werkzeug.inc
+++ b/meta-python/recipes-devtools/python/python-werkzeug.inc
@@ -16,15 +16,16 @@ SRC_URI[sha256sum] = "cc64dafbacc716cdd42503cf6c44cb5a35576443d82f29f6829e5c4926
 PYPI_PACKAGE = "Werkzeug"
 
 RDEPENDS_${PN} += " \
-    python-difflib \
-    python-email \
-    python-html \
-    python-json \
-    python-netserver \
-    python-numbers \
-    python-pkgutil \
-    python-subprocess \
-    python-threading \
-    python-unixadmin \
-    python-zlib \
+    ${PYTHON_PN}-datetime \    
+    ${PYTHON_PN}-difflib \
+    ${PYTHON_PN}-email \
+    ${PYTHON_PN}-html \
+    ${PYTHON_PN}-io \    
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-netserver \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-pkgutil \
+    ${PYTHON_PN}-subprocess \
+    ${PYTHON_PN}-threading \
+    ${PYTHON_PN}-unixadmin \
 "
diff --git a/meta-python/recipes-devtools/python/python-werkzeug_0.11.10.bb b/meta-python/recipes-devtools/python/python-werkzeug_0.11.10.bb
index dd14608..3892f13 100644
--- a/meta-python/recipes-devtools/python/python-werkzeug_0.11.10.bb
+++ b/meta-python/recipes-devtools/python/python-werkzeug_0.11.10.bb
@@ -1,2 +1,4 @@
 inherit pypi setuptools
 require python-werkzeug.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-zlib"
-- 
1.9.1




More information about the Openembedded-devel mailing list