diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cbor2_5.2.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-cbor2_5.2.0.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.2.0.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.2.0.bb new file mode 100644 index 0000000000..cc067c41a9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cbor2_5.2.0.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)." | ||
2 | DEPENDS +="${PYTHON_PN}-setuptools-scm-native" | ||
3 | |||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" | ||
6 | |||
7 | SRC_URI[sha256sum] = "a33aa2e5534fd74401ac95686886e655e3b2ce6383b3f958199b6e70a87c94bf" | ||
8 | SRC_URI[md5sum] = "0940aa8bfd1a07f06a983bb6dc78f1ca" | ||
9 | |||
10 | inherit pypi setuptools3 ptest | ||
11 | |||
12 | SRC_URI += " \ | ||
13 | file://run-ptest \ | ||
14 | " | ||
15 | |||
16 | RDEPENDS_${PN}-ptest += " \ | ||
17 | ${PYTHON_PN}-pytest \ | ||
18 | ${PYTHON_PN}-unixadmin \ | ||
19 | " | ||
20 | |||
21 | do_install_ptest() { | ||
22 | install -d ${D}${PTEST_PATH}/tests | ||
23 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
24 | } | ||
25 | |||
26 | RDEPENDS_${PN} += " \ | ||
27 | ${PYTHON_PN}-datetime \ | ||
28 | " | ||
29 | |||
30 | BBCLASSEXTEND = "native nativesdk" | ||