mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

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>
41 lines
1.0 KiB
BlitzBasic
41 lines
1.0 KiB
BlitzBasic
SUMMARY = "Python wrapper around rapidjson"
|
|
HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=4daf3929156304df67003c33274a98bd"
|
|
|
|
SRC_URI[sha256sum] = "95a111da29d996af8549f8b32ec701dab3af2ab7c6cd9c79540391ecb05f20c8"
|
|
|
|
# Inheriting ptest provides functionality for packaging and installing runtime tests for this recipe
|
|
inherit setuptools3 pypi ptest
|
|
|
|
PYPI_PACKAGE = "python-rapidjson"
|
|
|
|
SETUPTOOLS_BUILD_ARGS += " --rj-include-dir=${RECIPE_SYSROOT}${includedir}"
|
|
|
|
# run-ptest is a shell script that starts the test suite
|
|
SRC_URI += " \
|
|
file://run-ptest \
|
|
"
|
|
|
|
DEPENDS += " \
|
|
rapidjson \
|
|
"
|
|
|
|
# Adding required python package for the ptest (pytest and pytest->automake report translation)
|
|
RDEPENDS:${PN}-ptest += " \
|
|
python3-pytest \
|
|
python3-unittest-automake-output \
|
|
python3-pytz \
|
|
"
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-core \
|
|
"
|
|
|
|
# Installing the test suite on the target
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|