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

Parthiban Nallathambi pn at denx.de
Tue Apr 30 22:45:03 UTC 2019


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.

-- 
Thanks,
Parthiban N

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-22 Fax: (+49)-8142-66989-80 Email: pn at denx.de


More information about the Openembedded-devel mailing list