[yocto] Python module from git repo recipe

Edward Wingate edwingate8 at gmail.com
Thu Jun 9 10:35:41 PDT 2016


Thanks all!  Was having a fit trying to get it to work until
Christopher's advice to set S to ${WORKDIR}/git.

On Thu, Jun 9, 2016 at 9:59 AM, Christopher Larson <clarson at kergoth.com> wrote:
>
> On Thu, Jun 9, 2016 at 9:03 AM, Burton, Ross <ross.burton at intel.com> wrote:
>>
>> On 9 June 2016 at 16:58, Edward Wingate <edwingate8 at gmail.com> wrote:
>>>
>>> Does anyone have an example of a recipe that installs a python module
>>> from a git repo?  There is a python module that is not regularly
>>> updated on PyPI, but its git repo is up to date.  All the examples of
>>> python module recipes I can find uses PyPI:
>>
>>
>> Just change the SRC_URI to a git URI, that's all you need to do.
>
>
> And S to ${WORKDIR}/git, set SRCREV, and depending on whether you're
> tracking a branch or a tag, add SRCPV to PV :)
> --
> Christopher Larson
> clarson at kergoth dot com
> Founder - BitBake, OpenEmbedded, OpenZaurus
> Maintainer - Tslib
> Senior Software Engineer, Mentor Graphics



More information about the yocto mailing list