diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2024-08-27 07:23:35 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-28 09:14:26 +0100 |
| commit | ac87a6889713fea375c10e56f9bc35d755435c23 (patch) | |
| tree | da9f5b207b34dde0ebfbed6147e561e42d8bfac7 /meta/recipes-devtools/python/python3-pyyaml_6.0.2.bb | |
| parent | 48c5cf7500d585f313c25a039ad671277b8f1223 (diff) | |
| download | poky-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.bb | 38 |
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 @@ | |||
| 1 | SUMMARY = "Python support for YAML" | ||
| 2 | DEPENDS += "libyaml python3-cython-native" | ||
| 3 | HOMEPAGE = "https://pyyaml.org/" | ||
| 4 | |||
| 5 | LICENSE = "MIT" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6d8242660a8371add5fe547adf083079" | ||
| 7 | |||
| 8 | inherit pypi python_setuptools_build_meta | ||
| 9 | |||
| 10 | SRC_URI[sha256sum] = "d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e" | ||
| 11 | UPSTREAM_CHECK_PYPI_PACKAGE = "PyYAML" | ||
| 12 | |||
| 13 | PACKAGECONFIG ?= "libyaml" | ||
| 14 | PACKAGECONFIG[libyaml] = "--with-libyaml,--without-libyaml,libyaml" | ||
| 15 | |||
| 16 | RDEPENDS:${PN} += "\ | ||
| 17 | python3-datetime \ | ||
| 18 | python3-netclient \ | ||
| 19 | " | ||
| 20 | |||
| 21 | inherit ptest | ||
| 22 | SRC_URI += "\ | ||
| 23 | https://raw.githubusercontent.com/yaml/pyyaml/a98fd6088e81d7aca571220c966bbfe2ac43c335/tests/test_dump_load.py;name=test \ | ||
| 24 | file://run-ptest \ | ||
| 25 | " | ||
| 26 | SRC_URI[test.sha256sum] = "b6a8a2825d89fdc8aee226560f66b8196e872012a0ea7118cbef1a832359434a" | ||
| 27 | |||
| 28 | RDEPENDS:${PN}-ptest += " \ | ||
| 29 | python3-pytest \ | ||
| 30 | python3-unittest-automake-output \ | ||
| 31 | " | ||
| 32 | |||
| 33 | do_install_ptest() { | ||
| 34 | install -d ${D}${PTEST_PATH}/tests | ||
| 35 | cp -rf ${UNPACKDIR}/test_dump_load.py ${D}${PTEST_PATH}/tests/ | ||
| 36 | } | ||
| 37 | |||
| 38 | BBCLASSEXTEND = "native nativesdk" | ||
