From 66cb9007b0bb20e45279b8f992cdcca96e227b0a Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 28 May 2024 09:48:12 +0800 Subject: python3-ujson: upgrade 5.9.0 -> 5.10.0 Changelog: Add support for Python 3.13 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-ujson_5.10.0.bb | 35 ++++++++++++++++++++++ .../recipes-devtools/python/python3-ujson_5.9.0.bb | 35 ---------------------- 2 files changed, 35 insertions(+), 35 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb delete mode 100644 meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb b/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb new file mode 100644 index 0000000000..c64c800626 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb @@ -0,0 +1,35 @@ +SUMMARY = "Ultra fast JSON encoder and decoder for Python" +DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3." + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5418f0b03302d0a" + +SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1" + +inherit pypi ptest setuptools3 + +SRC_URI += " \ + file://run-ptest \ + file://0001-setup.py-Do-not-strip-debugging-symbols.patch \ +" + +DEPENDS += "python3-setuptools-scm-native" + +RDEPENDS:${PN} += "\ + python3-datetime \ + python3-numbers \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-json \ + python3-pytest \ + python3-pytz \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb b/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb deleted file mode 100644 index b5f6be9f27..0000000000 --- a/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb +++ /dev/null @@ -1,35 +0,0 @@ -SUMMARY = "Ultra fast JSON encoder and decoder for Python" -DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3." - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5418f0b03302d0a" - -SRC_URI[sha256sum] = "89cc92e73d5501b8a7f48575eeb14ad27156ad092c2e9fc7e3cf949f07e75532" - -inherit pypi ptest setuptools3 - -SRC_URI += " \ - file://run-ptest \ - file://0001-setup.py-Do-not-strip-debugging-symbols.patch \ -" - -DEPENDS += "python3-setuptools-scm-native" - -RDEPENDS:${PN} += "\ - python3-datetime \ - python3-numbers \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-json \ - python3-pytest \ - python3-pytz \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf