blob: e2493e4e1fff15a374f4af0f1c553829f63ede3b [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 Williams73bd93f2024-02-20 08:07:48 -06007SRC_URI[sha256sum] = "752130e38644319f3dae7f91fabb08f58bc454ca671b72875e6228d423890efd"
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"