python-pyserial: remove serialjava.py

The serialjava.py depends on jpython, we don't support jpython now.So remove it.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
dengke.du@windriver.com
2016-11-07 10:18:05 +08:00
committed by Martin Jansa
parent ecdf2c3080
commit a44b969103

View File

@@ -14,3 +14,11 @@ SRC_URI[md5sum] = "2f72100de3e410b36d575e12e82e9d27"
SRC_URI[sha256sum] = "d657051249ce3cbd0446bcfb2be07a435e1029da4d63f53ed9b4cdde7373364c"
inherit pypi
do_install_append() {
# We don't support jpython now.
if [ -e ${D}${PYTHON_SITEPACKAGES_DIR}/serial/serialjava.py ]; then
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/serial/serialjava.py
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/serial/serialjava.pyc
fi
}