blob: 870f1d8a8a2f5878258368bdaa61a7e8dcac2c19 [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
Brad Bishop316dfdd2018-06-25 12:45:53 -04005SRC_URI[md5sum] = "ed6183b15519a0ae96675e9c3330c69b"
6SRC_URI[sha256sum] = "6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627"
7
8inherit pypi
9
10PACKAGES =+ "${PN}-java ${PN}-osx ${PN}-win32 ${PN}-tools"
11
12FILES_${PN}-java = " \
13 ${PYTHON_SITEPACKAGES_DIR}/serial/*java* \
14 ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*java* \
15"
16
17FILES_${PN}-osx = " \
18 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/*osx* \
19 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/*osx* \
20"
21
22FILES_${PN}-win32 = " \
23 ${PYTHON_SITEPACKAGES_DIR}/serial/*serialcli* \
24 ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*serialcli* \
25 ${PYTHON_SITEPACKAGES_DIR}/serial/*win32* \
26 ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*win32* \
27 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/miniterm* \
28 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/miniterm* \
29 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/*windows* \
30 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/*windows* \
31"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050032
33RDEPENDS_${PN} = "\
34 ${PYTHON_PN}-fcntl \
35 ${PYTHON_PN}-io \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050036 ${PYTHON_PN}-logging \
37 ${PYTHON_PN}-netclient \
Brad Bishop316dfdd2018-06-25 12:45:53 -040038 ${PYTHON_PN}-numbers \
39 ${PYTHON_PN}-shell \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050040 ${PYTHON_PN}-stringold \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050041 ${PYTHON_PN}-threading \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050042"
Brad Bishopb809eb92019-09-18 06:27:43 -040043
44BBCLASSEXTEND = "native nativesdk"