diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-05-28 09:48:06 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-05-28 09:34:34 -0700 |
| commit | 32c750f384eb01cfa2cd1ae4a339f9fd7ca9e0b2 (patch) | |
| tree | 16abfba7b0f7d475ea54c45dd0d725f6735e7753 /meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb | |
| parent | ede5de0bf69389fe49569fcc106e374c384382cb (diff) | |
| download | meta-openembedded-32c750f384eb01cfa2cd1ae4a339f9fd7ca9e0b2.tar.gz | |
python3-rapidjson: upgrade 1.14 -> 1.17
Changelog:
==========
- Use current master__ version of rapidjson
- Generate wheels on PyPI using Python 3.13b1 release, thanks to cibuildwheel 2.18.0__
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.17.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb b/meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb new file mode 100644 index 0000000000..d7a56b0519 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rapidjson_1.17.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=4daf3929156304df67003c33274a98bd" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "95a111da29d996af8549f8b32ec701dab3af2ab7c6cd9c79540391ecb05f20c8" | ||
| 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 | } | ||
