summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-rapidjson_1.12.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-10-23 17:00:07 +0800
committerKhem Raj <raj.khem@gmail.com>2023-10-23 08:05:02 -0700
commit61cb0b6bbea9e1b14f8fae2d8b9dd1b42e5e016a (patch)
tree6423c7a67121f8f63f6d7d54e8bb0b886d9cf607 /meta-python/recipes-devtools/python/python3-rapidjson_1.12.bb
parent9f5ada926a7ce8c64ce674779181142beebd4b68 (diff)
downloadmeta-openembedded-61cb0b6bbea9e1b14f8fae2d8b9dd1b42e5e016a.tar.gz
python3-rapidjson: upgrade 1.11 -> 1.12
Changelog: Generate wheels on PyPI using final Python 3.12 release, thanks to cibuildwheel 2.16.2 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.12.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-rapidjson_1.12.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-rapidjson_1.12.bb b/meta-python/recipes-devtools/python/python3-rapidjson_1.12.bb
new file mode 100644
index 0000000000..f0f6c0dbac
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-rapidjson_1.12.bb
@@ -0,0 +1,41 @@
1SUMMARY = "Python wrapper around rapidjson"
2HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=4daf3929156304df67003c33274a98bd"
6
7SRC_URI = "git://github.com/python-rapidjson/python-rapidjson.git;protocol=https;branch=master"
8SRCREV = "5063cc63008b41e129344b012fc59b114cacd5c9"
9
10S = "${WORKDIR}/git"
11
12# Inheriting ptest provides functionality for packaging and installing runtime tests for this recipe
13inherit setuptools3 ptest
14
15SETUPTOOLS_BUILD_ARGS += " --rj-include-dir=${RECIPE_SYSROOT}${includedir}"
16
17# run-ptest is a shell script that starts the test suite
18SRC_URI += " \
19 file://run-ptest \
20"
21
22DEPENDS += " \
23 rapidjson \
24"
25
26# Adding required python package for the ptest (pytest and pytest->automake report translation)
27RDEPENDS:${PN}-ptest += " \
28 ${PYTHON_PN}-pytest \
29 ${PYTHON_PN}-unittest-automake-output \
30 ${PYTHON_PN}-pytz \
31"
32
33RDEPENDS:${PN} += " \
34 ${PYTHON_PN}-core \
35"
36
37# Installing the test suite on the target
38do_install_ptest() {
39 install -d ${D}${PTEST_PATH}/tests
40 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
41}