python3-pyyaml: update 6.0.1 -> 6.0.2

With this release, cython 3.x is finally officially supported.

(From OE-Core rev: 4ea0c1eb42624ea142dd3d319d2bf750eb1af764)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2024-08-27 07:23:35 +02:00
committed by Richard Purdie
parent 48c5cf7500
commit ac87a68897
2 changed files with 2 additions and 58 deletions

View File

@@ -0,0 +1,38 @@
SUMMARY = "Python support for YAML"
DEPENDS += "libyaml python3-cython-native"
HOMEPAGE = "https://pyyaml.org/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=6d8242660a8371add5fe547adf083079"
inherit pypi python_setuptools_build_meta
SRC_URI[sha256sum] = "d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"
UPSTREAM_CHECK_PYPI_PACKAGE = "PyYAML"
PACKAGECONFIG ?= "libyaml"
PACKAGECONFIG[libyaml] = "--with-libyaml,--without-libyaml,libyaml"
RDEPENDS:${PN} += "\
python3-datetime \
python3-netclient \
"
inherit ptest
SRC_URI += "\
https://raw.githubusercontent.com/yaml/pyyaml/a98fd6088e81d7aca571220c966bbfe2ac43c335/tests/test_dump_load.py;name=test \
file://run-ptest \
"
SRC_URI[test.sha256sum] = "b6a8a2825d89fdc8aee226560f66b8196e872012a0ea7118cbef1a832359434a"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${UNPACKDIR}/test_dump_load.py ${D}${PTEST_PATH}/tests/
}
BBCLASSEXTEND = "native nativesdk"