bitbake: utils: Add explode_dep_versions2 to replace explode_dep_versions
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Oct 2012 22:03:43 +0000 (22:03 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Oct 2012 10:40:54 +0000 (11:40 +0100)
commit3f6fa6a689ac7406def14e8b0a310d2f21bfb982
tree7703159cebcc8e16c75420fd95203609c3fc1d7e
parentc36fffe28be423262d74854940119b04330eddc6
bitbake: utils: Add explode_dep_versions2 to replace explode_dep_versions

The API for explode_dep_versions is flawed since there can only be one version
constraint against any given dependency. This adds a new function with an API
without this limitation. explode_dep_versions() is maintained with a warning
printed when its used in a situation where information is lost.

This should allow a simple transition to the new API to fix the lost dependency
information.

join_deps() is updated to deal with data in either format.

(Bitbake rev: babeeded21827d8d3e7c7b785a62332ee9d45d4f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/utils.py