[oe] Steps for adding new python module to meta-python

Douglas Royds douglas.royds at taitradio.com
Tue Apr 30 23:44:54 UTC 2019


You need:

    python3-aiohttp_3.5.4.bb

Note the ".bb" extension.


On 1/05/19 10:45 AM, Parthiban Nallathambi wrote:

> Hello All,
>
> I am currently trying to add a python module for aiohttp into meta-python.
> But this recipes are not detected during bitbake.
>
> Do we have any specific ways to add it or mention about the addition for
> it to compile?
>
> Also I would like to know how the package is referenced and cheksums are
> calculated.
>
> Thanks in advance for the feedback.
>
> python-aiohttp.inc:
> SUMMARY = "Asynchronous HTTP client/server framework for asyncio and Python"
> DESCRIPTION = "Asynchronous HTTP client/server framework for asyncio and Python"
> LICENSE = "Apache-2.0"
> LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c"
>
> SRC_URI[md5sum] = "7a152f5236ee3b3ef97b6f1965a7c62c"
> SRC_URI[sha256sum] = "9385ff2ea20249be9119236b3367356465cb92dc55b463d12239c7cf36024bba"
>
> PYPI_PACKAGE = "aiohttp"
> inherit pypi
> RDEPENDS_${PN} = "\
>      ${PYTHON_PN}-chardet \
>      ${PYTHON_PN}-idna-ssl \
>      ${PYTHON_PN}-multidict \
> "
>
> python3-aiohttp_3.5.4:
> inherit setuptools3
> require python-aiohttp.inc
>
>
> Error:
> bitbake python3-aiohttp
> Loading cache: 100% |##################################################################################################| Time: 0:00:00
> Loaded 3034 entries from dependency cache.
> ERROR: Nothing PROVIDES 'python3-aiohttp'. Close matches:
>    python3-attr
>    python3-isort
>    python3-attrs
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>



More information about the Openembedded-devel mailing list