summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-rapidjson_1.18.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-07-01 14:43:58 +0800
committerKhem Raj <raj.khem@gmail.com>2024-07-01 08:02:01 -0700
commitbf159a36ac4feb56c05a7900096e7e001ecd0d33 (patch)
tree3ea1d2f78d9a1f47aa0fcea457f0227fc1907bc2 /meta-python/recipes-devtools/python/python3-rapidjson_1.18.bb
parent8559cef402566094b9e84b6d2ce97d938ef1c8fb (diff)
downloadmeta-openembedded-bf159a36ac4feb56c05a7900096e7e001ecd0d33.tar.gz
python3-rapidjson: upgrade 1.17 -> 1.18
Changelog: Expose PEP-484 typing stubs, thanks to Rodion Kosianenko and GoodWasHere License-Update: Copyright year updated to 1.18 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.18.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-rapidjson_1.18.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-rapidjson_1.18.bb b/meta-python/recipes-devtools/python/python3-rapidjson_1.18.bb
new file mode 100644
index 0000000000..9ca1e826dc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-rapidjson_1.18.bb
@@ -0,0 +1,40 @@
1SUMMARY = "Python wrapper around rapidjson"
2HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=6fe0b2465366662d7cfa6793ccbab563"
6
7SRC_URI[sha256sum] = "09a5c362e2fec2a41b53e79e88bd8f0704447cb67c1c89a59e3092ccb4a30355"
8
9# Inheriting ptest provides functionality for packaging and installing runtime tests for this recipe
10inherit setuptools3 pypi ptest
11
12PYPI_PACKAGE = "python-rapidjson"
13
14SETUPTOOLS_BUILD_ARGS += " --rj-include-dir=${RECIPE_SYSROOT}${includedir}"
15
16# run-ptest is a shell script that starts the test suite
17SRC_URI += " \
18 file://run-ptest \
19"
20
21DEPENDS += " \
22 rapidjson \
23"
24
25# Adding required python package for the ptest (pytest and pytest->automake report translation)
26RDEPENDS:${PN}-ptest += " \
27 python3-pytest \
28 python3-unittest-automake-output \
29 python3-pytz \
30"
31
32RDEPENDS:${PN} += " \
33 python3-core \
34"
35
36# Installing the test suite on the target
37do_install_ptest() {
38 install -d ${D}${PTEST_PATH}/tests
39 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
40}