diff options
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.bb | 18 |
1 files changed, 5 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 c64c800626..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,16 +2,14 @@ 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." | 2 | DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3." |
3 | 3 | ||
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5418f0b03302d0a" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1e3768cfe2662fa77c49c9c2d3804d87" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1" | 7 | SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1" |
8 | 8 | ||
9 | inherit pypi ptest setuptools3 | 9 | inherit pypi ptest-python-pytest python_setuptools_build_meta |
10 | 10 | ||
11 | SRC_URI += " \ | 11 | # let OE do the strip operation |
12 | file://run-ptest \ | 12 | export UJSON_BUILD_NO_STRIP = "1" |
13 | file://0001-setup.py-Do-not-strip-debugging-symbols.patch \ | ||
14 | " | ||
15 | 13 | ||
16 | DEPENDS += "python3-setuptools-scm-native" | 14 | DEPENDS += "python3-setuptools-scm-native" |
17 | 15 | ||
@@ -22,14 +20,8 @@ RDEPENDS:${PN} += "\ | |||
22 | 20 | ||
23 | RDEPENDS:${PN}-ptest += " \ | 21 | RDEPENDS:${PN}-ptest += " \ |
24 | python3-json \ | 22 | python3-json \ |
25 | python3-pytest \ | 23 | python3-misc \ |
26 | python3-pytz \ | 24 | python3-pytz \ |
27 | python3-unittest-automake-output \ | ||
28 | " | 25 | " |
29 | 26 | ||
30 | do_install_ptest() { | ||
31 | install -d ${D}${PTEST_PATH}/tests | ||
32 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
33 | } | ||
34 | |||
35 | BBCLASSEXTEND = "native nativesdk" | 27 | BBCLASSEXTEND = "native nativesdk" |