diff options
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb index f0c2964f34..37c3ab6478 100644 --- a/meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb +++ b/meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb | |||
@@ -1,31 +1,26 @@ | |||
1 | DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)." | 1 | DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)." |
2 | DEPENDS +="python3-setuptools-scm-native" | ||
3 | |||
4 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8" | 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8" |
6 | |||
7 | SRC_URI[sha256sum] = "1c533c50dde86bef1c6950602054a0ffa3c376e8b0e20c7b8f5b108793f6983e" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta ptest | ||
10 | |||
11 | DEPENDS += "python3-setuptools-scm-native" | 4 | DEPENDS += "python3-setuptools-scm-native" |
12 | 5 | ||
6 | SRC_URI[sha256sum] = "1c533c50dde86bef1c6950602054a0ffa3c376e8b0e20c7b8f5b108793f6983e" | ||
13 | SRC_URI += " \ | 7 | SRC_URI += " \ |
14 | file://run-ptest \ | 8 | file://run-ptest \ |
15 | " | 9 | " |
16 | 10 | ||
11 | inherit pypi python_setuptools_build_meta ptest | ||
12 | |||
13 | do_install_ptest() { | ||
14 | install -d ${D}${PTEST_PATH}/tests | ||
15 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
16 | } | ||
17 | |||
17 | RDEPENDS:${PN}-ptest += " \ | 18 | RDEPENDS:${PN}-ptest += " \ |
18 | python3-hypothesis \ | 19 | python3-hypothesis \ |
19 | python3-pytest \ | 20 | python3-pytest \ |
20 | python3-unittest-automake-output \ | 21 | python3-unittest-automake-output \ |
21 | python3-unixadmin \ | 22 | python3-unixadmin \ |
22 | " | 23 | " |
23 | |||
24 | do_install_ptest() { | ||
25 | install -d ${D}${PTEST_PATH}/tests | ||
26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
27 | } | ||
28 | |||
29 | RDEPENDS:${PN} += " \ | 24 | RDEPENDS:${PN} += " \ |
30 | python3-datetime \ | 25 | python3-datetime \ |
31 | " | 26 | " |