mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

If you bitbake recipes which depends on python-vcversioner such as python-jsonschema. And also your network is not very well. Error will occur as following: Download error on https://pypi.python.org/simple/vcversioner/: [Errno -5] No address associated with hostname -- Some packages may not be found! Couldn't find index page for 'vcversioner' (maybe misspelled?) No local packages or download links found for vcversioner 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>
24 lines
700 B
BlitzBasic
24 lines
700 B
BlitzBasic
DESCRIPTION = "Twisted Web Sockets"
|
|
HOMEPAGE = "https://github.com/MostAwesomeDude/txWS"
|
|
|
|
LICENSE = "ISC"
|
|
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=260625d695c5e0c9dd2c2ef898833c7d"
|
|
|
|
SRC_URI = "https://pypi.python.org/packages/source/v/vcversioner/vcversioner-${PV}.tar.gz"
|
|
SRC_URI[md5sum] = "7848a365ced9941053bc25d9a9f8f4b4"
|
|
SRC_URI[sha256sum] = "acd43686e92e6c8bbeb4f2eef54408567a7adea9692fa72d591eec5357c03b86"
|
|
|
|
S = "${WORKDIR}/vcversioner-${PV}"
|
|
|
|
inherit setuptools
|
|
|
|
|
|
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}/vcversioner*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/
|
|
}
|