aboutsummaryrefslogtreecommitdiffstats
path: root/lib/oe/utils.py
AgeCommit message (Collapse)Author
2011-02-18utils.py: use bb.utils.vercmp_string instead of bb.vercmpAndreas Oberritter
* Fixes deprecation warning with BitBake master. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> CC: Chris Larson <chris_larson@mentor.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-12-15oe.utils: add 'inherits' functionChris Larson
This is simply a more convenient form of bb.data.inherits_class, as it can accept any number of classes, and will return True if it inherits any of them. This is similar to how isinstance() behaves. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-16utils, oe.utils: add 'uniq' functionChris Larson
Ignore duplicates in an iterable. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-27oe.utils: added param_bool() methodEnrico Scholz
This new function works like dict's get() method but converts the returned value to a boolean. It is to be used to interpret e.g. 'apply=yes' parameters in SRC_URI. Moved from base.bbclass into lib/oe/utils.py -kergoth Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-23Initial move of common python bits into modules of the 'oe' python packageChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>