From bf159a36ac4feb56c05a7900096e7e001ecd0d33 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 1 Jul 2024 14:43:58 +0800 Subject: 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 Signed-off-by: Khem Raj --- .../python/python3-rapidjson_1.17.bb | 40 ---------------------- .../python/python3-rapidjson_1.18.bb | 40 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb create mode 100644 meta-python/recipes-devtools/python/python3-rapidjson_1.18.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb b/meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb deleted file mode 100644 index d7a56b0519..0000000000 --- a/meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb +++ /dev/null @@ -1,40 +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[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/ -} 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 @@ +SUMMARY = "Python wrapper around rapidjson" +HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6fe0b2465366662d7cfa6793ccbab563" + +SRC_URI[sha256sum] = "09a5c362e2fec2a41b53e79e88bd8f0704447cb67c1c89a59e3092ccb4a30355" + +# 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/ +} -- cgit v1.2.3-54-g00ecf