blob: c0987a9a1558196d32ccf37d7a48d6fe7dfd586f [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -06001DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)."
Patrick Williams73bd93f2024-02-20 08:07:48 -06002DEPENDS +="python3-setuptools-scm-native"
Patrick Williamsac13d5f2023-11-24 18:59:46 -06003
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
6
Patrick Williams03514f12024-04-05 07:04:11 -05007SRC_URI[sha256sum] = "b7513c2dea8868991fad7ef8899890ebcf8b199b9b4461c3c11d7ad3aef4820d"
Patrick Williamsac13d5f2023-11-24 18:59:46 -06008
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 += " \
Patrick Williams73bd93f2024-02-20 08:07:48 -060018 python3-hypothesis \
19 python3-pytest \
20 python3-unittest-automake-output \
21 python3-unixadmin \
Patrick Williamsac13d5f2023-11-24 18:59:46 -060022"
23
24do_install_ptest() {
Patrick Williams73bd93f2024-02-20 08:07:48 -060025 install -d ${D}${PTEST_PATH}/tests
Patrick Williamsac13d5f2023-11-24 18:59:46 -060026 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
27}
28
29RDEPENDS:${PN} += " \
Patrick Williams73bd93f2024-02-20 08:07:48 -060030 python3-datetime \
Patrick Williamsac13d5f2023-11-24 18:59:46 -060031"
32
33BBCLASSEXTEND = "native nativesdk"