blob: 99c6fc42c4d5033351a1c627e7f5f6fae0ee9692 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Serial Port Support for Python"
2LICENSE = "BSD"
Patrick Williamsddad1a12017-02-23 20:36:32 -06003LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d476d94926db6e0008a5b3860d1f5c0d"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05004
5# FIXME might stop packaging serialwin32 and serialjava files
6
7RDEPENDS_${PN} = "\
8 ${PYTHON_PN}-fcntl \
9 ${PYTHON_PN}-io \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010 ${PYTHON_PN}-logging \
11 ${PYTHON_PN}-netclient \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050012 ${PYTHON_PN}-stringold \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050013 ${PYTHON_PN}-threading \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050014"
15
Brad Bishopd7bf8c12018-02-25 22:55:05 -050016SRC_URI[md5sum] = "ed6183b15519a0ae96675e9c3330c69b"
17SRC_URI[sha256sum] = "6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050018
19inherit pypi
Brad Bishop6e60e8b2018-02-01 10:27:11 -050020
21do_install_append() {
22 # We don't support jpython now.
23 if [ -e ${D}${PYTHON_SITEPACKAGES_DIR}/serial/serialjava.py ]; then
24 rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/serial/serialjava.py
25 rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/serial/serialjava.pyc
26 fi
27}