aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-pyserial.inc
diff options
context:
space:
mode:
authordengke.du@windriver.com <dengke.du@windriver.com>2016-11-07 10:18:05 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-11-23 15:24:42 +0100
commita44b96910369750127df470fd3171f0065e94602 (patch)
treea712d4a5d3528786a91c44b3b6e8681d472e5efc /meta-python/recipes-devtools/python/python-pyserial.inc
parentecdf2c30801a7162952f20d96943a14db78d52c8 (diff)
downloadmeta-openembedded-a44b96910369750127df470fd3171f0065e94602.tar.gz
meta-openembedded-a44b96910369750127df470fd3171f0065e94602.tar.bz2
meta-openembedded-a44b96910369750127df470fd3171f0065e94602.zip
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pyserial.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-pyserial.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-pyserial.inc b/meta-python/recipes-devtools/python/python-pyserial.inc
index a4c77286d..61f37763e 100644
--- a/meta-python/recipes-devtools/python/python-pyserial.inc
+++ b/meta-python/recipes-devtools/python/python-pyserial.inc
@@ -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
+}