diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb b/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb new file mode 100644 index 0000000000..e8e275647c --- /dev/null +++ b/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "Makes working with XML feel like you are working with JSON" | ||
2 | HOMEPAGE = "https://github.com/martinblech/xmltodict" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=01441d50dc74476db58a41ac10cb9fa2" | ||
5 | |||
6 | SRC_URI[sha256sum] = "341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56" | ||
7 | |||
8 | PYPI_PACKAGE = "xmltodict" | ||
9 | |||
10 | BBCLASSEXTEND = "native nativesdk" | ||
11 | |||
12 | inherit pypi setuptools3 ptest | ||
13 | |||
14 | SRC_URI += " \ | ||
15 | file://run-ptest \ | ||
16 | " | ||
17 | |||
18 | RDEPENDS:${PN} += " \ | ||
19 | python3-core \ | ||
20 | python3-xml \ | ||
21 | python3-io \ | ||
22 | " | ||
23 | |||
24 | RDEPENDS:${PN}-ptest += " \ | ||
25 | python3-pytest \ | ||
26 | " | ||
27 | |||
28 | do_install_ptest() { | ||
29 | install -d ${D}${PTEST_PATH}/tests | ||
30 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
31 | } | ||