summaryrefslogtreecommitdiffstats
path: root/opkg-show-deps
AgeCommit message (Collapse)Author
2016-06-01migrate to python 3Alejandro del Castillo
General fixes * Add __future__ imports * Use print function instead of print statement * Use new style classes * Iterate over list, instead of over object.keys() * Use six.iteritems instead of iteritems() opkg.py: * Add conditional to decode string if needed in Package:read_control arfile.py * Add seekable method to FileSection class (needed by tarfile) Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2015-09-29opkg-utils: Fix crash on dependency errorHaris Okanovic
Fix crash on exception in opkg-show-deps when generating an 'unsatisfied dependency' error. process_dep() function was referencing a missing parameter `pkg`. Signed-off-by: Haris Okanovic <haris.okanovic@ni.com> Acked-by: Brad Mouring <brad.mouring@ni.com> Cc: Alejandro del Castillo <alejandro.delcastillo@ni.com> Cc: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2014-11-15opkg-show-deps: Add comments to explain codePaul Barker
There was some confusion discussed on the mailing list about what the various loops in this script were doing. Comments are added to explain the behaviour, hopefully preventing any confusion in the future. Thanks to Pavel Zubarev for bringing this up and helping me to clarify what the current code is doing. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-11-15opkg-show-deps: properly interrupt rescursion during lookupPavel Zubarev
The outer loop is iterating over dependencies and the inner loop is iterating over the providers of those dependencies. So the 'continue' needs to act on the outer loop not the overall routine. Signed-off-by: Pavel Zubarev <pavel.zubarev@gmail.com> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2012-04-26opkg.py: use string funtcions directly on string variableMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-262to3: dictionary fixesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-262to3: print fixesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-262to3: use subprocess instead of commandsMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-26Use python via the PATH, rather than hardcoding /usr/bin/pythonChristopher Larson
Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2008-07-18[opkg-utils] Add opkg-utils to the repository courtsey Richard Purdie of ↵Holger 'Zecke' Freyther
o-hand.com I've attached a first attempt at this, its basically a small set of helper scripts which OE/Poky use when working with ipks. I've applied the various OE improvements and tweaks and removed a ton of cruft we don't need.