diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-08-06 16:46:20 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-08-09 14:25:18 -0700 |
| commit | a4402843c854eb0f1d7d7d5d67ee94446012e4fd (patch) | |
| tree | c4cf8196daa17d001cab52a7b65f17f9d3753aaf /meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb | |
| parent | 0a343497ec1128fcbe58f7fe340562a20d5988ee (diff) | |
| download | meta-openembedded-a4402843c854eb0f1d7d7d5d67ee94446012e4fd.tar.gz | |
python3-rapidjson: upgrade 1.18 -> 1.19
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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 | 40 |
1 files changed, 40 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..bfc05a7354 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb | |||
| @@ -0,0 +1,40 @@ | |||
| 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 | ||
| 11 | |||
| 12 | PYPI_PACKAGE = "python-rapidjson" | ||
| 13 | |||
| 14 | SETUPTOOLS_BUILD_ARGS += " --rj-include-dir=${RECIPE_SYSROOT}${includedir}" | ||
| 15 | |||
| 16 | # run-ptest is a shell script that starts the test suite | ||
| 17 | SRC_URI += " \ | ||
| 18 | file://run-ptest \ | ||
| 19 | " | ||
| 20 | |||
| 21 | DEPENDS += " \ | ||
| 22 | rapidjson \ | ||
| 23 | " | ||
| 24 | |||
| 25 | # Adding required python package for the ptest (pytest and pytest->automake report translation) | ||
| 26 | RDEPENDS:${PN}-ptest += " \ | ||
| 27 | python3-pytest \ | ||
| 28 | python3-unittest-automake-output \ | ||
| 29 | python3-pytz \ | ||
| 30 | " | ||
| 31 | |||
| 32 | RDEPENDS:${PN} += " \ | ||
| 33 | python3-core \ | ||
| 34 | " | ||
| 35 | |||
| 36 | # Installing the test suite on the target | ||
| 37 | do_install_ptest() { | ||
| 38 | install -d ${D}${PTEST_PATH}/tests | ||
| 39 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 40 | } | ||
