summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pyyaml_6.0.2.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2024-08-27 07:23:35 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-28 09:14:26 +0100
commitac87a6889713fea375c10e56f9bc35d755435c23 (patch)
treeda9f5b207b34dde0ebfbed6147e561e42d8bfac7 /meta/recipes-devtools/python/python3-pyyaml_6.0.2.bb
parent48c5cf7500d585f313c25a039ad671277b8f1223 (diff)
downloadpoky-ac87a6889713fea375c10e56f9bc35d755435c23.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pyyaml_6.0.2.bb')
-rw-r--r--meta/recipes-devtools/python/python3-pyyaml_6.0.2.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pyyaml_6.0.2.bb b/meta/recipes-devtools/python/python3-pyyaml_6.0.2.bb
new file mode 100644
index 0000000000..a41d073af9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyyaml_6.0.2.bb
@@ -0,0 +1,38 @@
1SUMMARY = "Python support for YAML"
2DEPENDS += "libyaml python3-cython-native"
3HOMEPAGE = "https://pyyaml.org/"
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=6d8242660a8371add5fe547adf083079"
7
8inherit pypi python_setuptools_build_meta
9
10SRC_URI[sha256sum] = "d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"
11UPSTREAM_CHECK_PYPI_PACKAGE = "PyYAML"
12
13PACKAGECONFIG ?= "libyaml"
14PACKAGECONFIG[libyaml] = "--with-libyaml,--without-libyaml,libyaml"
15
16RDEPENDS:${PN} += "\
17 python3-datetime \
18 python3-netclient \
19"
20
21inherit ptest
22SRC_URI += "\
23 https://raw.githubusercontent.com/yaml/pyyaml/a98fd6088e81d7aca571220c966bbfe2ac43c335/tests/test_dump_load.py;name=test \
24 file://run-ptest \
25"
26SRC_URI[test.sha256sum] = "b6a8a2825d89fdc8aee226560f66b8196e872012a0ea7118cbef1a832359434a"
27
28RDEPENDS:${PN}-ptest += " \
29 python3-pytest \
30 python3-unittest-automake-output \
31"
32
33do_install_ptest() {
34 install -d ${D}${PTEST_PATH}/tests
35 cp -rf ${UNPACKDIR}/test_dump_load.py ${D}${PTEST_PATH}/tests/
36}
37
38BBCLASSEXTEND = "native nativesdk"