diff options
author | Derek Straka <derek@asterius.io> | 2020-04-05 12:41:55 -0400 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-04-05 10:38:14 -0700 |
commit | 7b5d9c4f7b763bfcded6234d4122459974530e27 (patch) | |
tree | dae78d1077697e2b50ca6845760f7e449c0ae3ea /meta-python/recipes-devtools/python/python3-pyserial_3.4.bb | |
parent | c31bf82c594f7ea70a89ece589a7d1b85cd2c3b0 (diff) | |
download | meta-openembedded-7b5d9c4f7b763bfcded6234d4122459974530e27.tar.gz |
python-pyserial: consolidate inc and bb files into a single bb file
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyserial_3.4.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pyserial_3.4.bb | 46 |
1 files changed, 44 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyserial_3.4.bb b/meta-python/recipes-devtools/python/python3-pyserial_3.4.bb index 17ed3f8bc4..eee8eb2d16 100644 --- a/meta-python/recipes-devtools/python/python3-pyserial_3.4.bb +++ b/meta-python/recipes-devtools/python/python3-pyserial_3.4.bb @@ -1,7 +1,49 @@ -inherit setuptools3 -require python-pyserial.inc +SUMMARY = "Serial Port Support for Python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d476d94926db6e0008a5b3860d1f5c0d" + +SRC_URI[md5sum] = "ed6183b15519a0ae96675e9c3330c69b" +SRC_URI[sha256sum] = "6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627" + +inherit pypi setuptools3 do_install_append() { rm -f ${D}${bindir}/miniterm.py rmdir ${D}${bindir} } + +PACKAGES =+ "${PN}-java ${PN}-osx ${PN}-win32 ${PN}-tools" + +FILES_${PN}-java = " \ + ${PYTHON_SITEPACKAGES_DIR}/serial/*java* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*java* \ +" + +FILES_${PN}-osx = " \ + ${PYTHON_SITEPACKAGES_DIR}/serial/tools/*osx* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/*osx* \ +" + +FILES_${PN}-win32 = " \ + ${PYTHON_SITEPACKAGES_DIR}/serial/*serialcli* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*serialcli* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/*win32* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*win32* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/tools/miniterm* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/miniterm* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/tools/*windows* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/*windows* \ +" + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-fcntl \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-stringold \ + ${PYTHON_PN}-threading \ +" + +BBCLASSEXTEND = "native nativesdk" |