diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb b/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb new file mode 100644 index 0000000000..5c47e06918 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "Python wrapper around rapidjson" | ||
2 | HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson" | ||
3 | |||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6fe0b2465366662d7cfa6793ccbab563" | ||
6 | |||
7 | SRC_URI[sha256sum] = "81e7260f6297cad564389b700783c0a33de71310b9eb01fd013faec5e7ed4eff" | ||
8 | |||
9 | # Inheriting ptest provides functionality for packaging and installing runtime tests for this recipe | ||
10 | inherit setuptools3 pypi ptest-python-pytest | ||
11 | |||
12 | PYPI_PACKAGE = "python-rapidjson" | ||
13 | |||
14 | SETUPTOOLS_BUILD_ARGS += " --rj-include-dir=${RECIPE_SYSROOT}${includedir}" | ||
15 | |||
16 | DEPENDS += " \ | ||
17 | rapidjson \ | ||
18 | " | ||
19 | |||
20 | # Adding required python package for the ptest (pytest and pytest->automake report translation) | ||
21 | RDEPENDS:${PN}-ptest += " \ | ||
22 | python3-pytz \ | ||
23 | " | ||
24 | |||
25 | RDEPENDS:${PN} += " \ | ||
26 | python3-core \ | ||
27 | " | ||
28 | |||