diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2023-01-11 13:28:16 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-01-11 08:37:59 -0800 |
commit | a97f8aa62ea622c3c272c547c48435596ac3ff35 (patch) | |
tree | 0b0b890751e9993a945d4f841a432d4db6214769 /meta-python/recipes-devtools/python/python3-ujson_5.7.0.bb | |
parent | 720247f18253c4348595ee0a13a89e67965beb87 (diff) | |
download | meta-openembedded-a97f8aa62ea622c3c272c547c48435596ac3ff35.tar.gz |
python3-ujson: upgrade 5.6.0 -> 5.7.0
Changelog:
Support ujson.loads(bytearray(...)) and other bytes-like objects.
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-ujson_5.7.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-ujson_5.7.0.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-ujson_5.7.0.bb b/meta-python/recipes-devtools/python/python3-ujson_5.7.0.bb new file mode 100644 index 0000000000..5c431fa003 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-ujson_5.7.0.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "Ultra fast JSON encoder and decoder for Python" | ||
2 | DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3." | ||
3 | |||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5418f0b03302d0a" | ||
6 | |||
7 | SRC_URI[sha256sum] = "e788e5d5dcae8f6118ac9b45d0b891a0d55f7ac480eddcb7f07263f2bcf37b23" | ||
8 | |||
9 | inherit pypi ptest setuptools3 | ||
10 | |||
11 | SRC_URI += " \ | ||
12 | file://run-ptest \ | ||
13 | file://0001-setup.py-Do-not-strip-debugging-symbols.patch \ | ||
14 | " | ||
15 | |||
16 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native" | ||
17 | |||
18 | RDEPENDS:${PN} += "\ | ||
19 | ${PYTHON_PN}-datetime \ | ||
20 | ${PYTHON_PN}-numbers \ | ||
21 | " | ||
22 | |||
23 | RDEPENDS:${PN}-ptest += " \ | ||
24 | ${PYTHON_PN}-json \ | ||
25 | ${PYTHON_PN}-pytest \ | ||
26 | ${PYTHON_PN}-pytz \ | ||
27 | " | ||
28 | |||
29 | do_install_ptest() { | ||
30 | install -d ${D}${PTEST_PATH}/tests | ||
31 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
32 | } | ||
33 | |||
34 | BBCLASSEXTEND = "native nativesdk" | ||