mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
Changelog: ============ - Update licensedb to 3.24 - Update licenses with SPDX license list 3.25 - Update README and setup.cfg (From OE-Core rev: 81575d889cacf94fc1067348595adb76f50d85be) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
40 lines
1002 B
BlitzBasic
40 lines
1002 B
BlitzBasic
SUMMARY = "Utility library to parse, compare, simplify and normalize license expressions"
|
|
HOMEPAGE = "https://github.com/nexB/license-expression"
|
|
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
|
|
|
|
SRC_URI[sha256sum] = "6464397f8ed4353cc778999caec43b099f8d8d5b335f282e26a9eb9435522f05"
|
|
|
|
inherit pypi ptest python_setuptools_build_meta
|
|
PYPI_PACKAGE = "license_expression"
|
|
|
|
DEPENDS += "python3-setuptools-scm-native"
|
|
|
|
RDEPENDS:${PN} += "\
|
|
python3-booleanpy \
|
|
python3-core \
|
|
python3-json \
|
|
python3-stringold \
|
|
python3-logging \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
SRC_URI += " \
|
|
file://run-ptest \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
python3-pytest \
|
|
python3-unittest-automake-output \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
install -d ${D}${PTEST_PATH}/src
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/
|
|
cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
|
|
}
|