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 <david.escalona@digi.com>
This commit is contained in:
David Escalona 2022-07-21 11:15:30 +02:00
parent 8fd10837e6
commit 76e6436ddf
3 changed files with 17 additions and 25 deletions

View File

@ -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

View File

@ -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"

View File

@ -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"