[yocto] Python module from git repo recipe

Christopher Larson clarson at kergoth.com
Thu Jun 9 09:59:11 PDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160609/63a910e2/attachment.html>


More information about the yocto mailing list