graph-depends: split off get_version/get_depends into pkgutil.py
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Fri, 3 Feb 2017 20:57:44 +0000 (21:57 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 6 Feb 2017 11:26:55 +0000 (12:26 +0100)
commit12683184b1969f65680cb7db55b547a620a9860f
treee3bccd3b704b0746c535f0f14f2f4cf11583432c
parenta7399b257a522023c497db351e17b233fdd29f61
graph-depends: split off get_version/get_depends into pkgutil.py

Functions to obtain the version and dependencies of a package from Python
can be useful for several scripts. Extract this logic out of graph-depends
into pkgutil.py.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: remove shebang from pkgutil.py, noticed by Yann E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/graph-depends
support/scripts/pkgutil.py [new file with mode: 0644]