[oe] [meta-python][PATCH 07/12] python-flask-wtf: move core of recipe to a .inc file

Bill Randle bill.randle at gmail.com
Wed Dec 6 04:13:04 UTC 2017


On Tue, Dec 5, 2017 at 8:03 PM, Tim Orling
<timothy.t.orling at linux.intel.com> wrote:
>
>> On Dec 5, 2017, at 7:57 PM, akuster808 <akuster808 at gmail.com> wrote:
>>
>>
>>
>> On 11/29/2017 09:47 PM, Bill Randle wrote:
>>> Signed-off-by: Bill Randle <bill.randle at gmail.com>
>>> ---
>>> .../recipes-devtools/python/python-flask-wtf.inc        | 15 +++++++++++++++
>>> .../recipes-devtools/python/python-flask-wtf_0.12.bb    | 17 +----------------
>>> 2 files changed, 16 insertions(+), 16 deletions(-)
>>> create mode 100644 meta-python/recipes-devtools/python/python-flask-wtf.inc
>>
>> I am getting this error:
>>
>> WARNING:
>> /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb:
>> Unable to get checksum for python3-flask-xstatic SRC_URI entry
>> remove-pip-requires.patch: file could not be found
>> WARNING:
>> /home/akuster/OE/master/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_0.12.bb:
>> Unable to get checksum for python3-flask-wtf SRC_URI entry
>> import-simplejson-as-json.patch: file could not be found
>
> If you are trying to use a common patch file in, for instance, python-flask-wtf directory, you will need to add FILESEXTRAPATHS_prepend to the .inc so that the patch will be picked up by python3 version. One of the few cases where we want FILESEXTRAPATHS in an actual recipe, or at least the .inc (rather than a bbappend).
>
> —Tim

Thanks, Tim! I just figured out I needed something like that. Thanks
for the tip!!

    -Bill

[cut]



More information about the Openembedded-devel mailing list