mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
If you bitbake recipes which depends on python-six such as python-cryptography. And also your network is not very well. Error will occur as following: Download error on https://pypi.python.org/simple/six/: [Errno -5] No address associated with hostname -- Some packages may not be found! Couldn't find index page for 'six' (maybe misspelled?) No local packages or download links found for six So add do_compile_append() to fix it. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
17 lines
512 B
BlitzBasic
17 lines
512 B
BlitzBasic
SUMMARY = "Python 2 and 3 compatibility library"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=6f00d4a50713fa859858dd9abaa35b21"
|
|
|
|
SRC_URI[md5sum] = "476881ef4012262dfc8adc645ee786c4"
|
|
SRC_URI[sha256sum] = "e24052411fc4fbd1f672635537c3fc2330d9481b18c0317695b46259512c91d5"
|
|
|
|
inherit pypi
|
|
|
|
do_compile_append() {
|
|
export BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS}
|
|
${PYTHON} setup.py -q bdist_egg --dist-dir ./
|
|
}
|
|
do_install_append() {
|
|
install -m 0644 ${S}/*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/
|
|
}
|