mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-26 10:17:01 +00:00
Drop the setuptools patch, it is part of this release. Changes: - Security: fixed TLS hostname verification in the bundled paho client (SSLContext check_hostname/server_hostname) and in Greengrass discovery, which previously could skip hostname checks on Python 3.7+. No CVE ID given upstream. - Updated bundled Paho client; now handles SUBACK packets. - Python 3.12+ support (ssl.wrap_socket removed); setup.py uses setuptools instead of distutils. Minimum Python version raised; Python 2.7 and 3.3-3.5 classifiers dropped. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
42 lines
1.2 KiB
BlitzBasic
42 lines
1.2 KiB
BlitzBasic
DESCRIPTION = "SDK for connecting to AWS IoT using Python."
|
|
HOMEPAGE = "https://github.com/aws/aws-iot-device-sdk-python"
|
|
LICENSE = "Apache-2.0 AND (EPL-1.0 OR LicenseRef-EDL-1.0)"
|
|
LICENSE:${PN}-examples = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "\
|
|
file://LICENSE.txt;md5=9ac49901b833e769c7d6f21e8dbd7b30 \
|
|
file://AWSIoTPythonSDK/core/protocol/paho/client.py;endline=14;md5=5a3c8a1a4bb71bd934f450ecff972ad9 \
|
|
"
|
|
SRCREV = "ffa4076ba754932c247c05352b810835c6bdc8ff"
|
|
SRC_URI = "git://github.com/aws/aws-iot-device-sdk-python;branch=master;protocol=https"
|
|
|
|
|
|
inherit setuptools3
|
|
|
|
PYPI_PACKAGE = "AWSIoTPythonSDK"
|
|
|
|
do_install:append() {
|
|
install -d -m0755 ${D}${datadir}/${BPN}/examples
|
|
cp --preserve=mode,timestamps -R ${S}/samples/* ${D}${datadir}/${BPN}/examples
|
|
# this requires the full blown AWS Python SDK
|
|
rm -r ${D}${datadir}/${BPN}/examples/basicPubSub
|
|
}
|
|
|
|
PACKAGES =+ "${PN}-examples"
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-crypt \
|
|
python3-datetime \
|
|
python3-io \
|
|
python3-json \
|
|
python3-logging \
|
|
python3-math \
|
|
python3-netclient \
|
|
python3-numbers \
|
|
python3-threading \
|
|
"
|
|
RDEPENDS:${PN}-examples += "${PN}"
|
|
|
|
FILES:${PN}-examples = "${datadir}/${BPN}/examples"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|