blob: 2ee4909bd7c34dac724257672d9a64d47dde4876 [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001SUMMARY = "Utility library to parse, compare, simplify and normalize license expressions"
2HOMEPAGE = "https://github.com/nexB/license-expression"
3
4LICENSE = "Apache-2.0"
Andrew Geissler69721092021-07-23 12:57:00 -04005LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=9429839cdc4b292ff46e88b524c6e0c9"
Brad Bishope42b3e32020-01-15 22:08:42 -05006
Andrew Geissler69721092021-07-23 12:57:00 -04007SRC_URI[sha256sum] = "9de87a427c9a449eee7913472fb9ed03b63036295547369fdbf95f76a8b924b2"
Brad Bishope42b3e32020-01-15 22:08:42 -05008
Andrew Geissler9aee5002022-03-30 16:27:02 +00009inherit pypi ptest python_setuptools_build_meta
Brad Bishope42b3e32020-01-15 22:08:42 -050010
Andrew Geissler9aee5002022-03-30 16:27:02 +000011DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
Andrew Geissler69721092021-07-23 12:57:00 -040012
Patrick Williams213cb262021-08-07 19:21:33 -050013RDEPENDS:${PN} += "\
Brad Bishope42b3e32020-01-15 22:08:42 -050014 ${PYTHON_PN}-booleanpy \
Andrew Geissler69721092021-07-23 12:57:00 -040015"
Brad Bishope42b3e32020-01-15 22:08:42 -050016
17BBCLASSEXTEND = "native nativesdk"
Andrew Geissler82c905d2020-04-13 13:39:40 -050018
19SRC_URI += " \
20 file://run-ptest \
21"
22
Patrick Williams213cb262021-08-07 19:21:33 -050023RDEPENDS:${PN}-ptest += " \
Andrew Geissler82c905d2020-04-13 13:39:40 -050024 ${PYTHON_PN}-pytest \
25"
26
27do_install_ptest() {
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050028 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/
Andrew Geissler82c905d2020-04-13 13:39:40 -050032}