yocto - bitbake error package not found in base feeds -


i want include https://pypi.python.org/pypi/ndeflib in image. created recipe this. following contents of python-ndeflib_0.2.0.bb

description = "nfc data exchange format decoder , encoder." section = "devel/python" license = "closed"  src_uri = "https://pypi.python.org/packages/0c/0f/b9d94cee7847697469c49a25b4d23236de534451990b83008e6bf4fab15b/ndeflib-0.2.0.tar.gz"  do_install_append() {     rm -f ${d}${libdir}/python*/site-packages/site.py* }  do_compile_prepend() {     ${staging_bindir_native}/python setup.py install ${distutils_build_args} || \     true } src_uri[md5sum] = "b7ae0c34f49289c44c292e24843cfeb1" 

i able bitbake python-ndeflib

but whenever try build final os image bitbake fsl-image-machine-test process fails @ following error

error: python-ndeflib not found in base feeds 

thus making mistake?

did try write recipe similar 1 in previousquestion? should have solved issue.

writing similar recipe, gives python3-ndeflib_0.2.0.bb:

description = "nfc data exchange format decoder , encoder." section = "devel/python" license = "isc" lic_files_chksum = "file://license;md5=f7c92777f3af9604e192a0d195b6a6a4"  src_uri[md5sum] = "b7ae0c34f49289c44c292e24843cfeb1" src_uri[sha256sum] = "baa86a48cf310cf77524f6fa04f5bd90775c4c290116b6b543aa3d6d65b721bf"  inherit pypi setuptools3 

which seems work pretty well. note used python 3 instead of 2 (setuptools3).

ie inherit setuptools or setuptools3 instead of writing own do_compile, do_install, etc, unless have to.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -