From 76e6436ddf72b2dd6ff75038902dda1a778f8daa Mon Sep 17 00:00:00 2001 From: David Escalona Date: Thu, 21 Jul 2022 11:15:30 +0200 Subject: [PATCH] meta-digi-dey: python3-xbee: update XBee Python library recipe to version 1.4.1 While on it, merge the 'inc' file into the recipe as it was only used there. Signed-off-by: David Escalona --- .../python3-xbee/python3-xbee.inc | 12 ------------ .../python3-xbee/python3-xbee_1.1.1.1.bb | 13 ------------- .../python3-xbee/python3-xbee_1.4.1.bb | 17 +++++++++++++++++ 3 files changed, 17 insertions(+), 25 deletions(-) delete mode 100644 meta-digi-dey/recipes-devtools/python3-xbee/python3-xbee.inc delete mode 100644 meta-digi-dey/recipes-devtools/python3-xbee/python3-xbee_1.1.1.1.bb create mode 100644 meta-digi-dey/recipes-devtools/python3-xbee/python3-xbee_1.4.1.bb diff --git a/meta-digi-dey/recipes-devtools/python3-xbee/python3-xbee.inc b/meta-digi-dey/recipes-devtools/python3-xbee/python3-xbee.inc deleted file mode 100644 index 5a199753b..000000000 --- a/meta-digi-dey/recipes-devtools/python3-xbee/python3-xbee.inc +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright (C) 2019 Digi International Inc. - -SUMMARY = "Python library to interact with Digi International's XBee radio frequency modules." -HOMEPAGE = "https://github.com/digidotcom/python-xbee" - -LICENSE = "MPL-2.0" - -PYPI_PACKAGE = "digi-xbee" - -RDEPENDS:${PN} = "python3-pyserial" - -inherit pypi setuptools3 diff --git a/meta-digi-dey/recipes-devtools/python3-xbee/python3-xbee_1.1.1.1.bb b/meta-digi-dey/recipes-devtools/python3-xbee/python3-xbee_1.1.1.1.bb deleted file mode 100644 index 24085cb9e..000000000 --- a/meta-digi-dey/recipes-devtools/python3-xbee/python3-xbee_1.1.1.1.bb +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright (C) 2019 Digi International Inc. - -require python3-xbee.inc - -# This change of directory is needed because the package used in pypi was uploaded -# with a wrong number version. Following versions will not need this patch. -# The tarball name has the 1.1.1.1 version, but once you untar the folder is -# named as 1.1.1 instead of 1.1.1.1. so it fails when using pypi. -S = "${WORKDIR}/${PYPI_PACKAGE}-1.1.1" - -LIC_FILES_CHKSUM="file://PKG-INFO;md5=0c518add38e71d88298939007bb83940" - -SRC_URI[md5sum] = "a30377d8a55071c2d54d7ae1ca24a50b" diff --git a/meta-digi-dey/recipes-devtools/python3-xbee/python3-xbee_1.4.1.bb b/meta-digi-dey/recipes-devtools/python3-xbee/python3-xbee_1.4.1.bb new file mode 100644 index 000000000..3299ac92d --- /dev/null +++ b/meta-digi-dey/recipes-devtools/python3-xbee/python3-xbee_1.4.1.bb @@ -0,0 +1,17 @@ +# Copyright (C) 2022 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." +HOMEPAGE = "https://github.com/digidotcom/python-xbee" +SECTION = "devel/python" +LICENSE = "MPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f74526e982749d58a537b3fcdb5d3318" + +SRC_URI[md5sum] = "0608ecc8051b31d821b58dcec5396705" +SRC_URI[sha256sum] = "3b10e749431f406d80c189d872f4673b8d3cd510f7b411f817780a0e72499cd2" + +PYPI_PACKAGE = "digi-xbee" + +inherit pypi setuptools3 + +RDEPENDS:${PN} = "python3-pyserial"