summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb16
1 files changed, 3 insertions, 13 deletions
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
index 18ce5cc301..9832a4fe40 100644
--- a/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb
@@ -2,21 +2,17 @@ SUMMARY = "Ultra fast JSON encoder and decoder for Python"
2DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3." 2DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3."
3 3
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5418f0b03302d0a" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1e3768cfe2662fa77c49c9c2d3804d87"
6 6
7SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1" 7SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1"
8 8
9inherit pypi ptest setuptools3 9inherit pypi ptest-python-pytest python_setuptools_build_meta
10 10
11# let OE do the strip operation 11# let OE do the strip operation
12export UJSON_BUILD_NO_STRIP = "1" 12export UJSON_BUILD_NO_STRIP = "1"
13 13
14DEPENDS += "python3-setuptools-scm-native" 14DEPENDS += "python3-setuptools-scm-native"
15 15
16SRC_URI += " \
17 file://run-ptest \
18"
19
20RDEPENDS:${PN} += "\ 16RDEPENDS:${PN} += "\
21 python3-datetime \ 17 python3-datetime \
22 python3-numbers \ 18 python3-numbers \
@@ -24,14 +20,8 @@ RDEPENDS:${PN} += "\
24 20
25RDEPENDS:${PN}-ptest += " \ 21RDEPENDS:${PN}-ptest += " \
26 python3-json \ 22 python3-json \
27 python3-pytest \ 23 python3-misc \
28 python3-pytz \ 24 python3-pytz \
29 python3-unittest-automake-output \
30" 25"
31 26
32do_install_ptest() {
33 install -d ${D}${PTEST_PATH}/tests
34 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
35}
36
37BBCLASSEXTEND = "native nativesdk" 27BBCLASSEXTEND = "native nativesdk"