Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Serial Port Support for Python" |
| 2 | LICENSE = "BSD" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d476d94926db6e0008a5b3860d1f5c0d" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 4 | |
| 5 | # FIXME might stop packaging serialwin32 and serialjava files |
| 6 | |
| 7 | RDEPENDS_${PN} = "\ |
| 8 | ${PYTHON_PN}-fcntl \ |
| 9 | ${PYTHON_PN}-io \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 10 | ${PYTHON_PN}-logging \ |
| 11 | ${PYTHON_PN}-netclient \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 12 | ${PYTHON_PN}-stringold \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 13 | ${PYTHON_PN}-threading \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 14 | " |
| 15 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 16 | RSRC_URI[md5sum] = "6afe4c2e47bcec6eb7051b8c1ce19d52" |
| 17 | SRC_URI[sha256sum] = "2949cddffc2b05683065a3cd2345114b1a49b08df8cb843d69ba99dc3e19edc2" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 18 | |
| 19 | inherit pypi |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 20 | |
| 21 | do_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 | } |