utils.bbclass: restore previous implementation of explode_deps()
authorAndreas Oberritter <obi@opendreambox.org>
Fri, 11 Feb 2011 20:51:40 +0000 (20:51 +0000)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 6 Jul 2015 18:55:17 +0000 (21:55 +0300)
commit344d9978487a0c1e2c5340145204f5491daac9c1
tree90d1de8c154a7dd15e277f17c9a6cd2a388b29d9
parent23e1956ecb2f3de2c6e1f439c59d14de9faeaf38
utils.bbclass: restore previous implementation of explode_deps()

* explode_deps() changed its behavior to omit version information
  when the function was removed from OE in favor of BitBake's
  implementation in March 2010. Since then, packages didn't contain
  versioned runtime dependencies.

  See commit 89b7e433719f43f1c36c76cb8856d559014e99bc

* This patch restores the previous implementation of explode_deps(),
  thus fixing the generation of versioned runtime dependencies.

* Reimplementing explode_deps() using bb.utils.explode_dep_versions()
  didn't work, because it choked upon parsing inline python code, e.g.
  on update-modules_1.0.bb's RDEPENDS_${PN} field.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
classes/utils.bbclass