From b39c548100d8ffeec23a0dd45affcab6a2677874 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Thu, 21 Dec 2023 15:44:31 +0000 Subject: python3-rapidjson: update to version 1.14 Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../python/python3-rapidjson_1.13.bb | 41 ---------------------- .../python/python3-rapidjson_1.14.bb | 40 +++++++++++++++++++++ 2 files changed, 40 insertions(+), 41 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-rapidjson_1.13.bb create mode 100644 meta-python/recipes-devtools/python/python3-rapidjson_1.14.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-rapidjson_1.13.bb b/meta-python/recipes-devtools/python/python3-rapidjson_1.13.bb deleted file mode 100644 index 1623f721fc..0000000000 --- a/meta-python/recipes-devtools/python/python3-rapidjson_1.13.bb +++ /dev/null @@ -1,41 +0,0 @@ -SUMMARY = "Python wrapper around rapidjson" -HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=4daf3929156304df67003c33274a98bd" - -SRC_URI = "git://github.com/python-rapidjson/python-rapidjson.git;protocol=https;branch=master" -SRCREV = "a87053d9b97750afddb504da05bd1cd9f4b94654" - -S = "${WORKDIR}/git" - -# Inheriting ptest provides functionality for packaging and installing runtime tests for this recipe -inherit setuptools3 ptest - -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 += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-unittest-automake-output \ - ${PYTHON_PN}-pytz \ -" - -RDEPENDS:${PN} += " \ - ${PYTHON_PN}-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/ -} diff --git a/meta-python/recipes-devtools/python/python3-rapidjson_1.14.bb b/meta-python/recipes-devtools/python/python3-rapidjson_1.14.bb new file mode 100644 index 0000000000..8b76397bfe --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rapidjson_1.14.bb @@ -0,0 +1,40 @@ +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] = "26806f0a658c34b48d2951d8d3f846ca9deb93a34e664ef436db632a188b6779" + +# 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 += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-unittest-automake-output \ + ${PYTHON_PN}-pytz \ +" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-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/ +} -- cgit v1.2.3-54-g00ecf