]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
python3: Adds instructions to the manifest file
authorAlejandro Enedino Hernandez Samaniego <alejandro.enedino.hernandez-samaniego@xilinx.com>
Fri, 16 Nov 2018 19:31:45 +0000 (11:31 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Nov 2018 12:47:06 +0000 (12:47 +0000)
commita640b19ef46bc719cf9bf7f22d4284866eab5c61
tree351d947010361eff508da75dc37f61e4ab616fa0
parent07031b262812aca4dc356e5af9f3d0e615dbd33d
python3: Adds instructions to the manifest file

While there is a bit of documentation regarding building a new
manifest file for python, it seems that users usually only read
the manifest file.

The manifest file is in JSON format which doesn't allow comments,
hence why instructions were initially put elsewhere.

This patch hacks the call to open the JSON manifest file by using a
marker to trick it into reading only part of the file as the manifest
itself, and keep the other part as comments, which contain instructions
for the user to run the create_manifest task after an upgrade or when
adding a new package.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-native_3.5.6.bb
meta/recipes-devtools/python/python3/create_manifest3.py
meta/recipes-devtools/python/python3/python3-manifest.json
meta/recipes-devtools/python/python3_3.5.6.bb