blob: 2508e76c0dd67f1e4d49c371e7dabbf998b4e437 [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 Bishop6e60e8b2018-02-01 10:27:11 -050016RSRC_URI[md5sum] = "6afe4c2e47bcec6eb7051b8c1ce19d52"
17SRC_URI[sha256sum] = "2949cddffc2b05683065a3cd2345114b1a49b08df8cb843d69ba99dc3e19edc2"
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}