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