[Buildroot] [PATCH 2/3] graph-depends: split off get_version/get_depends into pkgutil.py
Thomas De Schampheleire
patrickdepinguin at gmail.com
Wed Nov 7 19:06:10 UTC 2018
El mié., 7 nov. 2018 a las 19:07, Yann E. MORIN
(<yann.morin.1998 at free.fr>) escribió:
> Thomas DS, All,
> On 2017-02-03 21:57 +0100, Thomas De Schampheleire spake thusly:
> > From: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
> > 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.
> Coming back to this script, because I'm rewriting the way graph-depends
> gets the dependency tree. When you said "useful for several scripts,"
> did you expect it to be useful to scripts that are not in Buildroot
> (e.g. user-local scripts)?
Yes, exactly. We are using the logic from pkgutil from another python
script and want to avoid code duplication.
This particular script is not something that upstream accepts, i.e.
generating opkg files for specific packages (and for that, we need to
know the dependencies and versions of each package).
More information about the buildroot