diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pyserial.inc')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-pyserial.inc | 8 |
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 a4c77286db..61f37763e4 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" | |||
| 14 | SRC_URI[sha256sum] = "d657051249ce3cbd0446bcfb2be07a435e1029da4d63f53ed9b4cdde7373364c" | 14 | SRC_URI[sha256sum] = "d657051249ce3cbd0446bcfb2be07a435e1029da4d63f53ed9b4cdde7373364c" |
| 15 | 15 | ||
| 16 | inherit pypi | 16 | inherit pypi |
| 17 | |||
| 18 | do_install_append() { | ||
| 19 | # We don't support jpython now. | ||
| 20 | if [ -e ${D}${PYTHON_SITEPACKAGES_DIR}/serial/serialjava.py ]; then | ||
| 21 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/serial/serialjava.py | ||
| 22 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/serial/serialjava.pyc | ||
| 23 | fi | ||
| 24 | } | ||
