[oe-commits] [meta-openembedded] 30/40: python-can: correct the RDEPENDS to work on a minimal python install

git at git.openembedded.org git at git.openembedded.org
Mon Dec 11 16:04:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch master
in repository meta-openembedded.

commit ae9c2bad8add4b4b1bc35a68195cf0486170e317
Author: Derek Straka <derek at asterius.io>
AuthorDate: Wed Nov 29 18:13:54 2017 -0500

    python-can: correct the RDEPENDS to work on a minimal python install
    
    Signed-off-by: Derek Straka <derek at asterius.io>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-python/recipes-devtools/python/python-can.inc         | 11 +++++++++++
 meta-python/recipes-devtools/python/python-can_2.0.0b1.bb  |  4 +++-
 meta-python/recipes-devtools/python/python3-can_2.0.0b1.bb |  5 ++++-
 3 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-can.inc b/meta-python/recipes-devtools/python/python-can.inc
index 1dbc809..ecfae3c 100644
--- a/meta-python/recipes-devtools/python/python-can.inc
+++ b/meta-python/recipes-devtools/python/python-can.inc
@@ -7,3 +7,14 @@ SRC_URI[md5sum] = "b2a164887c1c6a2a2490b5afb36e36db"
 SRC_URI[sha256sum] = "b961b6ce75a7f08b586f4d2cae8cdc409881731b851fc405fa21cb16bad00d87"
 
 PYPI_PACKAGE="python-can"
+
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-argparse \
+    ${PYTHON_PN}-ctypes \
+    ${PYTHON_PN}-importlib \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-misc \
+    ${PYTHON_PN}-netserver \
+    ${PYTHON_PN}-subprocess \
+    ${PYTHON_PN}-sqlite3 \
+"
diff --git a/meta-python/recipes-devtools/python/python-can_2.0.0b1.bb b/meta-python/recipes-devtools/python/python-can_2.0.0b1.bb
index ec81a9e..a698ad3 100644
--- a/meta-python/recipes-devtools/python/python-can_2.0.0b1.bb
+++ b/meta-python/recipes-devtools/python/python-can_2.0.0b1.bb
@@ -1,4 +1,6 @@
 require python-can.inc
 inherit pypi setuptools
 
-RDEPENDS_${PN} += "python-sqlite3"
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-zlib \
+"    
diff --git a/meta-python/recipes-devtools/python/python3-can_2.0.0b1.bb b/meta-python/recipes-devtools/python/python3-can_2.0.0b1.bb
index a1d45b8..aaa9e81 100644
--- a/meta-python/recipes-devtools/python/python3-can_2.0.0b1.bb
+++ b/meta-python/recipes-devtools/python/python3-can_2.0.0b1.bb
@@ -1,4 +1,7 @@
 require python-can.inc
 inherit pypi setuptools3
 
-RDEPENDS_${PN} += "python3-sqlite3"
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-codecs \
+    ${PYTHON_PN}-compression \
+"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list