meta-digi-dey: python3-xbee: update recipe to compile Github code
Instead of depending on library releases in Pypi, update the recipe to compile latest Github code. This allows to use minor fixes in DEY before a new release of the library is available. While on it, set the 'SRCREV' to point to the last commit of the repository for traceability. Signed-off-by: David Escalona <david.escalona@digi.com>
This commit is contained in:
parent
bd8fbbbc2c
commit
88c2357dbb
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2022 Digi International Inc.
|
||||
# Copyright (C) 2022, 2023 Digi International Inc.
|
||||
|
||||
SUMMARY = "Python library to interact with Digi International's XBee radio frequency modules."
|
||||
DESCRIPTION = "The XBee Python Library provides the ability to communicate with remote nodes in the network, IoT devices and other interfaces of the local device."
|
||||
|
|
@ -7,11 +7,15 @@ SECTION = "devel/python"
|
|||
LICENSE = "MPL-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f74526e982749d58a537b3fcdb5d3318"
|
||||
|
||||
SRC_URI[md5sum] = "0608ecc8051b31d821b58dcec5396705"
|
||||
SRC_URI[sha256sum] = "3b10e749431f406d80c189d872f4673b8d3cd510f7b411f817780a0e72499cd2"
|
||||
SRCBRANCH ?= "master"
|
||||
SRCREV = "1024d8954e1b445fe6aacd7f0880de65978c351b"
|
||||
|
||||
PYPI_PACKAGE = "digi-xbee"
|
||||
SRC_URI = " \
|
||||
git://github.com/digidotcom/xbee-python.git;protocol=https;branch=${SRCBRANCH} \
|
||||
"
|
||||
|
||||
inherit pypi setuptools3
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit setuptools3
|
||||
|
||||
RDEPENDS:${PN} = "python3-asyncio python3-pyserial"
|
||||
Loading…
Reference in New Issue