1SUMMARY = "Utility library to parse, compare, simplify and normalize license expressions" 2HOMEPAGE = "https://github.com/nexB/license-expression" 3 4LICENSE = "Apache-2.0" 5LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=9429839cdc4b292ff46e88b524c6e0c9" 6 7SRC_URI[sha256sum] = "9de87a427c9a449eee7913472fb9ed03b63036295547369fdbf95f76a8b924b2" 8 9inherit pypi ptest python_setuptools_build_meta 10 11DEPENDS += "${PYTHON_PN}-setuptools-scm-native" 12 13RDEPENDS:${PN} += "\ 14 ${PYTHON_PN}-booleanpy \ 15" 16 17BBCLASSEXTEND = "native nativesdk" 18 19SRC_URI += " \ 20 file://run-ptest \ 21" 22 23RDEPENDS:${PN}-ptest += " \ 24 ${PYTHON_PN}-pytest \ 25" 26 27do_install_ptest() { 28 install -d ${D}${PTEST_PATH}/tests 29 install -d ${D}${PTEST_PATH}/src 30 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ 31 cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/ 32} 33