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 | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame^] | 16 | SRC_URI[md5sum] = "ed6183b15519a0ae96675e9c3330c69b" |
| 17 | SRC_URI[sha256sum] = "6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627" |
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 | } |