blob: eeb91723e3dca4cfe9d30b46d6d6349876e045f3 [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 Geissler87f5cff2022-09-30 13:13:31 -05005LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
Brad Bishope42b3e32020-01-15 22:08:42 -05006
Andrew Geissler87f5cff2022-09-30 13:13:31 -05007SRC_URI[sha256sum] = "ad638292aa8493f84354909b517922cb823582c2ce2c4d880e42544a86bea8dd"
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 Geissler87f5cff2022-09-30 13:13:31 -050015 ${PYTHON_PN}-core \
16 ${PYTHON_PN}-json \
17 ${PYTHON_PN}-stringold \
18 ${PYTHON_PN}-logging \
Andrew Geissler69721092021-07-23 12:57:00 -040019"
Brad Bishope42b3e32020-01-15 22:08:42 -050020
21BBCLASSEXTEND = "native nativesdk"
Andrew Geissler82c905d2020-04-13 13:39:40 -050022
23SRC_URI += " \
24 file://run-ptest \
25"
26
Patrick Williams213cb262021-08-07 19:21:33 -050027RDEPENDS:${PN}-ptest += " \
Andrew Geissler82c905d2020-04-13 13:39:40 -050028 ${PYTHON_PN}-pytest \
29"
30
31do_install_ptest() {
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050032 install -d ${D}${PTEST_PATH}/tests
33 install -d ${D}${PTEST_PATH}/src
34 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
35 cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/
Andrew Geissler82c905d2020-04-13 13:39:40 -050036}