Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 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] = "b893500db0fe033e570c3adc956af6eefc57e280026bd2d86fd53da9f1e594d7" |
| 8 | |
| 9 | inherit pypi python_setuptools_build_meta ptest |
| 10 | |
| 11 | DEPENDS += "python3-setuptools-scm-native" |
| 12 | |
| 13 | SRC_URI += " \ |
| 14 | file://run-ptest \ |
| 15 | " |
| 16 | |
| 17 | RDEPENDS:${PN}-ptest += " \ |
| 18 | ${PYTHON_PN}-pytest \ |
| 19 | ${PYTHON_PN}-unixadmin \ |
| 20 | " |
| 21 | |
| 22 | do_install_ptest() { |
| 23 | install -d ${D}${PTEST_PATH}/tests |
| 24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 25 | } |
| 26 | |
| 27 | RDEPENDS:${PN} += " \ |
| 28 | ${PYTHON_PN}-datetime \ |
| 29 | " |
| 30 | |
| 31 | BBCLASSEXTEND = "native nativesdk" |