diff --git a/meta-digi-dey/recipes-devtools/python3-connectcore-ble/python3-connectcore-ble_git.bb b/meta-digi-dey/recipes-devtools/python3-connectcore-ble/python3-connectcore-ble_git.bb new file mode 100644 index 000000000..a89c868cf --- /dev/null +++ b/meta-digi-dey/recipes-devtools/python3-connectcore-ble/python3-connectcore-ble_git.bb @@ -0,0 +1,31 @@ +# Copyright (C) 2022, Digi International Inc. + +SUMMARY = "Bluetooth Low Energy Python library for ConnetCore devices" +DESCRIPTION = "The ConnectCore BLE Python library allows your Digi International's ConnectCore modules to interact with mobile applications." +HOMEPAGE = "https://github.com/digi-embedded/connectcore-ble-python" +SECTION = "devel/python" +LICENSE = "MPL-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad" + +SRCBRANCH ?= "master" +SRCREV = "${AUTOREV}" + +CONNECTCORE_BLE_URI_STASH = "${DIGI_MTK_GIT}/python/connectcore-ble-python.git;protocol=ssh" +CONNECTCORE_BLE_URI_GITHUB = "${DIGI_GITHUB_GIT}/connectcore-ble-python.git;protocol=https" +CONNECTCORE_BLE_URI ?= "${@oe.utils.conditional('DIGI_INTERNAL_GIT', '1' , '${CONNECTCORE_BLE_URI_STASH}', '${CONNECTCORE_BLE_URI_GITHUB}', d)}" + +SRC_URI = " \ + ${CONNECTCORE_BLE_URI};branch=${SRCBRANCH} \ +" + +S = "${WORKDIR}/git" + +inherit setuptools3 + +RDEPENDS:${PN} += " \ + python3-core \ + python3-bluezero \ + python3-pycryptodome \ + python3-srp \ + python3-xbee \ +"